VS Code MacOS Environment Setup

Source: Internet
Author: User
Tags git clone

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.