search
HomeDevelopment ToolsVSCodeDoes anaconda need vscode?

Does anaconda need vscode?

Jan 13, 2020 am 09:08 AM
vscode

Does anaconda need vscode?

Does anaconda need vscode?

Anaconda is a very easy-to-use open source python distribution. It comes with a bunch of commonly used python libraries. It has Windows, MacOS, and Linux versions. It 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 syntax highlighting for almost all mainstream development languages. , intelligent code completion, custom hotkeys, bracket matching, code snippets, code comparison Diff, GIT and other features, supports plug-in extensions, and is optimized for web development and cloud application development. The software supports Win, Mac and Linux across platforms.

https://code.visualstudio.com/

Recommended tutorial: vscode tutorial

I use all Windows versions, Win10 operating system

1. Install Anaconda

Download the installation package, install it to the specified path (preferably not C drive), click next and the installation is complete.

You will be prompted to install it halfway. VS Code, just install it.

After installation, run cmd: conda --version to see if it is installed.

Run conda activate again to enter the anaconda environment

Does anaconda need vscode?

conda activate is equivalent to clicking the Anaconda Prompt shortcut directly

2. Create Anaconda's Python subenvironment

Anaconda's Python subenvironment is all in the installation path anaconda3\envs,

First enter conda create -n test python=3.6.6 to create a 3.6.6 python subenvironment

Does anaconda need vscode?

Enter y and it will be ok.

Similarly, you can create python2.7, python3.7, various sub-environments for you to play with, and you can install various packages through conda or pip.

3. Anaconda’s Python subenvironment switching

After creation, you can activate the subenvironment through activate test,

and then exit the subenvironment through deactivate

Does anaconda need vscode?

4. VSCode python path specification

Open VSCode and see if there are these plug-ins:

Does anaconda need vscode?

Then in File---->Preferences---->Settings,

select Extensions----->Python Configuration, as shown in the figure:

Does anaconda need vscode?

Then click Edit in settings.json

Change the original python path to the subenvironment python path you need.

"python.pythonPath": "D:\\Anaconda3\\envs\\test\\python.exe"

The above is the detailed content of Does anaconda need vscode?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Visual Studio and VS Code: Understanding Their Key DifferencesVisual Studio and VS Code: Understanding Their Key DifferencesApr 19, 2025 am 12:16 AM

VisualStudio is suitable for large-scale projects and enterprise-level application development, while VSCode is suitable for rapid development and multilingual support. 1. VisualStudio provides a comprehensive IDE environment and supports Microsoft technology stack. 2.VSCode is a lightweight editor that emphasizes flexibility and scalability, and supports cross-platform.

Is Visual Studio Still Free? Understanding the AvailabilityIs Visual Studio Still Free? Understanding the AvailabilityApr 18, 2025 am 12:05 AM

Yes, some versions of VisualStudio are free. Specifically, VisualStudioCommunityEdition is free for individual developers, open source projects, academic research, and small organizations. However, there are also paid versions such as VisualStudioProfessional and Enterprise, suitable for large teams and enterprises, providing additional features.

Using Visual Studio: Developing Software Across PlatformsUsing Visual Studio: Developing Software Across PlatformsApr 17, 2025 am 12:13 AM

Cross-platform development with VisualStudio is feasible, and by supporting frameworks like .NETCore and Xamarin, developers can write code at once and run on multiple operating systems. 1) Create .NETCore projects and use their cross-platform capabilities, 2) Use Xamarin for mobile application development, 3) Use asynchronous programming and code reuse to optimize performance to ensure efficient operation and maintainability of applications.

How to format json with vscodeHow to format json with vscodeApr 16, 2025 am 07:54 AM

The ways to format JSON in VS Code are: 1. Use shortcut keys (Windows/Linux: Ctrl Shift I; macOS: Cmd Shift I); 2. Go through the menu ("Edit" > "Format Document"); 3. Install JSON formatter extensions (such as Prettier); 4. Format manually (use shortcut keys to indent/extract blocks or add braces and semicolons); 5. Use external tools (such as JSONLint and JSON Formatter).

How to compile vscodeHow to compile vscodeApr 16, 2025 am 07:51 AM

Compiling code in VSCode is divided into 5 steps: Install the C extension; create the "main.cpp" file in the project folder; configure the compiler (such as MinGW); compile the code with the shortcut key ("Ctrl Shift B") or the "Build" button; run the compiled program with the shortcut key ("F5") or the "Run" button.

How to install vscodeHow to install vscodeApr 16, 2025 am 07:48 AM

To install Visual Studio Code, please follow the following steps: Visit the official website https://code.visualstudio.com/; download the installer according to the operating system; run the installer; accept the license agreement and select the installation path; VSCode will start automatically after the installation is completed.

How to enlarge fonts with vscodeHow to enlarge fonts with vscodeApr 16, 2025 am 07:45 AM

The methods to enlarge fonts in Visual Studio Code are: open the settings panel (Ctrl, or Cmd,). Search and adjust "Font Size". Choose "Font Family" with the right size. Install or select a theme that provides the right size. Use keyboard shortcuts (Ctrl or Cmd) to enlarge the font.

How to connect to a remote server with vscodeHow to connect to a remote server with vscodeApr 16, 2025 am 07:42 AM

How to connect to a remote server through VSCode? Install Remote - SSH Extended Configuration SSH Create a Connection in VSCode Enter connection information: Host, Username, Port, SSH Key Double-click the saved connection in Remote Explorer

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment