-
Notifications
You must be signed in to change notification settings - Fork 331
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
reticulate doesn't find python (using steps in the documentation) #637
Comments
Hi, no, there is absolutely no need to compile Python from source. Can you try - in a fresh R session - what is returned by
|
This seems to imply that you have a version of Python installed that was not compiled with a shared library. It seems reticulate is discovering and preferring that Python installation, but is unable to load it. |
When I run the following order of commands inside a docker container, I get the same error message: docker run -it ubuntu
|
I figured out the problem after finding this issue. docker run -it ubuntu
|
I found I needed pip3 install numpy in stack |
I have tried multiple ways to install and use reticulate. I believe the README instructions are wrong. I'm using the latest version of reticulate on CRAN. To keep a clean environment, I've been trying to install and use it inside a docker container first.
docker run -it ubuntu
Is there something I'm missing? I've seen references to building python from source and passing a shared flag. Does this mean people must build python from source to use reticulate or will reticulate work with standard python binaries installed by linux package managers?
The text was updated successfully, but these errors were encountered: