+ 1

Pls how do i fix this error on django

cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-ymquqj0a\opencv\modules\dnn\src\caffe\caffe_io.cpp:1121: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "C:\Users\user\Desktop\EHR\static\.../deploy.prototxt.txt" in function 'cv::dnn::ReadProtoFromTextFile'

16th Sep 2021, 4:32 PM
Benjamin
Benjamin - avatar
4 Réponses
+ 1
You can try to check your firewall and so on.
16th Sep 2021, 5:15 PM
JaScript
JaScript - avatar
+ 1
JaScript how do you mean pls
16th Sep 2021, 5:52 PM
Benjamin
Benjamin - avatar
+ 1
It looks like the path given in your code to the txt file you're attempting to open is incorrect or if on another machine it can't connect and find it at that path in order to open it. Correct the path or move the file to the correct path etc.
16th Sep 2021, 6:31 PM
ChaoticDawg
ChaoticDawg - avatar
0
Benjamin I assume that your pc has a protection against web tampering. If yes, you could check it if than not blocks your compiler.
17th Sep 2021, 7:12 AM
JaScript
JaScript - avatar