You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
pipx run main.py pipx
vs
python3 main.py
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 and from 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.:
# /// script
# dependencies = ["requests"]
# ///
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:
Why not make
--include-deps
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
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!
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.
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: