pip3安装在Python2的site-packages中

使用pip3 install py_trees,出现已安装的情况,但是是在Python2.7的site-packages中,导致debug的时候,仍旧出现ImportError: No module named 'py_trees'的情况。

解决:

python3.5 -m pip install py_trees

贴图:
在这里插入图片描述
指定源更快,也可将py_trees更换为其他pip库文件。

python3.5 -m pip install py_trees -i https://pypi.douban.com/simple

猜你喜欢

转载自blog.csdn.net/weixin_41631106/article/details/104697800