-
Notifications
You must be signed in to change notification settings - Fork 63
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
python 3.6 librebound.cpython-36m-x86_64-linux-gnu.so import error #26
Comments
Are you using a virtual environment (or conda environment)? If not I definitely recommend doing that. If you are not familiar with it, there are instructions at the top of here: |
I am using conda, but my reboundx is installed via pip because there is no conda package for Linux. I will try virtualenv to see if it helps. Thanks! |
you can pip install into a conda environment (that's what I do). Let me know if it resolves the issue |
Yes, this solved my problem. Thanks! |
In case anyone runs into similar problems like me... upgrade rebound (not reboundx) to 3.5.13 appears to solve the problem. |
Fork sync with upstream Former-commit-id: 56e328c
I had the same error with Python_3.10, Rebound_4.3.2 and Reboundx_4.1.0, but it was solved by putting this line in my |
@pavlikva where do I put this in my .bashrc file in order to resolve this error, I am having the exact same issue as you are right now with Python_3.10, Rebound_4.3.2 and Reboundx_4.1.0. |
Anywhere. I put it at the end. Then reload bash. |
@pavlikva ,it still did not work, I put it at the end of the .bashrc file, and then reload it using the command source ~/.bashrc. Did I do something wrong? |
It works, after adding the PATH variable. Does echo $SHELL gives you /bin/bash? If your shell is different, then the path variable must be consistent with the shell syntax. |
import reboundx
gives meOSError: librebound.cpython-36m-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
unless I do it under the python3.6/site-packages directory. Anyone has this error? I almost suspect I missed something obvious...python 3.6.5
rebound 3.5.12, reboundx 2.18.1 installed via pip
The text was updated successfully, but these errors were encountered: