robintw / PyProSAIL

Python interface to the ProSAIL leaf/canopy reflectance model
GNU Lesser General Public License v3.0
24 stars 25 forks source link

ImportError: No module named _prosail_model #4

Closed SicongGao closed 6 years ago

SicongGao commented 6 years ago

Hi, When I was trying to import pyprosail, I met this problem. Can you fix that?

>>> import pyprosail
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/shared/homes/111/python/lib/python2.7/site-packages/pyprosail/__init__.py", line 8, in <module>
    from PyPROSAIL import *
  File "/shared/homes/111/python/lib/python2.7/site-packages/pyprosail/PyPROSAIL.py", line 1, in <module>
    import _prosail_model
ImportError: No module named _prosail_model
SicongGao commented 6 years ago

I found a solution. Just remove the _pyosail_model.so from PyPROSAIL to pyprosail folder.

SherlockHomles commented 1 year ago

I found no _pyosail_model.so in the package