Official website download address: Two, configure the Python development environment 1. The third line is to rename the pip commandĪt this time, python3 is installed and configured The second line is to rename the python command The first line specifies python3 global environment variables Then you need to configure the environment variables and specify the python version only. Note: the python in the /usr/bin/ directory is the python pre-installed on the systemĪt this point, if you want to enter python in the terminal, you will directly use your newly installed python3. The system directory that can be found after the execution is complete: usr/bin/ruby -e "$(curl -fsSL /Homebrew/install/master/install)"Īfter the execution is complete, tools such as homebrew and pip are automatically installed Here teach you to easily install python3 and configure the virtual environment. You can directly use this version of python to operate. You will see this version number printed out. It is recommended to read the original text: /python_in stallįirst of all, you must know that mac comes with a version of python of 2.7, if you have not installed other versions before, run it in the terminal
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |