pipx ensurepath under ubuntu is broken
See original GitHub issueDescribe the bug
pipx ensurepath
does not add the correct path under Ubuntu
It does this:
Success! Added /home/runner/work/pipx-ubuntu-bux/pipx-ubuntu-
bux/"/opt/pipx_bin" to the PATH environment variable.
How to reproduce
Please see the minimal example here: https://github.com/kghose/pipx-ubuntu-bux/blob/main/.github/workflows/bug.yaml
The initial commit includes ubuntu
in the OS matrix and it fails: https://github.com/kghose/pipx-ubuntu-bux/actions/runs/486022607
Taking ubuntu
out of the OS matrix results in the action succeeding on Windows and macOS: https://github.com/kghose/pipx-ubuntu-bux/runs/1703697490?check_suite_focus=true
Expected behavior
pipx ensurepath
should work on ubuntu
pipx is awesome! Thank you for making it!
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Troubleshooting - pipx
Troubleshooting · reinstall-all fixes most issues · Diagnosing problems using list · Specifying pipx options · Check for PIP_* environment variables · pipx...
Read more >setup for pipx completions not working on Ubuntu 20.04 #748
local/bin to the PATH environment variable. Consider adding shell completions for pipx. Run 'pipx completions' for instructions. You will need ...
Read more >Pipx - Install And Run Python Applications In Isolated ...
Pipx is a free and open source utility that allows you to install and run Python applications in an isolated virtual environments in...
Read more >Ubuntu pip is broken - python - Stack Overflow
When facing this problem, I removed pip using apt remove python3-pip. and installed it again and it fixed my problem.
Read more >Python Dev Environment under Ubuntu in 2021 | Passions Play
Walk through of getting a Python development environment configured on Ubuntu 21.04. ... src/python-sandbox % python -m pipx ensurepath.
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
https://github.community/t/pipx-env-variables-set-incorrectly/156093
Glad you have a solution, and I would give my heartfelt thanks if you opened a github ticket! 👍 I’m sure other users will encounter the same problem.