3 Replies Latest reply on Nov 13, 2018 2:25 AM by Intel Corporation

    the pip becames useless after upgrade!

    duankong

      the pip becames useless after upgrade!

      Traceback (most recent call last):

        File "/glob/intel-python/python3/bin/pip", line 4, in <module>

          import pip

        File "/home/u21676/.local/lib/python3.6/site-packages/pip-1.5.4-py3.6.egg/pip/__init__.py", line 9, in <module>

          from pip.log import logger

        File "/home/u21676/.local/lib/python3.6/site-packages/pip-1.5.4-py3.6.egg/pip/log.py", line 9, in <module>

          from pip._vendor import colorama, pkg_resources

        File "/home/u21676/.local/lib/python3.6/site-packages/pip-1.5.4-py3.6.egg/pip/_vendor/pkg_resources.py", line 1423, in <module>

          register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)

      AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'