Skip to content

Commit 424ec6a

Browse files
native-apiskvark
authored andcommitted
PATH editing only needed in Windows (opencv#55)
* PATH editing only needed in Windows * DLL load works without in Windows, too
1 parent 83b0ac8 commit 424ec6a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cv2/__init__.py

-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
import sys
2-
import os
31
import importlib
42

5-
# FFmpeg dll is not found on Windows without this
6-
os.environ["PATH"] += os.pathsep + os.path.dirname(os.path.realpath(__file__))
7-
83
# make IDE's (PyCharm) autocompletion happy
94
from .cv2 import *
105

0 commit comments

Comments
 (0)