Ich habe gerade von Python 3.4 zu Python 3.6 mit Homebrew aktualisiert.Update pip3 für Python 3.6?
Die Ausgangszustände:
Pip, setuptools, and wheel have been installed. To update them
pip3 install --upgrade pip setuptools wheel
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/usr/local/lib/python3.6/site-packages
versuchte ich
pip3 install --upgrade pip setuptools wheel
Aber es spielt keine Upgrade Pip für Python 3.6 zu laufen. Stattdessen findet es PIP3 in in Python 3.4 und sagt: 'Anforderung erfüllt':
Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Collecting setuptools
Downloading setuptools-33.1.1-py2.py3-none-any.whl (472kB)
100% |████████████████████████████████| 481kB 1.0MB/s
Collecting wheel
Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
100% |████████████████████████████████| 71kB 5.7MB/s
Installing collected packages: setuptools, wheel
Found existing installation: setuptools 12.0.5
Uninstalling setuptools-12.0.5:
Successfully uninstalled setuptools-12.0.5
Successfully installed setuptools-33.1.1 wheel-0.29.0
Wenn ich die pip-Version überprüfen, ist es in Python ist 3.4, nicht 3.6. Wie kann ich das beheben?
$ pip3 -V
pip 9.0.1 from /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (python 3.4)
der Tat gehen können, ich diese beiden Versionen von Python in CentOS haben. Sie verwirren mich wirklich. :-( –