Hi,
I have downloaded and installed SUAVE 2.4.0 using the setup tool as per the instructions AFAIK. The recommended check
>python
Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import SUAVE
>>>
seems to work fine when I run it from SUAVE\trunk. If I run it from elsewhere I get the following:
>python
Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import SUAVE
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\ProgramData\Anaconda3\lib\site-packages\suave-2.4.0-py3.8.egg\SUAVE\__init__.py", line 20, in <module>
from . import Plots
File "C:\ProgramData\Anaconda3\lib\site-packages\suave-2.4.0-py3.8.egg\SUAVE\Plots\__init__.py", line 4, in <module>
from . import Performance
ImportError: cannot import name 'Performance' from partially initialized module 'SUAVE.Plots' (most likely due to a circular import) (C:\ProgramData\Anaconda3\lib\site-packages\suave-2.4.0-py3.8.egg\SUAVE\Plots\__init__.py)
I get the same error when trying to run
tut_mission_B737.py from SUAVE\tutorials.
If I put a copy of the tutorial file in SUAVE\trunk I get past that particular error, instead getting
>python tut_mission_B737.py
Traceback (most recent call last):
File "tut_mission_B737.py", line 31, in <module>
from SUAVE.Plots.Mission_Plots import *
ModuleNotFoundError: No module named 'SUAVE.Plots.Mission_Plots'
Commenting out
from . import Performance
in the __init__.py of Plots produced the same result.
I have installed and uninstalled SUAVE a couple of times to no avail and I haven´t found any forum post that seems to have the same issue.
Any help would be much appreciated!