Remove "" from sys.path in the Python script get-poetry.py
See original GitHub issueThis 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:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@brycedrennan Can we reopen this issue?
BTW, I’m working a PR to fix this issue.
get-poetry.py
is now deprecated, please useinstall-poetry.py
instead.