bartromgens / geojsoncontour

Convert matplotlib contour plots to geojson
MIT License
90 stars 31 forks source link

Geojsoncontour issue in shell script #23

Closed iwuzhu closed 1 year ago

iwuzhu commented 1 year ago

I can ran my Python script correctly with python command such as $python rainfall_contour.py

Unfortunately, the same command in a shell script caused error "ModuleNotFoundError: No module named 'geojsoncontour'". geojsoncontour has been correctly installed. How to eliminate this error?

bartromgens commented 1 year ago

This sounds like a general Python question. You need to install geojsoncontour in the (virtual)environment that you use when running a script. It is likely not installed in the environment, and for the Python version, when you run the shell script.