I have completely uninstalled and re installed poetry using:
POETRY_UNINSTALL=1 bash -c 'curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python'
then I re installed it using:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
but it did not fix the issue. and then I # for poetry config
export PATH="$HOME/.poetry/bin:$PATH"
You just need to re-install poetry
# install
curl -sSL https://install.python-poetry.org | python3 -
# update
poetry self update
# uninstall
curl -sSL https://install.python-poetry.org | python3 - --uninstall
This command fixed it for me (OSX):
rm -rf ~/.poetry
I think it gets your local files in a muddle!
Be careful running this in your user folder!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With