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

ModuleNotFoundError: No module named 'numpy._typing' #13

Open
ZhengJIN94 opened this issue Aug 3, 2024 · 1 comment · Fixed by #14
Open

ModuleNotFoundError: No module named 'numpy._typing' #13

ZhengJIN94 opened this issue Aug 3, 2024 · 1 comment · Fixed by #14

Comments

@ZhengJIN94
Copy link

"ModuleNotFoundError: No module named 'numpy._typing'"

This error was occurred when I tried to import gene_trajectory.compute_gene_distance_cmd.

Which numpy version should I use?

Now, I am using 1.23.1

Thanks a lot!

@fra-pcmgf
Copy link
Collaborator

Hi @ZhengJIN94,
At the moment, the best version is 1.26.4.
I updated the requirements to numpy > 1.25 since we use some feature more advanced 1.23, so if you try to upgrade gene-trajectory it should also upgrade numpy.
Note that the current version of scanpy (1.10.2) requires numpy <2, so be careful not to update to 2.0 (you should see an warning in pip if you do).

@fra-pcmgf fra-pcmgf linked a pull request Aug 4, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants