I have made a docker file that to run in Kubuntu 20.04.1 LTS. The problem is that I get this error:
ModuleNotFoundError: No module named 'osgeo'
I followed many tutorials such as this one: Installing libgdal-dev on Ubuntu 20.04 and more specific these commands:
sudo apt update
sudo apt install libpq-dev
sudo apt install gdal-bin
sudo apt install libgdal-dev
and many others, such as this one: https://stackoverflow.com/questions/29852857/no-module-named-osgeo-ogr
but nothing changed and I still face the same error. Any ideas on how to fix this?
pip install
orpip3 install
you have to be in the same folder as your Docker when you install the module, or it will not find it. – Terrance Mar 23 '21 at 14:13