2016-12-12 98 views
0

希望有人可以幫助我。我正在使用ubuntu 14.04並將python3.4升級到python3.5.2。未能在ubuntu中使用pip3安裝包14.04

然後我用

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

我變成刪除所有python3.4和python2.7,然後reisntall然後python3.5解決問題