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.

pipx ensurepath under ubuntu is broken

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
itsayellowcommented, Jan 18, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

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