8000 Reticulate fails to find correct python environment · Issue #26 · kalekundert/wellmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Reticulate fails to find correct python environment #26
Open
@FitzsimmonsCM

Description

@FitzsimmonsCM

I'm getting stuck on importing wellmapr into R. R is able to load the library without issue, however, when I ask for wellmapr::load or wellmapr::show it give the following error:

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

Detailed traceback:
  File "/Library/Frameworks/R.framework/Versions/3.6/Resources/library/reticulate/python/rpytools/loader.py", line 39, in _import_hook
    module = _import(

I think library(reticulate) is having an issue finding the correct conda environment. When I run py_config() I get the following information:

py_config()
python:         /usr/local/bin/python3.8
libpython:      /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/config-3.8-darwin/libpython3.8.dylib
pythonhome:     /Library/Frameworks/Python.framework/Versions/3.8:/Library/Frameworks/Python.framework/Versions/3.8
version:        3.8.1 (v3.8.1:1b293b6006, Dec 18 2019, 14:08:53)  [Clang 6.0 (clang-600.0.57)]
numpy:           [NOT FOUND]
builtins:       [builtin module]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0