Mac 上pycharm 添加opencv

1. 找到run-->Edit configurations
2. 右边,configuration选项卡,展开environment选项

3. 点击environment variables后面的省略号,添加环境变量


name:PYTHONPATH 
value:/usr/local/lib/python2.7/site-packages/:$PYTHONPATH



你可能感兴趣的:(linux)