SebBuchelt / georef_webcam

Python tool to georeference camera images & project them into map coordinates
Other
16 stars 5 forks source link

ModuleNotFoundError: No module named 'gdal' #2

Open liza-ve-ta opened 7 months ago

liza-ve-ta commented 7 months ago

Hello! After installing all the required modules, I ran the process in Anaconda Prompt/ After entering camera coordinates in cartesian format; I received an error "ModuleNotFoundError: No module named 'gdal'" indicating that the Python script is attempting to import the "goal" module, but couldn't find it in the environment. I tried to change the Python script in the document "in_dir\georef_webcam-master\georef_webcam-master\georef_webcam_v1_0\python_scripts\modules\aux_collect_params.py", line 210, from "import gdal" to "from osgeo import gdal", but it doesn't help. What else could I try to use the tool? Thanks for your help!

liza-ve-ta commented 7 months ago

Update: It worked untill another mistake after I installed an earlier version of gdal (conda install gdal=3.0.2). Also, another python version might help (conda create --name name python=3.6)