尝试pip安装时出错

时间:2017-06-16 02:17:10

标签: python

Traceback (most recent call last):
File "/Users/Adam/anaconda/bin/pip", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

当我尝试执行pip install keras时出现此错误。 我的bashprofile看起来像这样(使用anaconda)

Chrome
export BROWSER
#sbt
export PATH=/opt/scala/sbt:$PATH
#xgboost
export PYTHONPATH=~/xgboost/python-package

#MAVEN
export MAVEN_HOME=/usr/local/Cellar/maven/3.5.0
export PATH=/usr/local/Cellar/maven/3.5.0/bin:$PATH

# added by Anaconda3 4.4.0 installer
export PATH="/Users/Adam/anaconda/bin:$PATH"

0 个答案:

没有答案