microelly2 / geodata

geodata support for freecad
GNU Lesser General Public License v3.0
22 stars 16 forks source link

Import error #20

Open brianng0305 opened 4 years ago

brianng0305 commented 4 years ago

Started Workbench teminal shows warning below, I cannot use the workbench.

Geodat WB: Cannot import module named cv2 Geodat WB: Cannot import module named gdal gdalconst Running the Python command 'Geodat_importOSM' failed: Traceback (most recent call last): File "", line 466, in Activated

'NoneType' object has no attribute 'openTransaction'

What can I do to run the workbench?

allanlaal commented 3 years ago

make sure you have these installed on your system:

cv2 might be: python3-cvxopt - Python3 package for convex optimization

gdal is:
python3-gdal - Python 3 bindings to the Geospatial Data Abstraction Library gdal-data - Geospatial Data Abstraction Library - Data files

the package names might differ for your distro