使用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