MSI Inland waters
Posted: Fri Aug 27, 2021 7:51 am
Hi:
When I input "make" on the terminal to compile, it says "python setup.py build_ext --inplace ; Running build_ext ".Then, when I use it in Python to process MSI data, Python pops up an error, as follows:
Traceback (most recent call last):
File "/home/liyong/PycharmProjects/ly/polymer.py", line 1, in <module>
from polymer.main import run_atm_corr, Level1, Level2
File "/home/liyong/PycharmProjects/ly/polymer.py", line 1, in <module>
from polymer.main import run_atm_corr, Level1, Level2
ModuleNotFoundError: No module named 'polymer.main'; 'polymer' is not a package
Can you guide me how to solve this problem? Thanks.
Jared
When I input "make" on the terminal to compile, it says "python setup.py build_ext --inplace ; Running build_ext ".Then, when I use it in Python to process MSI data, Python pops up an error, as follows:
Traceback (most recent call last):
File "/home/liyong/PycharmProjects/ly/polymer.py", line 1, in <module>
from polymer.main import run_atm_corr, Level1, Level2
File "/home/liyong/PycharmProjects/ly/polymer.py", line 1, in <module>
from polymer.main import run_atm_corr, Level1, Level2
ModuleNotFoundError: No module named 'polymer.main'; 'polymer' is not a package
Can you guide me how to solve this problem? Thanks.
Jared