2 Replies Latest reply on May 23, 2018 11:08 PM by Intel Corporation

    What could be the reason behind 'pip3' working and 'pip' producing an error?

    rohg96

      I upgraded my pip version on dev cloud using the pip --upgrade --user install pip command. And now this has rendered simply using pip useless; as a result I have to always write pip3 to make it work.

       

      For example: pip --version command produces the following error.

       

      Traceback (most recent call last):

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

          sys.exit(pip.main())

      AttributeError: module 'pip' has no attribute 'main'

       

       

      Could you help me understand, why?