pip3 is installed in the site-packages of Python2

When used pip3 install py_trees, it appears that it has been installed, but it still appears when it is debugged in the site-packages of Python2.7 ImportError: No module named 'py_trees'.

solve:

python3.5 -m pip install py_trees

Texture:
Insert picture description here
Specify the source faster, you can also replace py_trees with other pip library files.

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

Guess you like

Origin blog.csdn.net/weixin_41631106/article/details/104697800