前言
Roboware Studio的准备安装里,说到需要安装pylint
。在安装过程时有各种报错,最恼人的就是这个,花了很长时间,最终误打误撞解决了。
报错内容
Complete output from command python setup.py egg_info:
Error: typed_ast only runs on Python 3.3 and above.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zWgmDM/typed-ast/
You are using pip version 8.1.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
方法
sudo -H pip3 install pylint
说明
具体原理根本不懂,个人参考到的有用链接是:
算是一个相似问题,(看了很多的相似问题),突然意识到,只是报错的具体文件不同。这个参考里面是gitsome
。结果我换成typed_ast
不起作用。
然后看到另外一个人说的,所有都换成pip3,解决了。
https://github.com/donnemartin/gitsome/issues/4#issuecomment-218441687