question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Uninstall Poetry on

See original GitHub issue
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: macOS High Sierra 10.13.6
  • Poetry version: 0.12.8
  • Link of a Gist with the contents of your pyproject.toml file: Not relevant to uninstall

Issue

I originally installed Poetry using curl (release 0.12.4). It has successfully been upgraded to 0.12.8. I have decided to uninstall it now because I am suffering similar problems to others where Poetry ignores pyenv local 3.7.1 and picks up the brew installed version of python 2.7.15. Anyway, when I try to uninstall Poetry using python get-poetry.py --uninstall I get /usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'get-poetry.py': [Errno 2] No such file or directory.

This is also the problem if I attempt to use a different version of python.

Is there another way to uninstall it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

45reactions
bersacecommented, Apr 25, 2019

Note that curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | POETRY_UNINSTALL=1 python is enough.

37reactions
sdispatercommented, Nov 19, 2018

You need to download the get-poetry.py file and execute:python get-poetry.py --uninstall or execute POETRY_UNINSTALL=1 bash -c 'curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python'.

There is also a self:uninstall command in the works but it’s not ready yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction | Documentation | Poetry - Python dependency ...
If you decide Poetry isn't your thing, you can completely remove it from your system by running the installer again with the --uninstall...
Read more >
Python Poetry: Where is get-poetry.py? - Stack Overflow
macOS Mojave 10.14.6 Python 3.7.2. I installed python poetry just like it is in the docs:
Read more >
uninstall poetry - Code Examples & Solutions For This ...
On PowerShell: (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).
Read more >
pip uninstall poetry But all p... - Replit
Replit will try to poetry install but since I uninstall it it shows up a error and the program won't run and idk...
Read more >
poetry - PyPI
Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere. Poetry Install. Poetry replaces ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found