错误 Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build*

安装Roboware Studio后,为了支持Python调试功能,需要先安装pylint

使用sudo python -m pip install pylint命令产生报错:Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-YIFBGL/pylint/
错误 Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build*_第1张图片

图中可见:

一、安装pylint报错:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YIFBGL/pylint/

解决办法:

  1. 安装python3-pip软件包
sudo apt-get install python3-pip
  1. sudo python -m pip install pylint命令换成sudo -H pip3 install pylint命令
sudo -H pip3 install pylint

如下为成功安装
错误 Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build*_第2张图片

二、黄色字体可见python-pip软件包版本未更新:

You are using pip version 8.1.1, however version 20.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

解决办法:
按提示输入命令:

sudo pip install --upgrade pip

错误 Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build*_第3张图片

你可能感兴趣的:(ROS,Roboware,studio)