提交 424ec6a1 编写于 作者: N native-api 提交者: Olli-Pekka Heinisuo

PATH editing only needed in Windows (#55)

* PATH editing only needed in Windows

* DLL load works without in Windows, too
上级 83b0ac8a
import sys
import os
import importlib
# FFmpeg dll is not found on Windows without this
os.environ["PATH"] += os.pathsep + os.path.dirname(os.path.realpath(__file__))
# make IDE's (PyCharm) autocompletion happy
from .cv2 import *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册