FreeCAD Conda Distribution

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: FreeCAD Conda Distribution

Post by Syres »

onekk wrote: Fri Feb 25, 2022 11:09 am
In other word it wnat to substitute FC development with FC stable.

How to avoid this?
I only use Conda very occasionally but you appear to have the channels in the wrong priority order for what you want to achieve so have a search for Conda channel priority change or something along those lines.
User avatar
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: FreeCAD Conda Distribution

Post by onekk »

looo wrote: Fri Feb 25, 2022 2:38 pm can you show the output of:

Code: Select all

conda config --show channels

Code: Select all

 conda config --show channels
channels:
  - conda-forge
  - defaults
TIA and 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
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: FreeCAD Conda Distribution

Post by onekk »

Two questions:

1) is conda "fcenv-dev" updated to the new 1.0 version ? This is the result of today try to update my installation, I'm doing something wrong?
conda update -n fcenv-dev freecad
Collecting package metadata (current_repodata.json): done
Solving environment: done

# All requested packages already installed.
2) could be https://wiki.freecadweb.org/Conda extended with some instructions to periodically update "conda installation" ?

Sorry for the nuisance but I think having used it for some time that at least in Linux conda install is way better than AppImage, a part from the disk space usage it has the advantage of having directly available source for inspection and testing (python code mods).

Thanks for the hard work on mataining also a "conda install"

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
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: FreeCAD Conda Distribution

Post by adrianinsaval »

onekk wrote: Wed Jun 15, 2022 2:21 pm Sorry for the nuisance but I think having used it for some time that at least in Linux conda install is way better than AppImage, a part from the disk space usage it has the advantage of having directly available source for inspection and testing (python code mods).

Thanks for the hard work on mataining also a "conda install"
I think the appimage is a byproduct of the conda release rather than the other way around ;)
I can't really help you much with conda since I don't use it but what version do you have installed? Perhaps it is indeed the latest, if it's anything near or above 29177 it's pretty new, note that the 0.20 release is not even fully done yet and AFAIK master still hasn't been updated to report 1.0 version so it's normal if you still get it as 0.20 despite being newer than the actual 0.20 release.
User avatar
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: FreeCAD Conda Distribution

Post by onekk »

no problems it was only as information.
I can't check version now, but it is for sure the latest.

Probably tomorrow I will check version and post here.

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
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: FreeCAD Conda Distribution

Post by onekk »

sgrogan wrote:
looo wrote:
No news about 0.21 dev in conda fcenv-dev distribution?

TIA and 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
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: FreeCAD Conda Distribution

Post by looo »

User avatar
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: FreeCAD Conda Distribution

Post by onekk »

looo wrote: Wed Jun 22, 2022 12:14 pm here it is:
https://github.com/looooo/freecad-feeds ... c4d1446359
Thanks but how to update?

I issue:

Code: Select all

conda update -n fcenv-dev freecad
on the command line but freecad executable is always at 0.20

Code: Select all

conda info

     active environment : None
            shell level : 0
       user config file : /home/carlo-arch/.condarc
 populated config files : /home/carlo-arch/.condarc
          conda version : 4.13.0
    conda-build version : not installed
         python version : 3.9.7.final.0
       virtual packages : __linux=5.18.5=0
                          __glibc=2.35=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/carlo-arch/miniconda3  (writable)
      conda av data dir : /home/carlo-arch/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/freecad/label/dev/linux-64
                          https://conda.anaconda.org/freecad/label/dev/noarch
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/carlo-arch/miniconda3/pkgs
                          /home/carlo-arch/.conda/pkgs
       envs directories : /home/carlo-arch/miniconda3/envs
                          /home/carlo-arch/.conda/envs
               platform : linux-64
             user-agent : conda/4.13.0 requests/2.27.1 CPython/3.9.7 Linux/5.18.5-artix1-1 artix/ glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False




my channels are:

Code: Select all

conda config --show channels
channels:
  - freecad/label/dev
  - conda-forge
  - defaults

What I'm doing wrong?

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
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: FreeCAD Conda Distribution

Post by adrianinsaval »

patience young padawan, the commit was 1h ago, the build is likely not finished yet
see: https://dev.azure.com/sppedflyer/feedst ... ew=results
User avatar
onekk
Veteran
Posts: 6149
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: FreeCAD Conda Distribution

Post by onekk »

adrianinsaval wrote: Wed Jun 22, 2022 1:21 pm patience young padawan ...
:D

Sorry I haven't noted the time of the commit!

Will be 0.20 downloadable as stable? so:

Code: Select all

conda create --name fcenv --channel conda-forge freecad
Will install 0.20 ?

TIA and 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/
Post Reply