Select to view content in your preferred language

ModuleNotFoundError 'owslib', though installed on the active clone python environment

442
0
10-09-2024 02:04 AM
Labels (1)
SMARTCITIESSMARTCITIES
New Contributor

I have been trying to use WebFeatureService imported from owslib.wfs after having installed the library owslib in the active cloned python environment, yet ModuleNotFoundError is constantly an issue with the module 'owslib'. 

I have noticed this is a recurrent problem with the python environment switching back to the default, where the module is not installed. I checked by importing sys and using sys.executable which has referred to the original file location. As I also use an Onedrive user entry, is it possible that the access is getting denied because of sign in and administrator issues. After doing my research, trying to update also a few libraries, it fails and is probably related onedrive issue. so the path is probably resorting to default. I am trying to create new clones which fail also. The path to many packages (if not all) is corrupt also, ClobberError!

SMARTCITIESSMARTCITIES_0-1728465609989.png

 

I have tried the fixes available online with no luck (for ex https://community.esri.com/t5/water-resources-questions/archydro-wetland-identification-model-scikit...). As I am no expert on python in general it is a much more tedious task to continue!

Please if anyone can help!

0 Kudos
0 Replies