希望有人可以帮助我。我正在使用 ubuntu 14.04 并将python3.4升级到python3.5.2。
然后我用了
pip3 install -r <requirments>
升级所有包。但是,我得到了很多错误
Failed building wheel for <package name>``` and with following error.
~# pip3 -V
pip 9.0.1 from /usr/local/lib/python3.5/dist-packages (python 3.5)
~# python -V
Python 3.5.2
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 213, in run
archive_basename = self.get_archive_basename()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 161, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 155, in get_tag
assert tag == supported_tags[0]
AssertionError
----------------------------------------
Failed building wheel for setproctitle
答案 0 :(得分:0)
我发现删除所有python3.4和python2.7,然后reisntall python3.5然后解决问题