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
🐞 I am going through the tutorial and I get an error when trying to import Timelike from einsteinpy.geodesic. I read this issue and tried installing the stable version einsteinpy-0.3.1, but the issue persists. Prior to this issue I also got a message:
ImportError: cannot import name 'GeodesicIntegrator' from 'einsteinpy.integrators'
related to the Timelike class.
I have built a clean conda environment with compatible versions of Python (>3.7<3.9) and I have also checked the source code to ensure Timelike and GeodesicIntegrator are in the scripts I'm importing from.
Current Traceback:
ImportError Traceback (most recent call last)
Cell In[54], [line 1](vscode-notebook-cell:?execution_count=54&line=1)
----> [1](vscode-notebook-cell:?execution_count=54&line=1) from einsteinpy.geodesic import Timelike
ImportError: cannot import name 'Timelike' from 'einsteinpy.geodesic' (/Users/adamsmith/opt/anaconda3/envs/gr-env/lib/python3.8/site-packages/einsteinpy/geodesic.py)
Summary
🐞 I am going through the tutorial and I get an error when trying to import Timelike from einsteinpy.geodesic. I read this issue and tried installing the stable version einsteinpy-0.3.1, but the issue persists. Prior to this issue I also got a message:
ImportError: cannot import name 'GeodesicIntegrator' from 'einsteinpy.integrators'
related to the Timelike class.
I have built a clean conda environment with compatible versions of Python (>3.7<3.9) and I have also checked the source code to ensure Timelike and GeodesicIntegrator are in the scripts I'm importing from.
Current Traceback:
🖥 Conda info
Details
pytest result
The text was updated successfully, but these errors were encountered: