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

Issue for phate() ? #59

Open
KunLinLeeTW opened this issue Aug 3, 2021 · 0 comments
Open

Issue for phate() ? #59

KunLinLeeTW opened this issue Aug 3, 2021 · 0 comments
Labels

Comments

@KunLinLeeTW
Copy link

$which python

/usr/bin/python

$which pip

/opt/homebrew/bin/pip

reticulate::py_discover_config(required_module = "phate")

python: /Users/kunlinlee/Library/r-miniconda/envs/r-reticulate/bin/python
libpython: /Users/kunlinlee/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib
pythonhome: /Users/kunlinlee/Library/r-miniconda/envs/r-reticulate:/Users/kunlinlee/Library/r-miniconda/envs/r-reticulate
version: 3.6.13 | packaged by conda-forge | (default, Feb 19 2021, 05:36:16) [GCC Clang 11.0.1]
numpy: /Users/kunlinlee/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/numpy
numpy_version: 1.19.5

I'm tried to run with demo , but get the error.

library(phateR)
library(Matrix)
tree.phate <- phate(tree.data$data)

Error in py_initialize(config$python, config$libpython, config$pythonhome, :
/Users/kunlinlee/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib - dlopen(/Users/kunlinlee/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib, 10): no suitable image found. Did find:
/Users/kunlinlee/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib: mach-o, but wrong architecture
/Users/kunlinlee/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib: mach-o, but wrong architecture

the laptop is MacBookAir M1 16 GB

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

No branches or pull requests

1 participant