hallo Community,
Wie haltet Ihr VSCode auf dem neuesten Stand - auf einem Linux-Notebook - und zwar in einer Anaconda Umgebung?
Also auf einer - mittlerweile schon vor ein paar Monaten installierten Anaconda sind die Entwiklungstools wie
- Spyder (Version 4.0.0 )
- VSCode (Version 1.52.0 )
etc. etx.
bereits etwas veraltet,. Wie haltet ihr denn diese Systeme auf dem Laufenden!? -
a. über die VSCode-interne (Bordmittel)-Funktion!?
- oder ggf. über Conda!?
im Sinne von -
ich instaliere conda und versuche das dann über - die Kommandos:
conda install etc. etx
vgl: https://docs.anaconda.com/anac…e/tasks/install-packages/
conda install package-name=2.3.4 -n some-environment
If the package is specific to a Python version, conda uses the version installed in the current or named environment. For details on versions, dependencies and channels, see Conda FAQ and Conda Troubleshooting.
Installing packages on a non-networked (air-gapped) computer
To directly install a conda package from your local computer, run:
conda install /package-path/package-filename.tar.bz2
....und weil Anaconda ja "channeled" ist geht das dann etwa so:
uninstalled Spyder and then install with the line:
conda install spyder
Quoteand 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.
vgl. https://stackoverflow.com/ques…-latest-version-of-spyder
ich denke dass die letzte Version wohl am weitesten führt. So müsste das gehen - wegen der sogenannten channeled Anaconda-Services
update: bei einer Suche habe ich noch ein paar mögliche Antworten zum Thema gefunden - hier: https://stackoverflow.com/ques…/how-do-i-update-anaconda
QuoteDisplay MoreWhy updating the Anaconda package is almost always a bad idea
In most cases updating the Anaconda package in the package list will have a surprising result: you may actually downgrade many packages (in fact, this is likely if it indicates the version as custom). The gist above provides details.
Leverage conda environments
Your base environment is probably not a good place to try and manage an exact set of packages: it is going to be a dynamic working space with new packages installed and packages randomly updated. If you need an exact set of packages then create a conda environment to hold them. Thanks to the conda package cache and the way file linking is used doing this is typically i) fast and ii) consumes very little additional disk space. E.g
conda documentation: https://conda.io/docs/using/envs.html
pip, PyPI, and setuptools?
None of this is going to help with updating packages that have been installed from PyPI via pip or any packages installed using python setup.py install. conda list will give you some hints about the pip-based Python packages you have in an environment, but it won't do anything special to update them.
Commercial use of Anaconda or Anaconda Enterprise
It is pretty much exactly the same story, with the exception that you may not be able to update the base environment if it was installed by someone else (say to /opt/anaconda/latest). If you're not able to update the environments you are using you should be able to clone and then update:
To update your installed version to the latest version, say 2019.07, run:
and besides this:
mehr hier: https://stackoverflow.com/ques…/how-do-i-update-anaconda
Ich wede mal sehen wie weit ich mit Conda und dem Conda-Ansatz komme und die Anaconda-Channels ausprobieren - inwieweit ich hier weiterkomme. VG
update: zumindest bei Spyder ist es das Channeling-Thema von Anaconda, das auslöst dass auch nicht mit einfachen Conda - Kommandos von 4.0.1 auf die längst veröffentlichte Version 5.0.0 hochgezogen wird.
vgl. Why is Conda not installing/updating the latest version of Spyder?
https://stackoverflow.com/ques…-latest-version-of-spyder
QuoteDisplay MoreBut 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.
vgl. https://stackoverflow.com/ques…-latest-version-of-spyder