zjwright
zjwright

Reputation: 21

Trying to install pipenv on Visual Studios on mac

I am trying to install pipenv.

In the terminal I used pip3 install --user pipenv and got messages saying all reuirements are satisfied but when I run pipenv --version i get a command not found error.

Any advice on how to resolve this? I tried to follow this video, for reference. https://www.youtube.com/watch?v=BVr-6Ki96XM

I tried opening a new terminal to see if it would work in there but it didnt. Not sure what to try next.

Screenshot

enter image description here

Upvotes: 0

Views: 48

Answers (2)

Lubomyr Pryt
Lubomyr Pryt

Reputation: 169

If you want to use just pipenv this might be helpful: https://discussions.apple.com/thread/254226896?sortBy=rank

In case that doesn't work, try adding the following line to the .bash_profile:

alias pipenv="python3 -m pipenv"

alias is not the best solution, but should work.

Upvotes: 0

Lubomyr Pryt
Lubomyr Pryt

Reputation: 169

Add it to the PATH as shown in the video.

If that doesn't work, use python3 -m pipenv instead of just pipenv

Upvotes: 0

Related Questions