![]() To install virtualenv, run the following pip3 install virtualenv -user If you use the pip3 command, it will install python3 packages. If you run the pip command on Macos, it will install python 2 packages. As mentioned earlier, you should be using python version 3. Pip is short for “Preferred isntaller program”. To install virtual environments, we will use the pip utility. You can find a whole article on virtual environments here. This becomes more impportant as you do more development because the more development you do, the more likely it is that you will run into a conflict. Virtual environments allow you to install python packages for a specific project instead of for the entire system. To manually install python, go to: Install virtual environments For this reason, you should install python3: However, Python version 2 is no longer supported as of January 1, 2020. So you could skip this step if you only plan on doing python version 2 development. MacOS ships with python version 2.7 pre-installed. You can also download vscode from here: Install Python Now that you are familar with homebew, the easy way to install VS Code is with homebrew by running: brew install -cask visual-studio-code This means it runs on pretty much every platform. It is written in Javascript and runs as an electron app. VS Code is one of the most popular development environments in the world right now. If you want to find the homebrew for an application, you can search the homebrew website here: Install VS Code Go head and try out one of the above examples to make sure homebrew is working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |