I had my previous python3.7 installed by Anaconda and then I installed python3.9 using homebrew. Then things really messed up. When I check my packages using pip3 list
, it shows no packages installed. I suppose it was sourcing the site-packages under python3.9. However, when I run python in terminal (which python3
), it showed that I was still running the old python3.7 which had all my packages. The problem is whenever I installed new packages, it didn't work because I was still running the old python3.7 while new packages were installed to python3.9.
Question:
- How can I make my python version consistent, e.g. I only want to use one python and preferably the later version --python3.9.
- How should I manage my packages. There are a lot of them and I really don't want to install every single one again on python3.9
Thank you very much!