Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'hyperspy.drawing._markers.point' #78

Open
424yanghw opened this issue Apr 1, 2024 · 15 comments
Open

No module named 'hyperspy.drawing._markers.point' #78

424yanghw opened this issue Apr 1, 2024 · 15 comments

Comments

@424yanghw
Copy link

When running the following code in jupyter notebook 6.5.4:
image
The following error is obtained
image
python version=3.11.7
If a similar situation is resolved, thanks a lot for sharing!

@zhibo-liu
Copy link

Same issue, did you solve it?

@424yanghw
Copy link
Author

Same issue, did you solve it?

Not yet.

@zhibo-liu
Copy link

Solved, the latest version of temul is 0.1.6, downgrade to 0.1.2 solve my problem

pip install temul-toolkit==0.1.2

@ZPWang01
Copy link

downgrade the version of hyperspy

@Reocyf
Copy link

Reocyf commented Oct 8, 2024

downgrade the version of hyperspy

hello, whcih version is suitable?

@ZPWang01
Copy link

ZPWang01 commented Oct 8, 2024 via email

@Reocyf
Copy link

Reocyf commented Oct 8, 2024 via email

@Dowttti321
Copy link

I downgraded the version of hyperspy and temul-toolkit, however I couldn't solve, too.

@Reocyf
Copy link

Reocyf commented Oct 11, 2024

Same issue, and when I downgraded hyperspy, something else showed mismatch...

@Reocyf
Copy link

Reocyf commented Oct 18, 2024

I downgraded the version of hyperspy and temul-toolkit, however I cou

I finally solved this by degrading both hyperspy and temul.api. And I degraded the version of atomap and deleted exspy, then I can use it correctly.

@Flyleaf-yao
Copy link

I downgraded the version of hyperspy and temul-toolkit, however I cou

I finally solved this by degrading both hyperspy and temul.api. And I degraded the version of atomap and deleted exspy, then I can use it correctly.

Hi,could you please show the version of hyperspy, atomap,and temul.api. Thanks a lot.

@JeanLeu
Copy link

JeanLeu commented Jan 6, 2025

I met the same problem and tried different version of Hyperspy and Temul, but it didn't fix the problem. Can anyone share more details about how to fix this issue? many thanks!

@Reocyf
Copy link

Reocyf commented Jan 7, 2025 via email

@JeanLeu
Copy link

JeanLeu commented Jan 7, 2025

hi, I fixed it half years ago. You need to simultaneously reduce the versions of several packages. i don't know what packages wrong in your PC. so here is my version, u can compare it yourself.

________________________________ 发件人: JeanLeu @.> 发送时间: 2025年1月6日 21:20 收件人: PinkShnack/TEMUL @.> 抄送: CHEN, reocyf [ISE] @.>; Comment @.> 主题: Re: [PinkShnack/TEMUL] No module named 'hyperspy.drawing._markers.point' (Issue #78) CAUTION: External email. Do not click links or open attachments unless you recognize the sender and know the content is safe. I met the same problem and tried different version of Hyperspy and Temul, but it didn't fix the problem. Can anyone share more details about how to fix this issue? many thanks! ― Reply to this email directly, view it on GitHub<#78 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BL5RD445NLNHWLUSGYUAV5L2JJ7J3AVCNFSM6AAAAABFRFNHU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZTGA4TQMBUG4. You are receiving this because you commented. [https://www.polyu.edu.hk/emaildisclaimer/PolyU_Email_Signature-v2.jpg]http://www.polyu.edu.hk/ www.polyu.edu.hk<http://www.polyu.edu.hk/> [https://www.polyu.edu.hk/emaildisclaimer/Icons-02.jpg]https://www.polyu.edu.hk/cpa/online-channels/#ipolyuapp [https://www.polyu.edu.hk/emaildisclaimer/Icons-03.jpg] https://www.facebook.com/HongKongPolyU [https://www.polyu.edu.hk/emaildisclaimer/Icons-04.jpg] https://www.youtube.com/user/HongKongPolyU [https://www.polyu.edu.hk/emaildisclaimer/Icons-05.jpg] https://www.instagram.com/hongkongpolyu/ [https://www.polyu.edu.hk/emaildisclaimer/Icons-06.jpg] https://www.linkedin.com/school/hong-kong-polytechnic-university/ [https://www.polyu.edu.hk/emaildisclaimer/Icons-07.jpg] https://twitter.com/HongKongPolyU [https://www.polyu.edu.hk/emaildisclaimer/Icons-08.jpg] https://www.polyu.edu.hk/-/media/department/home/setting/polyu-wechat_qr-code_20190903.jpg?bc=ffffff&h=150&w=150&hash=679EE95BCB1796F71B5A4149647785C9 [https://www.polyu.edu.hk/emaildisclaimer/Icons-09.jpg] https://www.weibo.com/hongkongpolyu Disclaimer: This message (including any attachments) contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and notify the sender and The Hong Kong Polytechnic University (the University) immediately. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful. The University specifically denies any responsibility for the accuracy or quality of information obtained through University E-mail Facilities. Any views and opinions expressed are only those of the author(s) and do not necessarily represent those of the University and the University accepts no liability whatsoever for any losses or damages incurred or caused to any party as a result of the use of such information. cyf's version: widgetsnbextension 4.0.5 win-inet-pton 1.1.0 wrapt 1.14.1 xarray 2023.6.0 xlwings 0.29.1 xxhash 2.0.2 xyzservices 2022.9.0 y-py 0.5.9 yapf 0.31.0 yarl 1.8.1 ypy-websocket 0.8.2 zarr 2.16.1 zict 2.2.0 zipp 3.11.0 zope.interface 5.4.0 zstandard 0.19.0 Ran: aiobotocore 2.5.0 aiofiles 22.1.0 aiohttp 3.8.5 aioitertools 0.7.1 aiosignal 1.2.0 aiosqlite 0.18.0 alabaster 0.7.12 anaconda-anon-usage 0.4.2 anaconda-catalogs 0.2.0 anaconda-client 1.12.1 anaconda-cloud-auth 0.1.3 anaconda-navigator 2.5.0 anaconda-project 0.11.1 anyio 3.5.0 appdirs 1.4.4 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 arrow 1.2.3 asciitree 0.3.3 ase 3.22.1 astroid 2.14.2 astropy 5.1 asttokens 2.0.5 async-timeout 4.0.2 atomap 0.3.3 atomicwrites 1.4.0 attrs 22.1.0 Automat 20.2.0 Ran: autopep8 1.6.0 Babel 2.11.0 backcall 0.2.0 backports.functools-lru-cache 1.6.4 backports.tempfile 1.0 backports.weakref 1.0.post1 bcrypt 3.2.0 beautifulsoup4 4.12.2 binaryornot 0.4.4 black 0.0 bleach 4.1.0 bokeh 3.2.1 boltons 23.0.0 botocore 1.29.76 Bottleneck 1.3.5 brotlipy 0.7.0 certifi 2023.11.17 cffi 1.15.1 chardet 4.0.0 charset-normalizer 2.0.4 click 8.0.4 cloudpickle 2.2.1 clyent 1.2.2 colorama 0.4.6 colorcet 3.0.1 comm 0.1.2 conda 23.9.0 Ran: conda-build 3.26.1 conda-content-trust 0.2.0 conda_index 0.3.0 conda-libmamba-solver 23.7.0 conda-pack 0.6.0 conda-package-handling 2.2.0 conda_package_streaming 0.9.0 conda-repo-cli 1.0.75 conda-token 0.4.0 conda-verify 3.4.2 constantly 15.1.0 contourpy 1.0.5 cookiecutter 1.7.3 cryptography 41.0.3 cssselect 1.1.0 cycler 0.11.0 cytoolz 0.12.0 daal4py 2023.1.1 dask 2023.6.0 datasets 2.12.0 datashader 0.15.2 datashape 0.5.4 debugpy 1.6.7 decorator 5.1.1 defusedxml 0.7.1 diff-match-patch 20200713 dill 0.3.6 Ran: distributed 2023.6.0 docstring-to-markdown 0.11 docutils 0.18.1 entrypoints 0.4 et-xmlfile 1.1.0 executing 0.8.3 fasteners 0.17.3 fastjsonschema 2.16.2 filelock 3.9.0 flake8 6.0.0 Flask 2.2.2 fonttools 4.25.0 frozenlist 1.3.3 fsspec 2023.4.0 future 0.18.3 gensim 4.3.0 glob2 0.7 greenlet 2.0.1 h5py 3.9.0 HeapDict 1.0.1 holoviews 1.17.1 huggingface-hub 0.15.1 hvplot 0.8.4 hyperlink 21.0.0 hyperspy 1.7.5 hyperspy-gui-ipywidgets 1.5.0 hyperspy-gui-traitsui 1.5.3 idna 3.4 imagecodecs 2023.1.23 imageio 2.26.0 Ran: imagesize 1.4.1 imbalanced-learn 0.10.1 importlib-metadata 6.0.0 importlib-resources 6.1.0 incremental 21.3.0 inflection 0.5.1 iniconfig 1.1.1 intake 0.6.8 intervaltree 3.1.0 ipykernel 6.25.0 ipympl 0.9.3 ipyparallel 8.6.1 ipython 8.15.0 ipython-genutils 0.2.0 ipywidgets 8.0.4 isort 5.9.3 itemadapter 0.3.0 itemloaders 1.0.4 itsdangerous 2.0.1 jaraco.classes 3.2.1 jedi 0.18.1 jellyfish 1.0.1 Jinja2 3.1.2 jinja2-time 0.2.0 jmespath 0.10.0 joblib 1.2.0 json5 0.9.6 jsonpatch 1.32 jsonpointer 2.1 jsonschema 4.17.3 Ran: jupyter 1.0.0 jupyter_client 7.4.9 jupyter-console 6.6.3 jupyter_core 5.3.0 jupyter-events 0.6.3 jupyter-server 1.23.4 jupyter_server_fileid 0.9.0 jupyter_server_ydoc 0.8.0 jupyter-ydoc 0.2.4 jupyterlab 3.6.3 jupyterlab-pygments 0.1.2 jupyterlab_server 2.22.0 jupyterlab-widgets 3.0.5 kaleido 0.2.1 keyring 23.13.1 kiwisolver 1.4.4 lazy_loader 0.2 lazy-object-proxy 1.6.0 libarchive-c 2.9 libmambapy 1.5.1 link-traits 1.0.3 linkify-it-py 2.0.0 llvmlite 0.40.0 lmdb 1.4.1 locket 1.0.0 lxml 4.9.3 lz4 4.3.2 Ran: Markdown 3.4.1 markdown-it-py 2.2.0 MarkupSafe 2.1.1 matplotlib 3.7.2 matplotlib-inline 0.1.6 matplotlib-scalebar 0.8.1 mccabe 0.7.0 mdit-py-plugins 0.3.0 mdurl 0.1.0 menuinst 1.4.19 mistune 0.8.4 mkl-fft 1.3.8 mkl-random 1.2.4 mkl-service 2.4.0 more-itertools 8.12.0 mpmath 1.3.0 msgpack 1.0.3 multidict 6.0.2 multipledispatch 0.6.0 multiprocess 0.70.14 munkres 1.1.4 mypy-extensions 1.0.0 natsort 8.4.0 navigator-updater 0.4.0 nbclassic 0.5.5 nbclient 0.5.13 nbconvert 6.5.4 Ran: nbformat 5.9.2 nest-asyncio 1.5.6 networkx 3.1 nltk 3.8.1 notebook 6.5.4 notebook_shim 0.2.2 numba 0.57.1 numcodecs 0.12.0 numexpr 2.8.4 numpy 1.24.3 numpydoc 1.5.0 openpyxl 3.0.10 packaging 23.1 pandas 2.0.3 pandocfilters 1.5.0 panel 1.2.3 param 1.13.0 paramiko 2.8.1 parsel 1.6.0 parso 0.8.3 partd 1.4.0 pathlib 1.0.1 pathspec 0.10.3 patsy 0.5.3 pep8 1.7.1 periodictable 1.6.1 pexpect 4.8.0 Ran: pickleshare 0.7.5 Pillow 9.4.0 Pint 0.22 pip 23.2.1 pkce 1.0.3 pkginfo 1.9.6 platformdirs 3.10.0 plotly 5.9.0 pluggy 1.0.0 ply 3.11 poyo 0.5.0 prettytable 3.9.0 prometheus-client 0.14.1 prompt-toolkit 3.0.36 Protego 0.1.16 psutil 5.9.0 ptyprocess 0.7.0 pure-eval 0.2.2 py-cpuinfo 8.0.0 pyarrow 11.0.0 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycodestyle 2.10.0 pycosat 0.6.4 pycparser 2.21 pyct 0.5.0 pycurl 7.45.2 Ran: pydantic 1.10.8 PyDispatcher 2.0.5 pydocstyle 6.3.0 pyerfa 2.0.0 pyface 8.0.0 pyflakes 3.0.1 Pygments 2.15.1 PyJWT 2.4.0 pylint 2.16.2 pylint-venv 2.3.0 pyls-spyder 0.4.0 PyNaCl 1.5.0 pyodbc 4.0.34 pyOpenSSL 23.2.0 pyparsing 3.0.9 PyQt5 5.15.7 PyQt5-sip 12.11.0 PyQtWebEngine 5.15.4 pyrsistent 0.18.0 PySocks 1.7.1 pytest 7.4.0 python-dateutil 2.8.2 python-dotenv 0.21.0 python-json-logger 2.0.7 python-lsp-black 1.2.1 python-lsp-jsonrpc 1.0.0 python-lsp-server 1.7.2 python-slugify 5.0.2 Ran: python-snappy 0.6.1 pytoolconfig 1.2.5 pytz 2023.3.post1 pyviz-comms 2.3.0 PyWavelets 1.4.1 pywin32 305.1 pywin32-ctypes 0.2.0 pywinpty 2.0.10 PyYAML 6.0 pyzmq 23.2.0 QDarkStyle 3.0.2 qstylizer 0.2.2 QtAwesome 1.2.2 qtconsole 5.4.2 QtPy 2.2.0 queuelib 1.5.0 regex 2022.7.9 requests 2.31.0 requests-file 1.5.1 requests-toolbelt 1.0.0 responses 0.13.3 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 rope 1.7.0 Rtree 1.0.1 ruamel.yaml 0.17.21 ruamel-yaml-conda 0.17.21 Ran: s3fs 2023.4.0 safetensors 0.3.2 scikit-image 0.20.0 scikit-learn 1.3.0 scikit-learn-intelex 20230426.121932 scipy 1.11.1 Scrapy 2.8.0 seaborn 0.12.2 Send2Trash 1.8.0 service-identity 18.1.0 setuptools 68.0.0 sip 6.6.2 six 1.16.0 smart-open 5.2.1 sniffio 1.2.0 snowballstemmer 2.2.0 sortedcontainers 2.4.0 soupsieve 2.4 sparse 0.14.0 Sphinx 5.0.2 sphinxcontrib-applehelp 1.0.2 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 2.0.0 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.5 spyder 5.4.3 Ran: spyder-kernels 2.4.4 SQLAlchemy 1.4.39 stack-data 0.2.0 statsmodels 0.14.0 sympy 1.11.1 tables 3.8.0 tabulate 0.8.10 TBB 0.2 tblib 1.7.0 temul-toolkit 0.1.7 tenacity 8.2.2 terminado 0.17.1 text-unidecode 1.3 textdistance 4.2.1 threadpoolctl 2.2.0 three-merge 0.1.1 tifffile 2023.4.12 tinycss2 1.2.1 tldextract 3.2.0 tokenizers 0.13.2 toml 0.10.2 tomlkit 0.11.1 toolz 0.12.0 tornado 6.3.2 tqdm 4.65.0 traitlets 5.7.1 traits 6.4.3 Ran: traitsui 7.4.3 transformers 4.32.1 truststore 0.8.0 Twisted 22.10.0 twisted-iocpsupport 1.0.2 typing_extensions 4.7.1 tzdata 2023.3 uc-micro-py 1.0.1 ujson 5.4.0 Unidecode 1.2.0 urllib3 1.26.16 w3lib 1.21.0 watchdog 2.1.6 wcwidth 0.2.5 webencodings 0.5.1 websocket-client 0.58.0 Werkzeug 2.2.3 whatthepatch 1.0.2 wheel 0.38.4 widgetsnbextension 4.0.5 win-inet-pton 1.1.0 wrapt 1.14.1 xarray 2023.6.0 xlwings 0.29.1 xxhash 2.0.2 xyzservices 2022.9.0 y-py 0.5.9 Ran: yapf 0.31.0 yarl 1.8.1 ypy-websocket 0.8.2 zarr 2.16.1 zict 2.2.0 zipp 3.11.0 zope.interface 5.4.0 zstandard 0.19.0 Ran: 一凡,你过来开会吗

Thanks a lot for sharing the details. I downgraded atomap to 0.3.4 and hyperspy to 1.7.5 and then install temul-toolkit. That fixed my problem.

@Flyleaf-yao
Copy link

Anaconda 2023.09-0 (Sep 29, 2023)+ atomap==0.3.4 +hyperspy==1.7.5 + temul-toolkit==0.1.7 solved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants