Ubuntu 22.04 LTS (AMD x86_64) running on WSL2 in Windows 11
Miniforge python environment for multi-app integration and automation.
FreeCAD-rt from the "realthunder" channel on the conda-forge (python) repository.
SUMMARY:
Using older versions of "freecad-rt" does not solve problems but causes more of them. In the end, on the conda/mamba python platform, we required 3 changes to be made for "freecad-rt":
1) Need "freecad-rt" to be compatible with "VTK>=9.2.6" in order to prevent conflicts with all other conda apps (old internal "JPEG" dependency conflicts with modern "libjpeg" library used as dependency in most newer apps on conda)
2) Also need to improve "smesh-rt", a dependency of "freecad-rt", to be compatible with "3.11.0 <= python < <3.12" and "1.78.0 <= boost-cpp <= 1.84.0" to prevent issues in the very near future
3) Also good to improve "freecad-rt" to be compatible with "1.12.2 <= hdf5 <= 1.14.3" to prevent issues in the near future
Subproject(s) affected?
Core
Problem description
Create a new Ubuntu 22.04 LTS environment of Windows WSL2 and install the latest release (23.11.0 or older 23.3.1-1) of miniforge (which is now equivalent to mambaforge). Activate the freshly installed base conda environment and add the realthunder channel to attempt to install FreeCad-rt with minimal existing packages that could conflict. There is no possible way to install this because FreeCad-rt is way too restrictive with the versions of its dependencies and dependencies of dependencies. Please recompile/refactor FreeCad-rt on the realthunder channel of anaconda.org for the modern age. Here is the console error output I get:
(base) me@LabHPC:~$ conda install freecad-rt
Channels:
- realthunder
- conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: \ warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package freecad-rt-20230521tip-py311h2bc3f7f_2 requires python >=3.11,<3.12.0a0, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ freecad-rt is installable and it requires
│ └─ python >=3.11,<3.12.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
└─ python 3.10.* , which conflicts with any installable versions previously reported.
Pins seem to be involved in the conflict. Currently pinned specs:
- python 3.10.* (labeled as 'pin-1')
(base) me@LabHPC:~$ conda install freecad-rt python=3.11
Channels:
- realthunder
- conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package mamba-1.5.5-py310h51d5547_0 requires python_abi 3.10.* *_cp310, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ freecad-rt is installable with the potential options
│ ├─ freecad-rt 20230521tip would require
│ │ ├─ gmsh with the potential options
│ │ │ ├─ gmsh [3.0.6|4.1.5|4.2.1|4.2.2|4.4.1] would require
│ │ │ │ └─ occt >=7.3.0,<7.4.0a0 , which can be installed;
│ │ │ ├─ gmsh [4.10.0|4.10.1|...|4.9.5] would require
│ │ │ │ └─ occt [>=7.6.1,<7.7.0a0 |>=7.6.2,<7.7.0a0 |>=7.6.3,<7.7.0a0 ] with the potential options
│ │ │ │ ├─ occt 7.6.3, which can be installed;
│ │ │ │ └─ occt [7.5.3|7.6.0|7.6.1|7.6.2|7.6.3] would require
│ │ │ │ └─ vtk >=9.1.0,<9.1.1.0a0 with the potential options
│ │ │ │ ├─ vtk [9.0.1|9.0.3|9.1.0] would require
│ │ │ │ │ └─ python_abi 3.10.* *_cp310, which can be installed;
│ │ │ │ ├─ vtk [8.2.0|9.0.1|9.0.3|9.1.0] would require
│ │ │ │ │ └─ python_abi 3.7.* *_cp37m, which can be installed;
│ │ │ │ ├─ vtk [8.2.0|9.0.1|9.0.3|9.1.0] would require
│ │ │ │ │ └─ python_abi 3.8.* *_cp38, which can be installed;
│ │ │ │ └─ vtk [9.0.1|9.0.3|9.1.0] would require
│ │ │ │ └─ python_abi 3.9.* *_cp39, which can be installed;
│ │ │ ├─ gmsh [4.4.1|4.5.2|4.5.3|4.5.6|4.6.0] would require
│ │ │ │ └─ occt >=7.4.0,<7.5.0a0 with the potential options
│ │ │ │ ├─ occt [7.4.0|7.5.1|7.5.2|7.5.3|7.6.0] would require
│ │ │ │ │ └─ vtk [>=9.0.1,<9.0.2.0a0 |>=9.0.3,<9.0.4.0a0 ] with the potential options
│ │ │ │ │ ├─ vtk [9.0.1|9.0.3|9.1.0], which can be installed (as previously explained);
│ │ │ │ │ ├─ vtk [8.2.0|9.0.1|9.0.3|9.1.0], which can be installed (as previously explained);
│ │ │ │ │ ├─ vtk [8.2.0|9.0.1|9.0.3|9.1.0], which can be installed (as previously explained);
│ │ │ │ │ ├─ vtk [9.0.1|9.0.3|9.1.0], which can be installed (as previously explained);
│ │ │ │ │ └─ vtk [8.2.0|9.0.1|9.0.3] would require
│ │ │ │ │ └─ python_abi 3.6.* *_cp36m, which can be installed;
│ │ │ │ ├─ occt 7.4.0, which can be installed;
│ │ │ │ └─ occt 7.4.0 would require
│ │ │ │ └─ vtk >=8.2.0,<8.2.1.0a0 with the potential options
│ │ │ │ ├─ vtk [8.2.0|9.0.1|9.0.3|9.1.0], which can be installed (as previously explained);
│ │ │ │ ├─ vtk [8.2.0|9.0.1|9.0.3|9.1.0], which can be installed (as previously explained);
│ │ │ │ ├─ vtk [8.2.0|9.0.1|9.0.3], which can be installed (as previously explained);
│ │ │ │ ├─ vtk 8.2.0 would require
│ │ │ │ │ └─ python_abi 2.7.* *_cp27mu, which can be installed;
│ │ │ │ ├─ vtk 8.2.0 would require
│ │ │ │ │ └─ python >=2.7,<2.8.0a0 , which can be installed;
│ │ │ │ ├─ vtk 8.2.0 would require
│ │ │ │ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ │ │ │ ├─ vtk 8.2.0 would require
│ │ │ │ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ │ │ │ └─ vtk 8.2.0 would require
│ │ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ │ ├─ gmsh [4.6.0|4.8.4|4.9.3] would require
│ │ │ │ └─ occt [>=7.5.1,<7.6.0a0 |>=7.5.3,<7.6.0a0 ], which can be installed (as previously explained);
│ │ │ ├─ gmsh [4.9.3|4.9.4] would require
│ │ │ │ └─ occt >=7.6.0,<7.7.0a0 with the potential options
│ │ │ │ ├─ occt [7.4.0|7.5.1|7.5.2|7.5.3|7.6.0], which can be installed (as previously explained);
│ │ │ │ ├─ occt 7.6.3, which can be installed;
│ │ │ │ └─ occt [7.5.3|7.6.0|7.6.1|7.6.2|7.6.3], which can be installed (as previously explained);
│ │ │ ├─ gmsh [4.11.0|4.11.1] would require
│ │ │ │ └─ jpeg >=9e,<10a , which can be installed;
│ │ │ ├─ gmsh [4.11.1|4.12.0|4.12.2] would require
│ │ │ │ └─ occt >=7.7.2,<7.8.0a0 , which can be installed;
│ │ │ └─ gmsh 4.11.1 would require
│ │ │ ├─ fltk >=1.3.8,<1.4.0a0 with the potential options
│ │ │ │ ├─ fltk [1.3.8|1.3.9] would require
│ │ │ │ │ └─ libjpeg-turbo [>=2.1.5.1,<3.0a0 |>=3.0.0,<4.0a0 ] but there are no viable options
│ │ │ │ │ ├─ libjpeg-turbo 2.1.5.1 would require
│ │ │ │ │ │ └─ jpeg <0.0.0a , which conflicts with any installable versions previously reported;
│ │ │ │ │ └─ libjpeg-turbo 3.0.0 would require
│ │ │ │ │ └─ jpeg <0.0.0a , which conflicts with any installable versions previously reported;
│ │ │ │ ├─ fltk 1.3.8 would require
│ │ │ │ │ └─ libxcb >=1.13,<1.14.0a0 , which can be installed;
│ │ │ │ └─ fltk 1.3.8 would require
│ │ │ │ └─ libxcb >=1.16,<1.17.0a0 , which can be installed;
│ │ │ └─ jpeg >=9e,<10a , which can be installed;
│ │ ├─ occt >=7.7.1,<7.7.2.0a0 , which conflicts with any installable versions previously reported;
│ │ ├─ pivy-rt with the potential options
│ │ │ ├─ pivy-rt [0.6.7|0.6.8] would require
│ │ │ │ └─ python_abi 3.10.* *_cp310, which can be installed;
│ │ │ └─ pivy-rt 0.6.8 would require
│ │ │ └─ soqt-rt, which requires
│ │ │ └─ qt-main >=5.15.8,<5.16.0a0 with the potential options
│ │ │ ├─ qt-main 5.15.8 would require
│ │ │ │ ├─ icu >=72.1,<73.0a0 , which can be installed;
│ │ │ │ └─ libpq >=15.3,<16.0a0 with the potential options
│ │ │ │ ├─ libpq 15.3 would require
│ │ │ │ │ └─ openssl >=3.1.0,<3.2.0a0 , which can be installed;
│ │ │ │ ├─ libpq 15.3 would require
│ │ │ │ │ └─ openssl >=3.1.1,<3.2.0a0 , which can be installed;
│ │ │ │ ├─ libpq 15.4 would require
│ │ │ │ │ └─ openssl >=3.2.0,<3.2.0a0 , which does not exist (perhaps a missing channel);
│ │ │ │ ├─ libpq [15.4|15.5] would require
│ │ │ │ │ └─ libxml2 [>=2.12.3,<3.0.0a0 |>=2.12.4,<3.0a0 ], which requires
│ │ │ │ │ └─ icu >=73.2,<74.0a0 , which conflicts with any installable versions previously reported;
│ │ │ │ ├─ libpq 15.4 would require
│ │ │ │ │ └─ openssl >=3.1.2,<3.2.0a0 , which can be installed;
│ │ │ │ └─ libpq 15.4 would require
│ │ │ │ └─ openssl >=3.1.3,<3.2.0a0 , which can be installed;
│ │ │ ├─ qt-main 5.15.8 would require
│ │ │ │ ├─ icu >=73.2,<74.0a0 , which conflicts with any installable versions previously reported;
│ │ │ │ └─ libjpeg-turbo >=3.0.0,<4.0a0 , which cannot be installed (as previously explained);
│ │ │ ├─ qt-main 5.15.8 would require
│ │ │ │ ├─ icu >=72.1,<73.0a0 , which can be installed;
│ │ │ │ └─ libpq >=15.2,<16.0a0 with the potential options
│ │ │ │ ├─ libpq 15.2 would require
│ │ │ │ │ └─ openssl >=3.0.8,<3.2.0a0 , which can be installed;
│ │ │ │ ├─ libpq 15.3, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.3, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.4, which cannot be installed (as previously explained);
│ │ │ │ ├─ libpq [15.4|15.5], which cannot be installed (as previously explained);
│ │ │ │ ├─ libpq 15.4, which can be installed (as previously explained);
│ │ │ │ └─ libpq 15.4, which can be installed (as previously explained);
│ │ │ ├─ qt-main 5.15.8 would require
│ │ │ │ ├─ icu >=70.1,<71.0a0 , which conflicts with any installable versions previously reported;
│ │ │ │ └─ libpq >=15.1,<16.0a0 with the potential options
│ │ │ │ ├─ libpq 15.1 would require
│ │ │ │ │ └─ openssl >=1.1.1s,<1.1.2a , which can be installed;
│ │ │ │ ├─ libpq 15.1 would require
│ │ │ │ │ └─ openssl >=3.0.7,<3.2.0a0 , which can be installed;
│ │ │ │ ├─ libpq 15.2, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.3, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.3, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.4, which cannot be installed (as previously explained);
│ │ │ │ ├─ libpq [15.4|15.5], which cannot be installed (as previously explained);
│ │ │ │ ├─ libpq 15.4, which can be installed (as previously explained);
│ │ │ │ └─ libpq 15.4, which can be installed (as previously explained);
│ │ │ ├─ qt-main 5.15.8 would require
│ │ │ │ ├─ icu >=70.1,<71.0a0 , which conflicts with any installable versions previously reported;
│ │ │ │ └─ libpq >=15.2,<16.0a0 with the potential options
│ │ │ │ ├─ libpq 15.2, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.3, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.3, which can be installed (as previously explained);
│ │ │ │ ├─ libpq 15.4, which cannot be installed (as previously explained);
│ │ │ │ ├─ libpq [15.4|15.5], which cannot be installed (as previously explained);
│ │ │ │ ├─ libpq 15.4, which can be installed (as previously explained);
│ │ │ │ └─ libpq 15.4, which can be installed (as previously explained);
│ │ │ └─ qt-main 5.15.8 would require
│ │ │ ├─ alsa-lib >=1.2.10,<1.2.11.0a0 , which can be installed;
│ │ │ ├─ icu >=73.2,<74.0a0 , which conflicts with any installable versions previously reported;
│ │ │ ├─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which cannot be installed (as previously explained);
│ │ │ └─ libxcb >=1.15,<1.16.0a0 , which conflicts with any installable versions previously reported;
│ │ └─ qt-webengine >=5.15.8,<5.16.0a0 with the potential options
│ │ ├─ qt-webengine 5.15.8 would require
│ │ │ └─ libjpeg-turbo [>=2.1.5.1,<3.0a0 |>=3.0.0,<4.0a0 ], which cannot be installed (as previously explained);
│ │ ├─ qt-webengine 5.15.8 would require
│ │ │ └─ libxcb >=1.13,<1.14.0a0 , which can be installed;
│ │ ├─ qt-webengine 5.15.8 would require
│ │ │ └─ alsa-lib >=1.2.8,<1.2.9.0a0 , which conflicts with any installable versions previously reported;
│ │ └─ qt-webengine 5.15.8 would require
│ │ └─ alsa-lib >=1.2.9,<1.2.10.0a0 , which conflicts with any installable versions previously reported;
│ └─ freecad-rt [20230811tip|20231018tip|...|20240123stable] would require
│ └─ fmt 9.1.0 , which can be installed;
├─ mamba >=1.5.5 is installable with the potential options
│ ├─ mamba 1.5.5 would require
│ │ ├─ libmambapy 1.5.5 py311hf2555c7_0, which requires
│ │ │ ├─ fmt >=10.1.1,<11.0a0 , which conflicts with any installable versions previously reported;
│ │ │ └─ openssl >=3.2.0,<4.0a0 , which conflicts with any installable versions previously reported;
│ │ └─ openssl >=3.2.0,<4.0a0 , which conflicts with any installable versions previously reported;
│ ├─ mamba [1.5.5|1.5.6] would require
│ │ └─ python_abi 3.10.* *_cp310, which can be installed;
│ ├─ mamba [1.5.5|1.5.6] would require
│ │ └─ python_abi 3.12.* *_cp312, which can be installed;
│ ├─ mamba [1.5.5|1.5.6] would require
│ │ └─ python_abi 3.8.* *_cp38, which can be installed;
│ ├─ mamba [1.5.5|1.5.6] would require
│ │ └─ python_abi 3.9.* *_cp39, which can be installed;
│ ├─ mamba [1.5.5|1.5.6] would require
│ │ └─ pypy3.9 >=7.3.13 , which can be installed;
│ └─ mamba 1.5.6 would require
│ └─ libmambapy 1.5.6 py311hf2555c7_0, which requires
│ ├─ fmt >=10.1.1,<11.0a0 , which conflicts with any installable versions previously reported;
│ └─ libmamba 1.5.6 had39da4_0, which requires
│ ├─ libarchive >=3.7.2,<3.8.0a0 with the potential options
│ │ ├─ libarchive 3.7.2 would require
│ │ │ └─ libxml2 >=2.11.5,<3.0.0a0 with the potential options
│ │ │ ├─ libxml2 2.11.5 would require
│ │ │ │ └─ icu >=72.1,<73.0a0 , which can be installed;
│ │ │ └─ libxml2 [2.11.5|2.11.6|...|2.12.5], which cannot be installed (as previously explained);
│ │ └─ libarchive 3.7.2 would require
│ │ └─ libxml2 [>=2.12.2,<2.13.0a0 |>=2.12.2,<3.0.0a0 ], which cannot be installed (as previously explained);
│ └─ openssl >=3.2.0,<4.0a0 , which conflicts with any installable versions previously reported;
└─ python 3.11** is not installable because there are no viable options
├─ python 3.11.0 would require
│ ├─ openssl >=1.1.1q,<1.1.2a , which can be installed;
│ └─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported;
├─ python [3.11.0|3.11.1|...|3.11.7] would require
│ └─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported;
├─ python 3.11.0 would require
│ ├─ openssl >=1.1.1s,<1.1.2a , which can be installed;
│ └─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported;
└─ python 3.11.7 would require
├─ openssl >=3.2.0,<4.0a0 , which conflicts with any installable versions previously reported;
└─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported.
I then try to get around this by add the lines below:
But now when I try to install FreeCAD-rt again, I observe a strange false conflict which isn't directly related to FreeCAD-rt but an artifact of conda and Ubuntu on WSL2 Windows 11. I will ask for help regarding this elsewhere on the appropriate github project pages. FYI the error in the console is now:
(base) me@LabHPC:~$ conda install 'freecad-rt[version=20240123stable]'
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.35=0
- feature:|@/linux-64::__glibc==2.35=0
- freecad-rt==20240123stable -> pyside2 -> __glibc[version='>=2.17,<3.0.a0']
Your installed version is: 2.35
So my final work-around, which ultimately lead to other problems, has been to call 'mamba' instead like so:
Now I can run FreeCAD but when I try to install other packages for integration and automation I have dependency conflicts in conda which cannot be resolved by downgrading or being clever with the specific version of packages and dependencies. I tried for many hours different combination and it would not worked. In the end, freecad-rt needs to use VTK>=9.2.6 and preferably be compatible with 1.12.2 <= hdf5 <= 1.14.3 and 1.78.0 <= boost-cpp <= 1.84.0 and 3.11.0 <= python < <3.12 to resolve these issues in its next release. Here is the final error for reference:
(base) me@LabHPC:~$ mamba install 'freecad-rt[version=20240123stable]' 'cuda-toolkit=12.3.2[build=ha804496_0]'
Looking for: ['freecad-rt==20240123stable', 'cuda-toolkit=12.3.2[build=ha804496_0]']
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
realthunder/linux-64 No change
realthunder/noarch No change
Pinned packages:
- python 3.11.*
warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
Could not solve for environment specs
The following packages are incompatible
├─ cuda-toolkit 12.3.2* ha804496_0 is installable and it requires
│ └─ cuda-tools 12.3.2.* , which requires
│ └─ cuda-visual-tools 12.3.2.* , which requires
│ └─ nsight-compute 2023.3.1.1.* , which requires
│ ├─ alsa-lib >=1.2.10,<1.2.11.0a0 , which can be installed;
│ ├─ libxcb >=1.15,<1.16.0a0 , which can be installed;
│ └─ qt-main >=5.15.8,<5.16.0a0 with the potential options
│ ├─ qt-main 5.15.8 would require
│ │ ├─ icu >=73.2,<74.0a0 , which can be installed;
│ │ └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which requires
│ │ └─ jpeg <0.0.0a , which can be installed;
│ ├─ qt-main [5.15.6|5.15.8] would require
│ │ └─ alsa-lib >=1.2.8,<1.2.9.0a0 , which conflicts with any installable versions previously reported;
│ ├─ qt-main 5.15.8 would require
│ │ └─ libjpeg-turbo >=3.0.0,<4.0a0 with the potential options
│ │ ├─ libjpeg-turbo [2.1.5.1|3.0.0], which can be installed (as previously explained);
│ │ └─ libjpeg-turbo 3.0.0 would require
│ │ └─ jpeg <0.0.0a , which can be installed;
│ ├─ qt-main 5.15.8 would require
│ │ └─ alsa-lib >=1.2.9,<1.2.10.0a0 , which conflicts with any installable versions previously reported;
│ └─ qt-main 5.15.8 would require
│ ├─ icu >=73.2,<74.0a0 , which can be installed;
│ ├─ libjpeg-turbo >=3.0.0,<4.0a0 with the potential options
│ │ ├─ libjpeg-turbo [2.1.5.1|3.0.0], which can be installed (as previously explained);
│ │ └─ libjpeg-turbo 3.0.0, which cannot be installed (as previously explained);
│ └─ openssl >=3.1.3,<4.0a0 , which can be installed;
└─ freecad-rt 20240123stable is not installable because it requires
├─ hdf5 >=1.12.2,<1.12.3.0a0 with the potential options
│ ├─ hdf5 [1.12.2|1.14.0] would require
│ │ └─ openssl >=1.1.1s,<1.1.2a , which conflicts with any installable versions previously reported;
│ ├─ hdf5 1.12.2, which can be installed;
│ └─ hdf5 1.12.2 would require
│ └─ openssl >=1.1.1q,<1.1.2a , which conflicts with any installable versions previously reported;
├─ pcl >=1.13.1,<1.13.2.0a0 with the potential options
│ ├─ pcl 1.13.1 would require
│ │ └─ qt-main >=5.15.8,<5.16.0a0 with the potential options
│ │ ├─ qt-main 5.15.8, which can be installed (as previously explained);
│ │ ├─ qt-main [5.15.6|5.15.8], which cannot be installed (as previously explained);
│ │ ├─ qt-main 5.15.8, which can be installed (as previously explained);
│ │ ├─ qt-main 5.15.8, which cannot be installed (as previously explained);
│ │ └─ qt-main 5.15.8, which can be installed (as previously explained);
│ ├─ pcl 1.13.1 would require
│ │ └─ libboost >=1.82.0,<1.83.0a0 , which requires
│ │ └─ boost-cpp 1.82.0* , which can be installed;
│ └─ pcl 1.13.1 would require
│ └─ vtk >=9.2.6,<9.2.7.0a0 with the potential options
│ ├─ vtk [9.2.5|9.2.6] would require
│ │ ├─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ └─ vtk-base [9.2.6 egl_py310h1234567_10|9.2.6 egl_py310h1234567_11|...|9.2.6 qt_py310h1234567_220], which requires
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ ├─ vtk [9.2.5|9.2.6] would require
│ │ ├─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ └─ vtk-base [9.2.6 egl_py38h1234567_10|9.2.6 egl_py38h1234567_11|...|9.2.6 qt_py38h1234567_220], which requires
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ ├─ vtk [9.2.5|9.2.6] would require
│ │ ├─ python >=3.9,<3.10.0a0 , which can be installed;
│ │ └─ vtk-base [9.2.6 egl_py39h1234567_10|9.2.6 egl_py39h1234567_11|...|9.2.6 qt_py39h1234567_220], which requires
│ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ ├─ vtk 9.2.6 would require
│ │ └─ vtk-base [9.2.6 egl_py311h1234567_10|9.2.6 egl_py311h1234567_8|...|9.2.6 qt_py311h1234567_210], which requires
│ │ └─ hdf5 >=1.14.1,<1.14.2.0a0 , which conflicts with any installable versions previously reported;
│ ├─ vtk 9.2.6 would require
│ │ └─ vtk-base [9.2.6 egl_py311h1234567_11|9.2.6 egl_py311h1234567_12|...|9.2.6 qt_py311h1234567_219], which requires
│ │ └─ hdf5 >=1.14.2,<1.14.4.0a0 , which conflicts with any installable versions previously reported;
│ ├─ vtk 9.2.6 would require
│ │ └─ vtk-base [9.2.6 egl_py311h1234567_20|9.2.6 osmesa_py311h1234567_120|9.2.6 qt_py311h1234567_220], which requires
│ │ └─ hdf5 >=1.14.3,<1.14.4.0a0 , which conflicts with any installable versions previously reported;
│ ├─ vtk 9.2.6 would require
│ │ ├─ hdf5 >=1.14.0,<1.14.1.0a0 but there are no viable options
│ │ │ ├─ hdf5 [1.12.2|1.14.0], which cannot be installed (as previously explained);
│ │ │ ├─ hdf5 1.14.0 would require
│ │ │ │ └─ openssl >=1.1.1t,<1.1.2a , which conflicts with any installable versions previously reported;
│ │ │ └─ hdf5 1.14.0 conflicts with any installable versions previously reported;
│ │ └─ vtk-base [9.2.6 egl_py311h1234567_3|9.2.6 egl_py311h1234567_4|...|9.2.6 qt_py311h1234567_207], which requires
│ │ └─ hdf5 >=1.14.0,<1.14.1.0a0 but there are no viable options
│ │ ├─ hdf5 [1.12.2|1.14.0], which cannot be installed (as previously explained);
│ │ ├─ hdf5 1.14.0, which cannot be installed (as previously explained);
│ │ └─ hdf5 1.14.0 conflicts with any installable versions previously reported;
│ ├─ vtk 9.2.6, which can be installed;
│ └─ vtk 9.2.6 would require
│ └─ vtk-base [9.2.6 egl_py312h1234567_18|9.2.6 egl_py312h1234567_19|...|9.2.6 qt_py312h1234567_220], which requires
│ └─ python >=3.12,<3.13.0a0 , which can be installed;
├─ qt-main >=5.15.8,<5.16.0a0 with the potential options
│ ├─ qt-main 5.15.8, which can be installed (as previously explained);
│ ├─ qt-main [5.15.6|5.15.8], which cannot be installed (as previously explained);
│ ├─ qt-main 5.15.8, which can be installed (as previously explained);
│ ├─ qt-main 5.15.8, which cannot be installed (as previously explained);
│ └─ qt-main 5.15.8, which can be installed (as previously explained);
├─ qt-webengine >=5.15.8,<5.16.0a0 with the potential options
│ ├─ qt-webengine 5.15.8 would require
│ │ └─ libjpeg-turbo [>=2.1.5.1,<3.0a0 |>=3.0.0,<4.0a0 ] with the potential options
│ │ ├─ libjpeg-turbo [2.1.5.1|3.0.0], which can be installed (as previously explained);
│ │ └─ libjpeg-turbo 3.0.0, which cannot be installed (as previously explained);
│ ├─ qt-webengine 5.15.8 would require
│ │ └─ libxcb >=1.13,<1.14.0a0 , which conflicts with any installable versions previously reported;
│ ├─ qt-webengine 5.15.8 would require
│ │ └─ alsa-lib >=1.2.8,<1.2.9.0a0 , which conflicts with any installable versions previously reported;
│ └─ qt-webengine 5.15.8 would require
│ └─ alsa-lib >=1.2.9,<1.2.10.0a0 , which conflicts with any installable versions previously reported;
├─ smesh-rt >=9.9.0.0,<9.9.1.0a0 , which requires
│ ├─ boost-cpp >=1.78.0,<1.78.1.0a0 but there are no viable options
│ │ ├─ boost-cpp 1.78.0 conflicts with any installable versions previously reported;
│ │ ├─ boost-cpp 1.78.0 would require
│ │ │ └─ icu >=70.1,<71.0a0 , which conflicts with any installable versions previously reported;
│ │ └─ boost-cpp 1.78.0 would require
│ │ └─ icu >=72.1,<73.0a0 , which conflicts with any installable versions previously reported;
│ └─ vtk >=9.2.5,<9.2.6.0a0 with the potential options
│ ├─ vtk [9.2.5|9.2.6], which can be installed (as previously explained);
│ ├─ vtk 9.2.5 would require
│ │ └─ jpeg >=9e,<10a , which conflicts with any installable versions previously reported;
│ ├─ vtk [9.2.5|9.2.6], which can be installed (as previously explained);
│ ├─ vtk [9.2.5|9.2.6], which can be installed (as previously explained);
│ └─ vtk 9.2.5 would require
│ ├─ jpeg >=9e,<10a , which conflicts with any installable versions previously reported;
│ └─ qt-main >=5.15.6,<5.16.0a0 with the potential options
│ ├─ qt-main 5.15.8, which can be installed (as previously explained);
│ ├─ qt-main [5.15.6|5.15.8], which cannot be installed (as previously explained);
│ ├─ qt-main 5.15.8, which can be installed (as previously explained);
│ ├─ qt-main 5.15.8, which cannot be installed (as previously explained);
│ ├─ qt-main 5.15.8, which can be installed (as previously explained);
│ └─ qt-main 5.15.6 would require
│ └─ alsa-lib >=1.2.7.2,<1.2.8.0a0 , which conflicts with any installable versions previously reported;
└─ vtk >=9.2.5,<9.2.6.0a0 with the potential options
├─ vtk [9.2.5|9.2.6], which can be installed (as previously explained);
├─ vtk 9.2.5, which cannot be installed (as previously explained);
├─ vtk [9.2.5|9.2.6], which can be installed (as previously explained);
├─ vtk [9.2.5|9.2.6], which can be installed (as previously explained);
└─ vtk 9.2.5, which cannot be installed (as previously explained).
Anything else?
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Is there an existing issue for this?
Version
0.21 (Development)
Full version info
Subproject(s) affected?
Core
Problem description
Create a new Ubuntu 22.04 LTS environment of Windows WSL2 and install the latest release (23.11.0 or older 23.3.1-1) of miniforge (which is now equivalent to mambaforge). Activate the freshly installed base conda environment and add the realthunder channel to attempt to install FreeCad-rt with minimal existing packages that could conflict. There is no possible way to install this because FreeCad-rt is way too restrictive with the versions of its dependencies and dependencies of dependencies. Please recompile/refactor FreeCad-rt on the realthunder channel of anaconda.org for the modern age. Here is the console error output I get:
I then try to get around this by add the lines below:
to a (new) file called "pinned" in the miniforge3/conda-meta/ directory and then running
But now when I try to install FreeCAD-rt again, I observe a strange false conflict which isn't directly related to FreeCAD-rt but an artifact of conda and Ubuntu on WSL2 Windows 11. I will ask for help regarding this elsewhere on the appropriate github project pages. FYI the error in the console is now:
So my final work-around, which ultimately lead to other problems, has been to call 'mamba' instead like so:
Now I can run FreeCAD but when I try to install other packages for integration and automation I have dependency conflicts in conda which cannot be resolved by downgrading or being clever with the specific version of packages and dependencies. I tried for many hours different combination and it would not worked. In the end,
freecad-rt
needs to useVTK>=9.2.6
and preferably be compatible with1.12.2 <= hdf5 <= 1.14.3
and1.78.0 <= boost-cpp <= 1.84.0
and3.11.0 <= python < <3.12
to resolve these issues in its next release. Here is the final error for reference:Anything else?
No response
Code of Conduct