不知道为啥输入pip install odrive==0.5.1.post0
,安装odrivetool v0.5.1(适用于 硬件为v3.6、固件为v0.5.1 的ODrive)的时候,报了一大堆错,然后在网上找了很久找到的解决办法。
解决办法:
命令行直接输入(这里默认python已安装成功):
pip install odrive==0.5.1.post0 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.douban.com
其中的odrive==0.5.1.post0是需要安装的包
如果上面的不行,镜像网址可选以下的试试:
1)http://mirrors.aliyun.com/pypi/simple/ 阿里云
2)https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学
3) http://pypi.douban.com/simple/ 豆瓣
4) https://pypi.tuna.tsinghua.edu.cn/simple/ 清华大学
5) http://pypi.mirrors.ustc.edu.cn/simple/ 中国科学技术大学
最后成功就是这个样子了。