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

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时候
安装下面依赖 的时候出现错误
安装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.:
安装roboware studio 出现连续错误的解决方法解决方法是忽略安装好的enum34:

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

安装roboware studio 出现连续错误的解决方法就ok啦。

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

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

安装roboware studio 出现连续错误的解决方法选择yes,然后看提示:
安装roboware studio 出现连续错误的解决方法
这样就安装完成了