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

No module named 'numpy.core._multiarray_umath' #80

Open
chrarnold opened this issue Sep 14, 2023 · 0 comments
Open

No module named 'numpy.core._multiarray_umath' #80

chrarnold opened this issue Sep 14, 2023 · 0 comments

Comments

@chrarnold
Copy link

chrarnold commented Sep 14, 2023

I followed the install instructions today, created a new sceasy conda env with anndata etc. When I check my conda env, all looks good:

$ which python
~/miniconda3/envs/sceasy/bin/python

$ python
Python 3.11.5 | packaged by conda-forge | (main, Aug 27 2023, 03:34:09) [GCC 12.3.0] on linux
import numpy
numpy.core._multiarray_umath
<module 'numpy.core._multiarray_umath' from '~/miniconda3/envs/sceasy/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so'>
(sceasy)

So far, so good. In R:

library(sceasy)
library(reticulate)
use_python('~/miniconda3/envs/sceasy/bin/python')
use_condaenv('sceasy')

sceasy::convertFormat("Global_raw-counts.h5ad", from="anndata", to="seurat", outFile='Global_raw-counts.rds')

However, in R, I receive this error:

Error: ImportError:

...

Please note and check the following:

  • The Python version is: Python3.11 from "~/miniconda3/envs/sceasy/bin/python"
  • The NumPy version is: "1.24.2"

...

Original error was: No module named 'numpy.core._multiarray_umath'

@chrarnold chrarnold changed the title Original error was: No module named 'numpy.core._multiarray_umath' No module named 'numpy.core._multiarray_umath' Sep 14, 2023
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

1 participant