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

python==3.6 leads to issues #85

Open
longkunxuluke opened this issue Jul 31, 2024 · 2 comments
Open

python==3.6 leads to issues #85

longkunxuluke opened this issue Jul 31, 2024 · 2 comments

Comments

@longkunxuluke
Copy link

Hi, I am trying to use the code following the doc and the notebook. I install the code with mamba install particlespy. However I keep meeting errors in running import hyperspy.api as hs and the errors (e.g., from __future__ import annotations -> SyntaxError: future feature annotations is not defined) come from the fact that python==3.6 is used in the code. I tried to use a more recent version of python but it seems there is a conflict as contextvars is installable and it requires python >=3,<3.7. I feel strange that it seems only me meeting the problem and I did not find relevant discussions in past issues. Do you have any suggestions? Many thanks!

@TomSlater
Copy link
Contributor

Hi! I haven't seen this issue before.

Do you know which package depends on contextvars?

@TomSlater
Copy link
Contributor

This might be more appropriate to put in the HyperSpy issues, depending on where the dependency issues arise.

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

2 participants