-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninstall instructions unclear #2245
Comments
Hello @DerekYu177 ,
You are right that the docs can be improved about how to uninstall poetry:
It doesn't matter with which python poetry was installed. Once it is installed it requires to find
That's on you if and where you want to place the installer. :) poetry just provides the scripts and gives a suggestion on how to optain and start it. fin swimmer |
This should be on the official uninstallation instruction. |
This is part of the official uninstallation instructions for the official installer if you scroll to step 6 on the current master docs: |
Running this and restarting my shell, it seems I can still call curl -sSL https://install.python-poetry.org | python3 - --uninstall
curl -sSL https://install.python-poetry.org | POETRY_UNINSTALL=1 python3 - I get: Poetry is not currently installed.
|
Same issue as above :( |
@johnthagen Just FYI... It's on Step 6 for master but it should also be on 1.1 or whatever the other stable version is because that's the place most people will be at. I also couldn't find it until finding this issue. Just a heads up. Thanks. |
@dave4jr I agree. There is a lot about the stable docs that need updating, but it's simply because See |
I am trying to uninstall Poetry 1.2.0a2 preview so I can install the latest release 1.2.1, but I am unable to uninstall Poetry due to the issues raised above. I tried both the recommended script with:
and the old script with:
The latter outputs the notification of removal as shown, but does not actually remove my Poetry installation. It runs without entering interactive mode even though the output suggests there should be a prompt, is that expected? Any help is appreciated. Thanks. |
Same Issue as @marcodlk |
This issue is long resolved as the recommended uninstall methods are published in the Poetry documentation. If you are having issues uninstalling Poetry, it is likely that you have installed with some other method. Please do not continue to comment on this issue with support questions as it sends unnecessary notifications.
|
Thanks @neersighted I should've checked, it was installed under homebrew. Just an extra note in case it helps anyone, if the new installation of poetry is different from before you will have to invalidate the poetry command hash in any shells that were already open - this can be done with: |
Uninstalling should not be this laborious. I've had an easier time getting rid of malware. |
curl -sSL https://install.python-poetry.org | python3 - --uninstall As mentioned above this worked for me |
For anybody looking to uninstall version <1.2.0, here is a valid path to the old install script
From https://stackoverflow.com/questions/74067547. Hope this helps. |
Uninstalling anything with Poetry feels like you need an Engineering degree... |
Worked for me. My version was 1.1.15 |
In my case, I forgot that I installed poetry via pip. and |
I have also installed it via pip, but when i try to uninstall it via pip i get a "Permission Denied" error. I tried it also with sudo but: Found existing installation: poetry 1.1.12 This is the error i get. I tried also running the old method of uninstalling it using the github url but nothing happens. |
@96chip Try @neersighted suggestion from top of thread: manually find your Poetry installation files with |
This comment was marked as spam.
This comment was marked as spam.
I'm on poetry I'm running this command as suggested above:
I get this message but nothing happens.
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue info
Poetry version: 1.0.5
OS: Ubuntu 18.04.1 LTS
Shell: zsh
Problem
I'm trying to uninstall poetry.
I think when I ran the
curl
command I piped it into the defaultpython
instead ofpython3.7
. When I run any command, I get aRuntimeWarning
of the form:This error suggests that I'm calling it from python 2.7 instead of 3.7, which is ideally what I would like to be using.
Methods used to attempt resolution of problem
The instructions suggest using the
--uninstall
option. Running that gives me:along with the associated stack trace. Running it without the options
--
gave me:I can't seem to find the
get-poetry.py
that is being continually referenced in the docs. If it helps, I ranfind / get-poetry.py
and didn't get anything. Should it be included in~/.poetry/
?The docs say:
I poked around in
~/.poetry/lib
but without calling it from~/.poetry/bin
I get reference errors, which make sense.My resolution
Points that may require clarification
RuntimeWarning
due to the default installer using python 2.7?poetry uninstall
option?curl
ing the installer.~/.poetry/lib/
for ease of use?The text was updated successfully, but these errors were encountered: