Reputation: 85
I have been having issues with installing things in the terminal Python related like: https://github.com/RomelTorres/alpha_vantage
I did try to uninstall python and install Python 3.8.2 but when I do "python --version" I get Python 2.7.16.
Upvotes: 0
Views: 3252
Reputation: 528
You probably do not have to uninstall it, instead of using the keyword python
, try python3
. python3 --version
will most likely give the version 3.8.2 if you have it installed. On most Linux distributions, and I'm assuming on macOS too, python
refers to Python 2 instead of Python 3 for backwards compatibility, so you have to explicitly tell it to use Python 3.
Upvotes: 2