-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
brew install virtualenvwrapper
not auto-picked up by Prezto's python
module on Macbook M1
#2094
Comments
For now as a temp workaround, I'm doing: $ pip3 install --break-system-packages virtualenvwrapper But while that works, I actually think it'd be slightly cleaner to be able to Just not sure why it isn't working... 🤔 |
This is likely related to how Homebrew changed stuff around Python 3.12. Details are here (https://docs.brew.sh/Homebrew-and-Python#pep-668-and-virtual-environments), but this probably will require a bit more research. |
I was surprised to notice that on a Macbook M1, if I install
virtualenvwrapper
viabrew install virtualenvwrapper
that thepython
module doesn't pick it up. For it to work, I have to explicitly callsource .virtualenvwrapper.sh
and ain't nobody got time for 'dat!Looking at the python module here in Prezto, I expected it to automatically discover the presence of the
virtualenvwrapper.sh
file and source it:prezto/modules/python/init.zsh
Lines 138 to 144 in 9195b66
I did notice on a M1 Macbook that since Homebrew uses a different path than intel macs, that may be the problem:
But when I tried locally hardcoding the different path, it didn't seem to work:
The text was updated successfully, but these errors were encountered: