How do I fix this error when trying to install another python library? -
i have python 3.6 seems thinks have 2.7 in error.
traceback (most recent call last): file "/usr/local/bin/pip", line 9, in <module> load_entry_point('pip==9.0.1', 'console_scripts', 'pip')() file "/library/python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/__init__.py", line 233, in main return command.main(cmd_args) file "/library/python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 185, in main name in ["pip._vendor", "distlib", "requests", "urllib3"] file "/library/python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/compat/dictconfig.py", line 565, in dictconfig dictconfigclass(config).configure() file "/library/python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/compat/dictconfig.py", line 332, in configure del logging._handlerlist[:] attributeerror: 'module' object has no attribute '_handlerlist'
try use pip3
instead of pip
.
Comments
Post a Comment