You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, it seems like this issue comes up every few years or so (#26, #39) , so I guess it's my turn. I have a custom version of rebound and a custom version of reboundx.
After modifying the source code, I reinstalled rebound and then reboundx (using pip install -e . in their respective directories). This occured without any error. Importing rebound separately worked without any issues too. However, when I tried to import reboundx, I encountered the following error:
>>> import reboundx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/mnt/g/Documents/pwds/reboundx/reboundx/__init__.py", line 13, in <module>
clibreboundx = cdll.LoadLibrary(pymodulespath + '/../libreboundx' + suffix)
File "/home/dang/anaconda3/envs/planets/lib/python3.9/ctypes/__init__.py", line 460, in LoadLibrary
return self._dlltype(name)
File "/home/dang/anaconda3/envs/planets/lib/python3.9/ctypes/__init__.py", line 382, in __init__
self._handle = _dlopen(self._name, mode)
OSError: librebound.cpython-39-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
I also tried to use python setup.py install in both directories to install, but the same issue occurred. I'm not quite sure what could have went wrong and it seems like the previous issues' solutions don't apply here. Thanks for your help!
Dang
The text was updated successfully, but these errors were encountered:
Hi, it seems like this issue comes up every few years or so (#26, #39) , so I guess it's my turn. I have a custom version of rebound and a custom version of reboundx.
After modifying the source code, I reinstalled rebound and then reboundx (using
pip install -e .
in their respective directories). This occured without any error. Importing rebound separately worked without any issues too. However, when I tried toimport reboundx
, I encountered the following error:I also tried to use
python setup.py install
in both directories to install, but the same issue occurred. I'm not quite sure what could have went wrong and it seems like the previous issues' solutions don't apply here. Thanks for your help!Dang
The text was updated successfully, but these errors were encountered: