Closed ShaowenJ closed 4 years ago
Hi @Lesdormis , what happens when you run the following?
which python
/usr/bin/python3 -c 'import magic; print(magic.__version__)'
and in R:
reticulate::py_config()
Hi @scottgigante I fixed it by changing the default python version in R to python3
Thanks for the reply
Great, glad it's solved!
Describe the bug I cannot load the R package phateR
To Reproduce install.packages("phateR") trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/phateR_1.0.0.tgz' Content type 'application/x-gzip' length 3992559 bytes (3.8 MB)
downloaded 3.8 MB The downloaded binary packages are in /var/folders/1s/lgcw61bd1558shr98jgdr4w40000gn/T//RtmpDwIcw6/downloaded_packages
library(phateR) Error: package or namespace load failed for ‘phateR’: .onLoad failed in loadNamespace() for 'phateR', details: call: python_config(python_version, required_module, python_versions) error: Error 1 occurred running /usr/bin/python3
Expected behavior
Actual behavior
System information:
Output of
magic.__version__
:Output of
pd.show_versions()
:Output of
sessionInfo()
:Output of
reticulate::py_discover_config(required_module = "magic")
:Additional context Add any other context about the problem here.