Skip to content

python==3.6 leads to issues #85

@longkunxuluke

Description

@longkunxuluke

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions