In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces whether anaconda needs vscode, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Vscode is required for anaconda
Anaconda is a very easy to use open source python distribution, comes with a bunch of common python libraries, has the Windows,MacOS,Linux version, and is a great tool for managing python.
Https://www.anaconda.com/download/
VSCode is a free and open source modern lightweight code editor that supports almost all mainstream development languages such as syntax highlighting, intelligent code completion, custom hotkeys, parenthesis matching, code snippets, code comparison Diff, GIT and other features, supports plug-in extensions, and optimizes web development and cloud application development. The software supports Win, Mac and Linux across platforms.
Https://code.visualstudio.com/
I use the Windows version, the Win10 operating system
1. Install Anaconda
Download the installation package, install it to the specified path (preferably not disk C), and click next to install it.
You will be prompted to install VS Code on the way, just install it.
Run cmd:conda-- version after installation to see if it is installed
Run conda activate again and enter the anaconda environment
Conda activate is equivalent to direct point Anaconda Prompt shortcut
2. Create the Python subenvironment of Anaconda
The Python subenvironments of Anaconda are all in the installation path anaconda3\ envs
First type conda create-n test python=3.6.6 to create a 3.6.6 python subenvironment
Enter y and you will ok.
Similarly, you can create python2.7,python3.7, you can play with various seed environments, and you can install various packages through conda or pip.
3. Python subenvironment switching of Anaconda
Once created, you can activate the subenvironment through activate test
Then exit the subenvironment through deactivate
4. VSCode python path assignment
Open VSCode and see if there are these plug-ins:
Then in File---- > Preferences---- > Settings
Select Extensions- > Python Configuration, as shown below:
Then click Edit in settings.json.
Just change the original python path to the python path of the subenvironment you need.
"python.pythonPath": "D:\\ Anaconda3\ envs\\ test\\ python.exe"
Thank you for reading this article carefully. I hope the article "whether anaconda needs vscode" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.