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

When encountering a NumPy-related error while using a conversion function on an Seurat object #91

Open
liuzhuoliang123 opened this issue Jun 24, 2024 · 3 comments

Comments

@liuzhuoliang123
Copy link

When I use the convertFormat function to convert a Seurat object, I encountered the following error. How can I resolve it?
The version of Seurat is 5.0, and the current conda environment has a numpy version of 2.0.0.

adata <- convertFormat(sc.sub,

  •                    from="seurat", 
    
  •                    to="anndata", 
    
  •                    main_layer="counts", 
    
  •                    drop_single_values=FALSE)
    

Error: Required version of NumPy not available: incompatible NumPy binary version 33554432 (expecting version 16777225)

@RunzheWang
Copy link

I encounter the same issue, do you find the solution?

@el-hodiri
Copy link

Same issue, same error. Please advise.

@momoi-tky
Copy link

Downgrading Python to 3.8.20 worked for me.

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

No branches or pull requests

4 participants