-
Notifications
You must be signed in to change notification settings - Fork 1
Description
My Environment:
- MacOS 12.0.1 aka Monterey
- Homebrew
- JDK 11
- Python 3.9
- pip 21.3.1
My Problem:
When the path to the Python installation is determined, it does not determine the same path that I get with which python3. Specifically, it does not output the path /opt/homebrew/bin/python3, but the path /usr/local/bin/python3. This prevents modules like wget from loading. [...] This causes at least 9 tests to fail. I have already run echo $PATH and had to realize that these results are also very different, because the output within the tests/program has considerably less paths and also the path of Homebrew is not present.
My Solution:
In my case it helped to run rm /usr/local/bin/python3, then uninstall all python3 versions installed via Homebrew with brew uninstall python3 or brew uninstall python@3.9 and then reinstall with brew install python3. But before that I did other steps and messed around with the code, so I can't say if it`s really the solution. Anyway, it works now!