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.

Remove "" from sys.path in the Python script get-poetry.py

See original GitHub issue

This helps avoid tricky issues when users run the command curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python in a directory containing Python scripts with names conflicting with official Python modules. For example, if users run the command in a directory containing his own version of datetime.py, the command will likely throw an exception.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dclongcommented, May 3, 2020

@brycedrennan Can we reopen this issue?

BTW, I’m working a PR to fix this issue.

0reactions
abncommented, Nov 12, 2021

get-poetry.py is now deprecated, please use install-poetry.py instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Removing path from Python search module path
sys.path is a list of directories which contain Python modules, not system libraries. · Current directory is where the script is located, not ......
Read more >
Cannot Uninstall Poetry on · Issue #644 - GitHub
Anyway, when I try to uninstall Poetry using python get-poetry.py --uninstall I ... This will also remove Poetry from your system's PATH.
Read more >
Introduction | Documentation | Poetry - Python dependency ...
Poetry will be available at $VENV_PATH/bin/poetry and can be invoked directly or symlinked elsewhere. To uninstall Poetry, simply delete the entire $VENV_PATH ...
Read more >
The initialization of the sys.path module search path — Python ...
The first entry in the module search path is the directory that contains the input script, if there is one. Otherwise, the first...
Read more >
get-poetry.py - GitHub
This script will install Poetry and its dependencies in isolation from the ... at: {poetry_home_bin} This will also remove {poetry} from your system's...
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