Python Forum
how to keep VSCode up to date in a Anaconda-environment?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to keep VSCode up to date in a Anaconda-environment?
#1
dear Python-enthusiasts, dear pythonists, dear community,


today - no coding question. Today no question regarding python itself.

the question i have today is: How to update VSCode in Anaconda

i am running Anaconda on a Windows box - i use Spyder and Jupyter-Notebooks. But i also want to use VScode too. All of the editors (Spyder and VSCode) are outdated.

besides this: New version of VSCode was released, so I want to update it on my instance of Anaconda. I can try doing it from integrated terminal from VSCode itself, but I am not sure that it is a correct way. can i do this this way?


i heard that we can update any and all Python packages via Conda: Can i do this with VSCode /( and besides with Spyder [which is running in Version 4xy]) too!?

How to get a fresh / new install of VSCode -/with a fresh configuration?

btw: i had a view on the official docs here: code.visualstudio.com/docs/python/debugging.
In brief, i tried the 'Add Configuration' Button. But i guess i have a screwd up installation &/ configuration.


Well - i do not think that i can go this way - and use the inherent function of VSCode itself - to run a update _- see the following picture:

[Image: 2zjTn.png]



well i have heard that we can use and apply the conda-way - that means : install conda and run conda update vscode or so!?


do i need these steps too!?

- How to activate conda environment in VS code
https://medium.com/@udiyosovzon/how-to-a...599497f20d

- Efficient Way to Activate Conda in VSCode
https://medium.com/analytics-vidhya/effi...21c4c231f2



update: - i did some further investigations and search - see below:

Why is Conda not installing/updating the latest version of Spyder?
https://stackoverflow.com/questions/6741...-of-spyder

Quote:But those bug reports and "solutions" were made one year ago. Spyder is on later versions now.
Why is conda still installing Spyder version 4.0.1, with all the issues, one year after 4.0.1 is known to be problematic? Why does it not update correctly to any later version? The latest version is supposed to be 5.0.0, with even 4.2.* rolled out before that.


The problem is with the Anaconda channel.

I uninstalled Spyder and then install with the line:

conda install spyder
and Spyder 5.0.0 was successfully installed.

Anaconda's Spyder page (https://anaconda.org/anaconda/spyder) gave the command as:

conda install -c anaconda spyder
which led to the installation of Spyder 4.0.1, instead of 5.0.0 which was what it was supposed to install as documented on the page itself.

note; its evident - that the Anaconda channeling - feature does stand in the way for a easy upgrade of spyder - on a sidenote: so i guess that we have the same behavior in VScode and the upgrad of VSCode.. Smile
Wordpress - super toolkits a. http://wpgear.org/ :: und b. https://github.com/miziomon/awesome-wordpress :: Awesome WordPress: A curated list of amazingly awesome WordPress resources and awesome python things https://github.com/vinta/awesome-python
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to keep anaconda up to date? apollo 1 2,215 May-09-2021, 09:45 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020