conda images, some questions.

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
Post Reply
User avatar
onekk
Veteran
Posts: 6095
Joined: Sat Jan 17, 2015 7:48 am
Contact:

conda images, some questions.

Post 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.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: conda images, some questions.

Post by Kunda1 »

looo wrote: pinged by pinger macro
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: conda images, some questions.

Post 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.
Post Reply