Fix pipenv install ValueError: Not a valid python path – Python Tutorial

By | April 15, 2021

Pyont pipenv can allow us to create a virtual python environment. However, when we run pip install, we may get this error: ValueError: Not a valid python path. In this tutorial, we will introduce you how to fix it.

Here is an example:

Fix pipenv install ValueError - Not a valid python path – Python Tutorial

As to us, C:/Program Files/Anaconda2/Scripts/python.exe does not exist.

How to fix this error?

The simplest way is to install pipenv 2018.10.13.

Here is an example:

pip install pipenv==2018.10.13

Then we run pipenv install command again. We will find this error is fixed.

Fix pipenv install ValueError - Not a valid python path error – Python Tutorial

One thought on “Fix pipenv install ValueError: Not a valid python path – Python Tutorial

Leave a Reply