Closed asmasca closed 3 years ago
It runs if I execute it in the same folder I cloned it. Is it meant to be run this way?
Thanks for reporting this! There was an issue with the installation that is (hopefully) fixed in the latest version. You should now be able to run planetsynth from anywhere.
Hi. I was trying today to test planetsynth today and couldn't manage to make it work. It won't import as appartenly it can't find the support module. I pasted the error below.
I've been digging around and I've found that the installation directory (python3.8/dist-packages...) only has the main.py file, and not any of the folders.
python3 plansyn.py Traceback (most recent call last): File "plansyn.py", line 4, in
from planetsynth import PlanetSynth
File "/usr/local/lib/python3.8/dist-packages/planetsynth/init.py", line 1, in
from planetsynth.main import PlanetSynth
File "/usr/local/lib/python3.8/dist-packages/planetsynth/main.py", line 7, in
from .support.constants import M_jup, R_jup, L_sun, sigma_b, G
ModuleNotFoundError: No module named 'planetsynth.support'