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

Potential installation issue with phate in an renv environment #57

Open
latlio opened this issue Apr 16, 2021 · 0 comments
Open

Potential installation issue with phate in an renv environment #57

latlio opened this issue Apr 16, 2021 · 0 comments
Labels

Comments

@latlio
Copy link

latlio commented Apr 16, 2021

Issue

which python
/Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate/bin/python
(/Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate

which pip
/Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate/bin/pip
(/Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate)

reticulate::py_discover_config(required_module = "phate")
python: /Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate/bin/python
libpython: /Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate/lib/libpython3.6m.dylib
pythonhome: /Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate:/Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate
version: 3.6.13 | packaged by conda-forge | (default, Feb 19 2021, 05:36:16) [GCC Clang 11.0.1]
numpy: /Users/lioul/Desktop/Merck/Projects/drug_seq/drug_seq_analysis/renv/python/r-reticulate/lib/python3.6/site-packages/numpy
numpy_version: 1.19.5

The issue comes about when I try reticulate::import("phate")

Error in py_module_import(module, convert = convert) :
ModuleNotFoundError: No module named 'phate'

I've also tried import phate in python

Version Info

platform x86_64-apple-darwin17.0
arch x86_64
os darwin17.0
system x86_64, darwin17.0
status
major 4
minor 0.4
year 2021
month 02
day 15
svn rev 80002
language R
version.string R version 4.0.4 (2021-02-15)
nickname Lost Library Book

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