AnsweredAssumed Answered

pip import error: cannot import name main- after installing pipenv

Question asked by jbridwell_Dewberry on Jul 30, 2018
Latest reply on Jul 30, 2018 by jbridwell_Dewberry

I am trying to use pipenv as well as pip and having some issues. I installed pipenv using pip. Then I went back and tried to run pip -v and got the following: ImportError: cannot import name main. I have seen similar problems answered for Linux and Mac, but I cannot use sudo or which commands; I am on Windows 10 using the CMD console.  In my scripts folder, I see pip, pip2.7, and pip2. I cannot remember which one was my system pip. I know I need to maybe uninstall and reinstall (I have already tried to upgrade, but of course, without pip running you can't upgrade pip). I don't want to make more of a mess, so I wanted to ask how to resolve this in the CMD console on Windows.

Outcomes