'pipx install twisted' gets spurious binaries
See original GitHub issueRunning pipx install twisted
on a MacOS10.14.3 system (with Homebrew’s python3.7) leads to some additional binaries being installed into ~/.local/bin/
that shouldn’t be there:
% pipx install twisted
installed package twisted 18.9.0, Python 3.7.2
These binaries are now globally available
- __init__.py
- _twistd_unix.py
- _twistw.py
- cftp
- cftp.py
- ckeygen
- ckeygen.py
- conch
- conch.py
- htmlizer.py
- mailmail
- mailmail.py
- pyhtmlizer
- tkconch
- tkconch.py
- trial
- trial.py
- twist
- twistd
- twistd.py
⚠️ Note: '/Users/warner/.local/bin' is not on your PATH environment variable. These binaries will not be globally accessible until your PATH is updated. Run `pipx ensurepath` to automatically add it, or manually modify your PATH in your shell's config file (i.e. ~/.bashrc).
done! ✨ 🌟 ✨
%
- all those
*.py
files shouldn’t have been installed, especially the__init__.py
- my
$PATH
actually has that directory already (andpipx install
of other packages does not complain about it), so I wonder if whatever bug is causing the first problem might also be causing the second
I’m guessing that however pipx learns about the executables is getting confused by something unusual that Twisted might be doing. I’ll try to dive into this further this weekend.
thanks for the great project! -Brian
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10
Top Results From Across the Web
pipx install erroneously exposing binaries of dependencies ...
Currently when installing a package all of it's included apps (dependencies?) are exposed to $PATH , even though when I for instance want...
Read more >Pip Install Twisted Error 1 - python - Stack Overflow
FWIW I was getting the same bogus error trying to install twisted: distutils.errors.DistutilsError: Could not find suitable distribution for ...
Read more >Twisted-binary - PyPI
Installing. To install the latest version of Twisted using pip: $ pip install twisted. Additional instructions for installing this software ...
Read more >Installation - pipx
The default binary location for pipx-installed apps is ~/.local/bin . This can be overridden with the environment variable PIPX_BIN_DIR . pipx's default virtual...
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
cool, I’ll dig in
thank you!