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: 2820
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.
My English and Italian Scripting Guide https://github.com/onekk/freecad-doc.
My Blog: https://onekk-maker.blogspot.com/

To help development see on GitHub Page

For enquiry about customized FC Scripting job PM me.
User avatar
Kunda1
Veteran
Posts: 12743
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:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
looo
Veteran
Posts: 3829
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