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

Can not import Squidpy into Jupiter notebook. Help needed #661

Closed
yingsun-ucsd opened this issue Mar 10, 2023 · 4 comments
Closed

Can not import Squidpy into Jupiter notebook. Help needed #661

yingsun-ucsd opened this issue Mar 10, 2023 · 4 comments
Assignees
Labels
question ❓ Further information is requested

Comments

@yingsun-ucsd
Copy link

I am not sure if it’s a good place to ask such a basic question about Squidpy, but I got stuck for quite a while. I can use Squidpy in Python without any problems, but had trouble importing it into jupyter notebook. I attached the error message I got. Any suggestions will be appreciated. Thanks a lot!
...
spatialPancreas_Squidpy - Jupyter Notebook.pdf

@michalk8
Copy link
Collaborator

Hi @yingsun-ucsd , based on this, you need to upgrade to numpy>=1.20.0.

@michalk8 michalk8 added the question ❓ Further information is requested label Mar 10, 2023
@yingsun-ucsd
Copy link
Author

Thanks @michalk8. But I think I have that already:
scanpy==1.8.1 anndata==0.7.6 umap==0.5.1 numpy==1.22.4 scipy==1.9.1 pandas==1.5.3 scikit-learn==1.0 statsmodels==0.13.0rc0 python-igraph==0.9.6 pynndescent==0.5.4

@aandytu
Copy link

aandytu commented Mar 15, 2023

if you're mixing conda and pip installed packages, it might help to re-install numpy with

pip install --upgrade --force-reinstall numpy==1.22.4

@yingsun-ucsd
Copy link
Author

Thank you @aandytu

I don't know how this happed but it seems that I can import squidpy now but got some other error message. I will open another issues topic. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants