ubuntu16.04下 安装plexe- pyapi遇到问题及解决方法

ubuntu16.04下 安装plexe- pyapi遇到问题及解决方法

1.pip升级时遇到下面问题

The directory ‘/home/blessing/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory.

解决方法 :

执行sudo -H pip install --upgrade pip

2.已添加系统环境后,安装plexe-pyapi,仍提示缺少sumolib、plexe等modle

解决方法 :

在保证系统路径添加正确的情况下,可能是由于pip版本过低的问题,尝试重新安装解决过类似问题。

1.删除原文件 rm -rf plexe-pyapi/
2.clone工程 git clone https://github.com/michele-segata/plexe-pyapi.git
3.安装 pip3 install --user .
4.更新** pip3 install --upgrade --user . **

plexe-api原git工程链接

https://github.com/michele-segata/plexe-pyapi/tree/master/examples

plexe-api安装教程链接

https://www.jianshu.com/p/3f5b817ff62f

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值