简体   繁体   中英

Unable to install VS Code in Anaconda

I just downloaded Anaconda and I would like to install VS Code from the Navigator.

I clicked on Install , and then I have the loading wheel for few seconds, and then nothing. The Install button turns green again, instead of changing to Launch :

before: 在此处输入图片说明

during: 在此处输入图片说明

After: 在此处输入图片说明

There is no error messages to explain me what is the problem.

I'm working on Windows 10 64 bits.

How can I install VS Code from Anaconda ? Thanks

  1. Ensure you have installed VS Code externally.
  2. Open VS Code, click "Extensions" on left-side of the panel.
  3. Ensure "Anaconda Extension Pack" is installed, if not, install it first.
  4. After finished installing "Anaconda Extension Pack", close VS Code.
  5. Open Anaconda Navigator using Administrator rights.
  6. VS Code should be in Home, under Applications on "base (root)". If not, click "Refresh" button on right-hand side.

I had the same problem. It only worked appropriately when I used install for all users and kept the default location. Neither a custom location with no spaces nor an installation on a default location on current user only worked. I would suggest you try that, Install for all users on the default location (C:\\ProgramData\\Anaconda3)

I found I didn't have to "install for all users" as GeorgeRob suggests above, I only had to first install VS Code (which is a separate source-code editor from Microsoft that's absolutely free), then install the "Extension for Anaconda" found within VS Code (you can find and select it from the Extensions menu which can be found on the far left side of the Welcome Page and symbolized by an icon composed of four squares with one detached), and THEN AND ONLY THEN install Anaconda. The missing tile finally appeared after those two preparatory steps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM