Pipenv not found

I’m having trouble with the Installing pipenv on Mac OS portion of the String Methods lesson. Link below …


For your info, I am running MacOS Ventura (newly downloaded a few days ago) on my 2021 MacBook Air .

I followed all the instructions from Mike in the video with no problem. I get to 8:30 (8 minutes and 30 seconds) into the video, follow the directions to save the file and check to see that the changes were successfully made (yes all good), I follow the directions to close the Terminal and reopen it.

But when I type in the pipenv --version as instructed, I get the following message …

zsh: command not found: pipenv

So I got back to the beginning and try to do it all again. This time when I get to 6:00 into the video, instead of the message in the terminal that says "pipenv and pipenv-resolver are installed in ‘Users/…’ which is not in PATH, I get many lines that start with “Requirement already satisfied” … probably because I followed all of Mike’s instructions correctly the first time around.

Someone please help?

Hi. It’s getting messier and messier. I figured, it’s a new day, I’ll try this again. So I started from the beginning of the video again … but then now when I do the <vi ~/.bash-profile command> I get a warning message which I’ve copied and pasted for you to see below … BTW I am afraid to do anything else. This warning message looks scary.


(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use “:recover” or “vim -r /Users/myname/.bash_pr
to recover the changes (see “:help recovery”).
If you did this already, delete the swap file “/Users/myname/.bash_pr
to avoid this message.

Swap file “~/.bash_profile.swp” already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: