'Competing Python versions
On my Mac, I have 2 versions of Python running, one from Brew (3.9) and another one (3.8) When I try to install some data science packages via pip3, they are installed but cannot be used as 3.9 takes over.
python3 --version Python 3.9.10
which python3 /opt/homebrew/bin/python3
pip3 install pandas Requirement already satisfied: pandas in /Library/Python/3.8/site-packages
python3
import pandas ModuleNotFoundError: No module named 'pandas'
pandas is just one example of the many packages I see via pip3 freeze.
What are my options to point to installed versions at Python 3.8 ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
