PyCharm 安装完默认是python3 查看mac os默认python2安装路径 Last login: Sun Jul 15 18:41:16 on ttys000y50@Y50:~$pythonPython 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-
mac os 自带Python 2.7.10 y50@Y50:~$sudo easy_install pipPassword:Searching for pipReading https://pypi.python.org/simple/pip/Best match: pip 10.0.1Downloading https://files.pythonhosted.org/packag
代码上面应该没有什么问题,Python使用的是版本2.7,但是在运行的时候出现了异常错误UnicodeEncodeError:UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 0-78: ordinal not in range(128) 貌似是因为编码问题:Unicode编码与ASCII编码的不兼容,其实
opencv与darknet在python2.7下报错问题 在整ROS的时候默认运行python2.7,不知道有什么办法可以调,导致yolo跑不了,报如下错 Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported 解决方法是按如下顺序重新编