-1
私はhomebrewをインストールしましたが、システムのpythonは10.11.6以下です。 pip(またはpip3)を使用しようとするとpipが実行されず、次のエラーが発生します。誰もそれを修正する方法についての提案はありますか?Mac OS X 10.11.6でPythonエラーが発生しました
はここでエラーメッセージ
echo $PYTHON_PATH /Users/paulfons/ase: axion:~ paulfons$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/Cellar/pyenv-virtualenv/20160716/shims:/opt/intel//compilers_and_libraries_2016.1.111/mac/bin/intel64:/opt/intel//documentation_2016/en/debugger//gdb-ia/man/:/Users/paulfons/bin:/Users/paulfons/ase/tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/opt/intel//debugger_2016/gdb/intel64/bin
axion:~ paulfons$ pip -V Traceback (most recent call last): File
"/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 2927, in <module>
@_call_aside File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 2913, in _call_aside
f(*args, **kwargs) File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master() File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 635, in _build_master
ws.require(__requires__) File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 943, in require
needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 829, in resolve
raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pip==8.1.2' distribution was
not found and is required by the application axion:~ paulfons$ pip3 -V
Traceback (most recent call last): File "/usr/local/bin/pip3", line
5, in <module>
from pkg_resources import load_entry_point File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 2927, in <module>
@_call_aside File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 2913, in _call_aside
f(*args, **kwargs) File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master() File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 635, in _build_master
ws.require(__requires__) File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 943, in require
needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py",
line 829, in resolve
raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pip==8.1.2' distribution was
not found and is required by the application axion:~ paulfons$
あなたはこれを何か読めるように書式設定する必要があります。 – chepner
特定のバージョンのpipが必要ですか?これは何をすべきか?私はピップの特定のバージョンを必要とするアプリケーションを使用しているとは思わない... –
'python -m pip -V'を試してみてください。 –