There seem to be a lot of code still out there running 2.x, but 3.x is the way of the future and I’d like to ensure I have that installed on my machine. It is recommended to not use Python 2 anymore. You can see above that I have both 2.7.10 and 3.6.2 installed. If you have Python 3.x installed, you will also have the python3 alias. Running the python executable only executes the python defined in your PATH environment variable.Īlso, the alias python will generally refer to any 2.x version. Unlike PowerShell, Python can be installed in a few different places, and you might actually have multiple versions installed. This will immediately display what version is installed. To determine if you already have Python installed, fire up your terminal and type python -version or python -V. On the computer I’ll be using running MacOS Sierra, Python 2.7 was installed. Unlike Windows, Python typically comes pre-installed on many *nix operating systems and MacOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |