Skip to main content
Stack Overflow is like an encyclopedia, so we prefer to omit these types of phrases. It is assumed that everyone here is trying to be helpful.
Source Link
Dharman
  • 33.9k
  • 27
  • 103
  • 156

Make a list of your pip installed pacakages:

pip3 freeze > my_packages.txt

Uninstall python3.7:

sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7

With your new install of python3.9, install the previous packages:

pip3 install -r my_packages.txt

Hope this helps.

Make a list of your pip installed pacakages:

pip3 freeze > my_packages.txt

Uninstall python3.7:

sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7

With your new install of python3.9, install the previous packages:

pip3 install -r my_packages.txt

Hope this helps.

Make a list of your pip installed pacakages:

pip3 freeze > my_packages.txt

Uninstall python3.7:

sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7

With your new install of python3.9, install the previous packages:

pip3 install -r my_packages.txt
Source Link
Insula
  • 983
  • 6
  • 13

Make a list of your pip installed pacakages:

pip3 freeze > my_packages.txt

Uninstall python3.7:

sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7

With your new install of python3.9, install the previous packages:

pip3 install -r my_packages.txt

Hope this helps.