Virtual Environment with Pipenv - Mac/Anaconda

Virtual Environment with Pipenv

Hi guys,

I was watching the Codecademy video to download Pipenv on mac and got a totally different result than in the video when opening vi ~/.bash_profile. Instead of a nearly empty window with one Tilde per line, I have some text written, with the first sentence: “Contents within this block are managed by ‘conda init’”. I think that it is because I am running Python on Anaconda. Does anyone know how to change the path when using Anaconda so that I can call pipenv directly from the terminal?

Thanks in advance!

You can install pipenv within a conda environment initialized with python 3.

$ conda create -n pipenv-test python=3
$ source activate pipenv-test


1 Like