DLL load failed while importing cv2

306
3
02-16-2024 03:09 PM
taoliu_mtu
New Contributor

After I updated ArcGIS Pro to 3.2, I got the error DLL load failed while importing cv2 when I tried to import cv2.

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

the error?

where are you importing it from? (python window, notebook separate ide)

what environment is active?


... sort of retired...
0 Kudos
taoliu_mtu
New Contributor

Dan, I used the default python environment in the notebook.

0 Kudos
DanPatterson
MVP Esteemed Contributor

cv2 isn't installed by default

you would have to have created a clone

Clone an environment—ArcGIS Pro | Documentation

and activated it

Activate an environment—ArcGIS Pro | Documentation

if you haven't installed it in a clone supported by arcgis pro, then...

Add or remove a package—ArcGIS Pro | Documentation


... sort of retired...
0 Kudos