I'm trying to set up the latest version of poetry on my Mac, but the shell won't recognize poetry commands. Instead I get the following error:
zsh: command not found: poetry
To provide some context, here is what I am working with:
- iOS 12.5.1
- Python 3.8.9
- Poetry 1.2.0
- Poetry was installed at the default directory of
~/Library/Application Support/pypoetry
I can still execute Poetry directly at the source, but am unable to use its commands. So, I know the installation was successful, just unreachable for some reason.
I've tried adding it to my PATH with no success through the following:
- by adding
source $HOME/Library/Application\ Support/pypoetry/venvto~/.bashrc - by adding
source $HOME/Library/Application\ Support/pypoetry/venvandPATH=$HOME/Library/Application\ Support/pypoetry/venv/bin:$PATH"to~/.bash_profile
Any insight into this would be greatly appreciated!