I've installed pyenv to activate Python 3.9, and that appears to have worked:
maxghenis@MacBook-Air-3 policyengine-canada % pyenv versions
system
* 3.9.16 (set by /Users/maxghenis/.pyenv/version)
maxghenis@MacBook-Air-3 policyengine-canada % python -V
Python 3.9.6
But when I run pip3 install -e .
in this project, it fails with an error message that suggests it's using Python 3.10:
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Error in sitecustomize; set PYTHONVERBOSE for traceback:
AssertionError:
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
How can I ensure that pip3
uses 3.9?