-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't say I'm enamoured by pipx. #1547
Comments
I don't understand what you're trying to achieve here exactly, and I suspect the devs didn't either and that's why you didn't get any responses. It sounds like you're trying to use pipx to manage your local development environments. Pipx is a tool to help you install and run end-user applications. I'm sure trying to use it to manage your local development environments is very uncomfortable, and you should not use it for that. In the future, you may get better responses by following the bug report template, which will ensure your issue includes the information the devs need. |
@JGFMK Agree, everytime I use |
Why are you using Pipx is a tool to download, install and run python applications as if they were external commands. In a way, it's more akin to Snap and Flatpak than to It's not very useful (or at all) in an IDE like VSCode, as an IDE usually manages Virtual Environments for you, activating them and setting the interpreter during development. And Also, you seem to misunderstood what the script metadata is for. It's a "mini- For the other 2 sensible complains, about autocomplete in |
I find pipx a thorn in my side and I've wasted 4+ hours today fixing stuff after a Mac OS/X Sequoia upgrade.
It messed up miniconda, my vs-code activate environements etc.
VS Code: (Command Pallete: Clear Workspace Interpreter Settings)
All this has done is make commands longer to type.
I don't like the verbosity this has introduced.
e.g:
vs
I'm wondering if I need yet another python3 alias to wrapper this! Why do I need pipx twice!
And don't forget I now need to annotate imports too. (They only work at top of module -not in a method - you can end up with circularity issues sometimes. So I hope the metadata (equivalent to Groovy Grape annotation) doesn't mess with the Python's logic of token resolution), where you are normally doing something like
from a import c
in one method andfrom b import c
in another method. Hopefully the dependencies of a and b don't step on each other's toes more so you get cross module references.e.g.:
Also if I transfer the code with the requests dependency to another module, and import that module, having put the meta tag comment in the other module, it seems it doesn't work either! pipx is terrible! You have to put the meta tag in the client. Talk about anti code once!
I was happier with virtual environments.
It took a while to figure out where it was installing things - all wasting my time.
I don't mind changes as long as they don't break things or make more work for me. This has done both! :-(
At the very least describe how doing something as simple as installing the requests module and being able to execute/debug code in VS Code so the module is found via the Run button can work as seamlessly as it did before we had pipx.
Also:
a default? It's infuriating having to retype and add that verbosity too.
Could not make this work - zsh - Mac Sequoia.
eval "$(register-python-argcomplete pipx)"
Is there a pipx VSCode extension?
Or can I use either the Python/Python Debugger... tweaking settings to somehow to accomodate the aforementioned verbosity? (JSON files such as
etc)
The very worst part of this though, is if I want to debug stuff in VS Code, now I am hosed. I can only run things.
I need to know how to get around this urgently!
Also posted on Stack Overflow
The text was updated successfully, but these errors were encountered: