Solution for pipenv issue in codecademy python course:

In the module section, you will be instructed to install pipenv. I had trouble changing the PATH in the bash profile. I noticed others also had similar issues online.

The link below helped me:

https://www.jetbrains.com/help/idea/pipenv.html#b5a791b

First I did this in the terminal to find the location:

python -m site —user-base

So my path looks like this on my mac:

/Users/deepak/.local

Then I copied and pasted that path into bash profile using nano.

nano ~/.bash_profile

export PATH=“$PATH :/Users/deepak/.local/bin”

I added the bin part.

Save and exit.

Then you will have to load the bash profile:

source ~/.bash_profile