Page 1 of 1

conda images, some questions.

Posted: Tue Mar 29, 2022 5:15 pm
by onekk
Hello, I have some question about conda package.

i have used the fcenv-dev miniconda package and I'm perfectly satisfied, but I've noted that when I make a periodic update many packages could be "downgraded".

What is the correct way to update the fcenv-dev miniconda environment.

I use:

Code: Select all

conda update -n fcenv-dev freecad
TIA for any advice and explanation.

feel free to ask about my configuration, but be patient as I'm rather new to miniconda.

Regards

Carlo D.

Re: conda images, some questions.

Posted: Mon May 09, 2022 10:39 am
by Kunda1
looo wrote: pinged by pinger macro

Re: conda images, some questions.

Posted: Mon May 09, 2022 11:01 am
by looo
If a lot of packages are downgraded, maybe your channel settings have changed. I didn't see anything like this happening for me for a long time.

If you have added the channels to the config, the FreeCAD/label/dev channel should appear on top of the conda-forge channel. If you haven't got the freecad/label/dev channel in your config you can add it via:

Code: Select all

conda config --add channels freecad/label/dev
to check your channels you can use (iicrc)

Code: Select all

conda config --show channels
this should result in

Code: Select all

channels:
  - freecad/label/dev
  - conda-forge
or similar.

to update all I use:

Code: Select all

conda activate fcenv-dev
conda update --all
You can also add the channel in the update command like

Code: Select all

conda activate fcenv-dev
conda update --all -c freecad/label/dev
if you do not have them in the config.