各位大神,最近使用python 3遇到了些问题,不知道如何解决,想请教一下!!!
问题:
$pip install pkg_resources
Traceback (most recent call last):
File "/Applications/anaconda/bin/pip", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
# packages in environment at /Applications/anaconda:
#
pip 9.0.1 py36_1 defaults
setuptools 27.2.0 py36_0 defaults
distributed 1.16.3 py36_0 defaults
gym 0.9.3 <pip>
在import gym时,也出现上述问题;包括 $pip list 时均出现同样问题
python版本 3.6.2