Environment: MacBook Pro
Reference Blog
In order to develop AI code, I need to install a vs code.
At first I thought I was installing Visual Studio. I've installed visual studio2017.
VS code is a text editor with some plugins. The installation package is only a few 10 megabytes in size.
Download the VS code, click Extensions, search for the Python plugin and tools for AI, and students who need Chinese can download the Chinese language pack. The download will show reload, click Reload, and it will be loaded.
Download install git, I built a folder on the desktop deeplearning.
CD deeplearning
git clone https://github.com/Microsoft/samples-for-ai/
It then clones the AI library locally.
My Python version is 3.7, the installation failed, and in the comments below the original blog the need to install version 3.5 or 3.6 python. 3.7 is a new test of Python and may not be compatible with the framework. 3.5 or 3.6 is certainly the case.
python3.6.5 under the official website, the next few hours have not down, always broken. I played games for a few hours. Come back for a meal and try it again. I'll be right down. If it hadn't been installed, I would have looked for the mirror in the country.
Then double-clicking on the installation is normal.
When it's loaded, get in.
Samples-for-ai/installer
Directory
Python3 install.py.
Because the Mac comes with Python2, use Python3 to specify that you use Python3 to interpret the execution of the Python code. The prompt has several libraries not installed, the installation is successful.
Even if it's a good fit.
Is the minst example under TensorFlow. What library is missing, Vscode will use pip command to download it.
Do the experiment to be continued.
VS Code MacOS Environment Setup