Closed dangcpham closed 2 years ago
Hi Dang, these are always a bit tricky to diagnose on someone else's computer. Could you give us a bit more detail, as done in https://github.com/dtamayo/reboundx/issues/39 ?
It seems that after I cleaned up my reboundx directory, reinstalled everything in a new virtual environment, the import issue is no longer a problem.
Here is what I did:
virtualenv -p python3 venv
source venv/bin/activate
In rebound directory: pip install -e .
In reboundx directory: pip install -e .
Thanks for your help!
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