Skip to content
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

SyntaxError when attempting to uninstall from install script #9408

Closed
fisher60 opened this issue May 11, 2024 · 3 comments
Closed

SyntaxError when attempting to uninstall from install script #9408

fisher60 opened this issue May 11, 2024 · 3 comments
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged

Comments

@fisher60
Copy link

Description

Running the suggested command for uninstalling results in a syntax error on windows.

curl https://install.python-poetry.org | py -          
  File "<stdin>", line 6
    r"""
    ^
SyntaxError: unterminated triple-quoted string literal (detected at line 27)

Workarounds

Currently no clear instructions for alternative ways to remove/delete poetry from the system.

Poetry Installation Method

install.python-poetry.org

Operating System

Windows 10

Poetry Version

1.3.2

Poetry Configuration

cache-dir = "C:\\Users\\wakef\\AppData\\Local\\pypoetry\\Cache"
experimental.new-installer = true
experimental.system-git-client = false
installer.max-workers = null
installer.no-binary = null
installer.parallel = true
virtualenvs.create = true
virtualenvs.in-project = null
virtualenvs.options.always-copy = false
virtualenvs.options.no-pip = false
virtualenvs.options.no-setuptools = false
virtualenvs.options.system-site-packages = false
virtualenvs.path = "{cache-dir}\\virtualenvs"  # C:\Users\wakef\AppData\Local\pypoetry\Cache\virtualenvs
virtualenvs.prefer-active-python = false
virtualenvs.prompt = "{project_name}-py{python_version}"

Python Sysconfig

Platform: "win-amd64"
Python version: "3.12"
Current installation scheme: "nt"

Paths:
        data = "C:\Python312"
        include = "C:\Python312\Include"
        platinclude = "C:\Python312\Include"
        platlib = "C:\Python312\Lib\site-packages"
        platstdlib = "C:\Python312\Lib"
        purelib = "C:\Python312\Lib\site-packages"
        scripts = "C:\Python312\Scripts"
        stdlib = "C:\Python312\Lib"

Variables:
        BINDIR = "C:\Python312"
        BINLIBDEST = "C:\Python312\Lib"
        EXE = ".exe"
        EXT_SUFFIX = ".cp312-win_amd64.pyd"
        INCLUDEPY = "C:\Python312\Include"
        LIBDEST = "C:\Python312\Lib"
        TZPATH = ""
        VERSION = "312"
        VPATH = "..\.."
        abiflags = ""
        base = "C:\Python312"
        exec_prefix = "C:\Python312"
        installed_base = "C:\Python312"
        installed_platbase = "C:\Python312"
        platbase = "C:\Python312"
        platlibdir = "DLLs"
        prefix = "C:\Python312"
        projectbase = "C:\Python312"
        py_version = "3.12.1"
        py_version_nodot = "312"
        py_version_nodot_plat = "312"
        py_version_short = "3.12"
        srcdir = "C:\Python312"
        userbase = "C:\Users\wakef\AppData\Roaming\Python"

Example pyproject.toml

Issue is agnostic of pyproject.toml

Poetry Runtime Logs

N/A
@fisher60 fisher60 added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels May 11, 2024
@dimbleby
Copy link
Contributor

clearly you have not downloaded the full install script, perhaps just a network glitch. please close.

@fisher60
Copy link
Author

Sure, in hindsight I believe this may have been caused by poetry self update failing with a different, peculiar error. But I am unable to reproduce since the install was destroyed.

@dimbleby
Copy link
Contributor

then there is nothing to be done with this but to close it, please

@Secrus Secrus closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

3 participants