Hi,
I am having problem installing dolphinx_mpc using conda install whcih I found in this link: dolfinx_mpc-feedstock/README.md at main · conda-forge/dolfinx_mpc-feedstock · GitHub
Below I copy my terminal commands and their output. Could you please help me understand where is the problem and suggest me how I can install dolphinx_mpc using conda?
---- Terminal commands and outputs ----
(fenicsx-env) sujit@b-10lux2334dxq:~ python --version
Python 3.12.0
(fenicsx-env) sujit@b-10lux2334dxq:~ conda config --add channels conda-forge
(fenicsx-env) sujit@b-10lux2334dxq:~ conda config --set channel_priority strict
(fenicsx-env) sujit@b-10lux2334dxq:~ conda install dolfinx_mpc libdolfinx_mpc
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 the existing python installation in your environment:
Specifications:
- dolfinx_mpc → python[version=‘>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0’]
Your python: python=3.12
If python is on the left-most side of the chain, that’s the version you’ve asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with each other:
Output in format: Requested package → Available versions
Package libstdcxx-ng conflicts for:
dolfinx_mpc → libstdcxx-ng[version=‘>=12’]
dolfinx_mpc → fenics-basix → libstdcxx-ng[version=‘>=10.3.0|>=9.4.0|>=11.2.0|>=7.5.0|>=9.3.0|>=7.3.0’]
Package libgcc-ng conflicts for:
dolfinx_mpc → fenics-basix → libgcc-ng[version=‘>=10.3.0|>=9.4.0|>=9.3.0|>=11.2.0|>=7.5.0|>=7.3.0’]
dolfinx_mpc → libgcc-ng[version=‘>=12’]
Package zlib conflicts for:
libdolfinx_mpc → openmpi[version=‘>=4.1.6,<5.0a0’] → zlib[version=‘>=1.2.12,<1.3.0a0’]
python=3.12 → zlib[version=‘>=1.2.13,<1.3.0a0’]
dolfinx_mpc → python[version=‘>=3.10,<3.11.0a0’] → zlib[version=‘>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0|>=1.2.13,<1.3.0a0’]
python=3.12 → sqlite[version=‘>=3.41.2,<4.0a0’] → zlib[version=‘>=1.2.12,<1.3.0a0|>=1.2.13,<2.0a0’]The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.31=0
- feature:|@/linux-64::__glibc==2.31=0
- python=3.12 → libgcc-ng[version=‘>=11.2.0’] → __glibc[version=‘>=2.17’]
Your installed version is: 2.31
Note that strict channel priority may have removed packages required for satisfiability.
(fenicsx-env) sujit@b-10lux2334dxq:~$