Page 1 of 1

Conda Install failing

Posted: Wed Jul 03, 2024 10:58 am
by dennisa
I've tried the Conda package installation here: https://anaconda.org/opensim-org/opensim

It fails to complete with the output below. Any ideas what is the issue? Do I need to set up / change environment variables in some way? (Previously installed versions / installations could be to blame?)

Code: Select all

(base) C:\Users\danders7>conda install opensim-org::opensim
Channels:
 - defaults
 - opensim-org
Platform: win-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 opensim-4.4-py310np121 requires python 3.10.*, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
- opensim is installable with the potential options
  - opensim [4.4|4.4.1|4.5] would require
    - python 3.10.* , which can be installed;
  - opensim [4.4|4.4.1|4.5] would require
    - python 3.11.* , which can be installed;
  - opensim 4.4 would require
    - python 3.7.* , which can be installed;
  - opensim 4.4 would require
    - python 3.8.* , which can be installed;
  - opensim [4.4|4.4.1|4.5] would require
     - python 3.9.* , which can be installed;
- pin-1 is not installable because it requires
   - python 3.12.* , which conflicts with any installable versions previously reported.

Re: Conda Install failing

Posted: Wed Jul 03, 2024 11:10 am
by aymanh
Hi Dennis,

The messages reported by conda suggest that you require a python 3.12 (due to some other package in your environment pin-1), while there's a variety of options to install opensim with earlier python versions.

I'd suggest you create a fresh conda environment with python 3.8 or 3.9 and install opensim into it.

Please let us know what you find out.

Best regards,
-Ayman