2017-03-21 42 views
0

我遇到了pip 9.0.1和pyjnius問題。如何使用pip 9.0.1在Ubuntu 16.04上安裝pyjnius?

[email protected]:~# pip list --format=columns | grep pip 
pip       9.0.1  
[email protected]:~# pip install pyjnius 
Collecting pyjnius 
    Could not find a version that satisfies the requirement pyjnius (from versions:) 
No matching distribution found for pyjnius 

任何幫助安裝pyjnius是值得歡迎的。

注:我按照這些指令,因爲我曾與從Ubuntu的軟件包PIP安裝問題:Pip broken on Ubuntu 14.4 after package upgrade

回答

0

那麼問題是自我解釋,有:從這個鏈接獲得

apt-get remove --purge python-pip 
curl https://bootstrap.pypa.io/get-pip.py | sudo python 

指令沒有匹配的分配。這意味着該模塊可能需要python 3.5,但你只有python 3.6。或者你可以有Python 2,它需要python 3.