-2

I just switched from using venv to pipenv. But after I installed pipven through pip:

python -m pip install pipenv

I moved to my new project directory and done creating the virtual environment via:

pipenv shell

Then receive the following error message:

...
ValueError: Not a valid python path: 'C:/Users/%USERPROFILE%/AppData/Local/Programs/Python2/Python27/Scripts/python.exe'

I have check the "Environment Variables" and I set it right. How can I solve this Problems? Many Thanks!!

uozcan12
  • 404
  • 1
  • 5
  • 13
williamdam
  • 11
  • 1

1 Answers1

0

I have fixed the problem, by using older version of pipenv:

pip install pipenv==2018.10.13

I don't know why this happen but it work with me

williamdam
  • 11
  • 1