We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I installed python and classo but it seems not working when I run the example in mac??
fit <- trac(ztr, ytr, A = sCD14$A, min_frac = 1e-2, nlam = 30) Error: Python module classo was not found.
Detected Python configuration:
python: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 libpython: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config-3.9-darwin/libpython3.9.dylib pythonhome: /Library/Frameworks/Python.framework/Versions/3.9:/Library/Frameworks/Python.framework/Versions/3.9 version: 3.9.6 (v3.9.6:db3ff76da1, Jun 28 2021, 11:49:53) [Clang 6.0 (clang-600.0.57)] numpy: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/numpy numpy_version: 1.21.1 classo: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/classo
NOTE: Python version was forced by RETICULATE_PYTHON
The text was updated successfully, but these errors were encountered:
Thanks for the update; can you try to load reticulate first, then force the Python environment where you installed c-lasso, and then run the vignette?
library(reticulate)
use_python("YOUR PYTHON PATH WITH CLASSO",required = TRUE)
library(trac) ...
Sorry, something went wrong.
c-lasso depends on the python package: numpy, scipy, matplotlib and pandas. Installing these packages helped in my case.
No branches or pull requests
I installed python and classo but it seems not working when I run the example in mac??
fit <- trac(ztr, ytr, A = sCD14$A, min_frac = 1e-2, nlam = 30)
Error: Python module classo was not found.
Detected Python configuration:
python: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3
libpython: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config-3.9-darwin/libpython3.9.dylib
pythonhome: /Library/Frameworks/Python.framework/Versions/3.9:/Library/Frameworks/Python.framework/Versions/3.9
version: 3.9.6 (v3.9.6:db3ff76da1, Jun 28 2021, 11:49:53) [Clang 6.0 (clang-600.0.57)]
numpy: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/numpy
numpy_version: 1.21.1
classo: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/classo
NOTE: Python version was forced by RETICULATE_PYTHON
The text was updated successfully, but these errors were encountered: