ExoWorldsSpies / hops

HOPS - A user-friendly software for single-object photometry and exoplanet light-curve modelling
MIT License
19 stars 5 forks source link

Unable to install HOPS v3.0.5 under python3.8 on Ubuntu 20.04.3 LTS #7

Open urtzai opened 2 years ago

urtzai commented 2 years ago

The following error traced:

Finished processing dependencies for hops==3.0.5
Traceback (most recent call last):
  File "/home/urtzai/hops-master/post_setup.py", line 8, in <module>
    from hops import __get_abspath__ as hops__get_abspath__
  File "/usr/local/lib/python3.8/dist-packages/hops-3.0.5-py3.8.egg/hops/__init__.py", line 5, in <module>
    from .__run__ import run_app
  File "/usr/local/lib/python3.8/dist-packages/hops-3.0.5-py3.8.egg/hops/__run__.py", line 6, in <module>
    import tkinter
ModuleNotFoundError: No module named 'tkinter'
urtzai commented 2 years ago

Using python3.7 requires to fix some dependencies:

matplotlib==3.3.4 numpy==1.21.4

But also throws the same error at the end:

Finished processing dependencies for hops==3.0.5
Traceback (most recent call last):
  File "/home/urtzai/hops-master/post_setup.py", line 8, in <module>
    from hops import __get_abspath__ as hops__get_abspath__
  File "/usr/local/lib/python3.7/dist-packages/hops-3.0.5-py3.7.egg/hops/__init__.py", line 5, in <module>
    from .__run__ import run_app
  File "/usr/local/lib/python3.7/dist-packages/hops-3.0.5-py3.7.egg/hops/__run__.py", line 6, in <module>
    import tkinter
ModuleNotFoundError: No module named 'tkinter'