-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conda package error during installation #205
Comments
Hi @okmechak, can you try via |
Thx for reply. At first was not patient enough :) This command took me maybe 2hr to complete and here you can see result: (GreenEnergy) southerncross@southerncross:~$ conda install -c conda-forge pyfmi
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:
- pyfmi -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|3.4.*']
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 your system:
- feature:/linux-64::__glibc==2.38=0
- pyfmi -> libgcc-ng[version='>=10.3.0'] -> __glibc[version='>=2.17']
- python=3.12 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.38 |
Hi @okmechak, it looks like you are unable to install PyFMI as you are using Python 3.12. Currently we have not added support for Python 3.12 and it is a quite large effort due to deprecations in |
Downgraded to 3.11 version of python and created new environment in conda and was able to install pyfmi. Thank you for help! |
I am trying to install PyFMI on Ubuntu using conda.
at firs Ive instaled Cython 3.0.4 then cloned and compiled fmi-library:
And installation of PyFMI gives next error:
How to solve this problem?
Best regards,
Oleh
The text was updated successfully, but these errors were encountered: