-
Notifications
You must be signed in to change notification settings - Fork 328
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
Error: ModuleNotFoundError: No module named 'rpytools' #1570
Comments
Hi, thanks for reporting. My guess is that, most likely, this is something specific to your setup. Many people have been using reticulate successfully on Windows with pyenv. Note that rpytools is not installed in the Python library, it is included in the installed R package, and that location is dynamically placed on the Python path Do you perhaps have |
I do not have PYTHONPATH set. Here's the output of
How exactly is reticulate initializing Python? That may give me some clues to potential conflicts with pyenv against local python installations. |
Reticulate inserts rpytools on the Python path here: Line 201 in 9994d8f
Stepping through debugonce(reticulate:::initialize_python)
py_eval("1") |
Issue: Error: ModuleNotFoundError: No module named 'rpytools'
Summary: It seems that when using pyenv to manage python versions and having
RETICULATE_PYTHON
set to the proper pyenv python install location, it prevents reticulate from installing the accompanyingrpytools
.Steps to reproduce:
reticulate::repl_python()
The text was updated successfully, but these errors were encountered: