-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Installation issue with pipx
on macOS?
#9396
Comments
pipx
on macOSpipx
on macOS?
I've hit possibly the same issue. With the same result, the "[Errno 2] No such file or directory: 'python'" tl; dr: I need to unset VIRTUAL_ENV In my case it was due to bad interaction with VS code:
Fix:
The difference between broken state and working state is that when VS code detect the virtualenv, VS code "enable" it (but not as usual: PS1 isn't changed, |
Description
I'm a long-time Poetry-enthusiast ❤️ Amazing project and kudos to the whole team, thanks for all you do! 🎉 🌮 🍰
Since I have a workaround, I'm not terribly worried about this issue. That said, if it helps someone else I'm happy to provide a workaround & some information.
My workflow is basically:
Also, note that I have multiple versions of Python installed:
Workarounds
The workaround, which solves this issue for me is exactly as yene stated here: #6841 (comment)
Poetry Installation Method
pipx
Operating System
macOS 14.4
Poetry Version
Poetry (version 1.8.2)
Poetry Configuration
Python Sysconfig
Example pyproject.toml
Poetry Runtime Logs
With
-vvv
:The text was updated successfully, but these errors were encountered: