FreeCAD-Bundle icon indicating copy to clipboard operation
FreeCAD-Bundle copied to clipboard

FreeCAD conda install not compatible with ifcopenshell 0.8.0

Open smr02 opened this issue 5 months ago • 2 comments

I'm trying to install a current version of IfcOpenShell together with FreeCAD in a conda environment. The latest compatible version seems to be ifcopenshell==v0.7.0.231127=py311_all_h8f4786a_202. The latest version is 0.8.0

Here is my .yml file:


name: test_env
channels: 
  - freecad/label/dev
  - conda-forge
  - defaults
dependencies:
  - freecad/label/dev::freecad
  - ifcopenshell==0.8.0
conda env create -f test_env.yml --dry-run
Channels:
 - freecad/label/dev
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package freecad-1.0rc1-py311h5536ab1_0 requires vtk-base >=9.2.6,<9.2.7.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ freecad is installable with the potential options
│  ├─ freecad [1.0rc1|1.0rc2|1.1dev] would require
│  │  ├─ coin3d >=4.0.3,<4.1.0a0 , which requires
│  │  │  └─ libexpat >=2.6.3,<3.0a0 , which can be installed;
│  │  └─ vtk-base >=9.2.6,<9.2.7.0a0  with the potential options
│  │     ├─ vtk-base 9.2.6 would require
│  │     │  └─ libzlib >=1.2.13,<1.3.0a0 , which can be installed;
│  │     └─ vtk-base 9.2.6 would require
│  │        └─ libexpat [<2.6 |>=2.5.0,<2.6.0a0 ], which conflicts with any installable versions previously reported;
│  └─ freecad 1.1dev would require
│     ├─ coin3d >=4.0.3,<4.1.0a0 , which can be installed (as previously explained);
│     ├─ libboost >=1.82.0,<1.83.0a0  with the potential options
│     │  ├─ libboost 1.82.0 would require
│     │  │  └─ icu >=72.1,<73.0a0 , which can be installed;
│     │  └─ libboost 1.82.0, which can be installed;
│     ├─ qt-main >=5.15.13,<5.16.0a0 , which requires
│     │  └─ icu >=73.2,<74.0a0 , which conflicts with any installable versions previously reported;
│     └─ vtk-base >=9.2.6,<9.2.7.0a0  with the potential options
│        ├─ vtk-base 9.2.6, which can be installed (as previously explained);
│        └─ vtk-base 9.2.6, which cannot be installed (as previously explained);
└─ ifcopenshell 0.8.0  is not installable because there are no viable options
   ├─ ifcopenshell 0.8.0 would require
   │  └─ libzlib >=1.3.1,<2.0a0 , which conflicts with any installable versions previously reported;
   ├─ ifcopenshell 0.8.0 would require
   │  ├─ libboost >=1.86.0,<1.87.0a0  with the potential options
   │  │  ├─ libboost 1.86.0 would require
   │  │  │  └─ icu >=75.1,<76.0a0 , which can be installed;
   │  │  └─ libboost 1.86.0 conflicts with any installable versions previously reported;
   │  └─ libzlib >=1.3.1,<2.0a0 , which conflicts with any installable versions previously reported;
   └─ ifcopenshell 0.8.0 would require
      └─ python >=3.13.0rc2,<3.14.0a0 , which requires
         └─ _python_rc, which does not exist (perhaps a missing channel).

smr02 avatar Oct 03 '24 10:10 smr02