![How to compile python on mac](https://case.faraton.info/24.jpg)
#How to compile python on mac code
Note: Since zsh became the default shell in macOS Catalina, run the following commands to add VS Code to your path: cat > ~/.zprofile # Add Visual Studio Code (code) export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" EOF Touch Bar support Remove the leading slash if you want to run the export command directly in a terminal. Note: The leading slash \ is required to prevent $PATH from expanding during the concatenation. To do so run the following commands: cat > ~/.bash_profile # Add Visual Studio Code (code) export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" EOF Instead of running the command above, you can manually add VS Code to your path,
#How to compile python on mac install
bash_profile (or equivalent) from an early VS Code version, remove it and replace it by executing the Shell Command: Install 'code' command in PATH command. Note: If you still have the old code alias in your. ' in any folder to start editing files in that folder.
![how to compile python on mac how to compile python on mac](https://pyimagesearch.com/wp-content/uploads/2015/06/py3_opencv3_osx_cover_identification.jpg)
Restart the terminal for the new $PATH value to take effect.Open the Command Palette ( Cmd+Shift+P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.You can also run VS Code from the terminal by typing 'code' after adding it to the path: Add VS Code to your Dock by right-clicking on the icon to bring up the context menu and choosing Options, Keep in Dock.
![how to compile python on mac how to compile python on mac](https://pimylifeup.com/wp-content/uploads/2019/11/python-on-mac-xcode-app-v2.jpg)
Drag Visual Studio Code.app to the Applications folder, making it available in the macOS Launchpad.
![how to compile python on mac how to compile python on mac](https://itsourcecode.com/wp-content/uploads/2021/02/Python-Compiler-Online-and-Offline-2021-1.png)
Use double-click for some browsers or select the 'magnifying glass' icon with Safari.
![How to compile python on mac](https://case.faraton.info/24.jpg)