Select to view content in your preferred language

arcpy with Flask showing RuntimeError: cannot open workspace

517
0
10-14-2022 08:06 AM
MarcoAntonioCosta
Emerging Contributor

I'm trying to create a rest flask api to use instead of geoprocessing with the toolbox. Using the arcgis python environment, I was able to make use of the libraries in flask, but I'm facing a problem related to the files.

When trying to open a workspace with arcpy, I get the error saying the workspace could not be opened. Anyone have an idea what it could be?

 

MarcoAntonioCosta_0-1665759807567.png

MarcoAntonioCosta_1-1665759838969.png

 

0 Kudos
0 Replies