安装roboware studio 出现连续错误的解决方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/shanpenghui/article/details/88964439

The directory ‘/home/sph/.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. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/home/sph/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.

在安装roboware studio时候
安装下面依赖 的时候出现错误
在这里插入图片描述
可以在指令前面加-H,比如:

sudo -H python -m pip install pylint

但是又出现下面的问题,Cannot uninstall ‘enum34’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.:
在这里插入图片描述解决方法是忽略安装好的enum34:

sudo -H python -m pip install pylint --ignore-installed enum34

在这里插入图片描述就ok啦。

然后去到roboware studio下载好的路径,用下面指令解压:

sudo dpkg -i roboware-studio_<version>_<architecture>.deb

在这里插入图片描述选择yes,然后看提示:
在这里插入图片描述
这样就安装完成了

猜你喜欢

转载自blog.csdn.net/shanpenghui/article/details/88964439