pyosim icon indicating copy to clipboard operation
pyosim copied to clipboard

Does not work with python 3.6

Open BehnooshParsa opened this issue 5 years ago • 5 comments

Hi,

When I try to install the package (using conda install -c pyomeca pyosim) in a conda environment with python 3.6 I get the following error:

Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: - 
Found conflicts! Looking for incompatible packages.                                                                                                                                                  failed                                                                                                                                                                                                   

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - pyosim -> python[version='>=3.7,<3.8.0a0']

Your python: python=3.6

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:



Package libgcc-ng conflicts for:
python=3.6 -> libgcc-ng[version='>=7.2.0|>=7.3.0']
Package readline conflicts for:
python=3.6 -> readline[version='7.*|>=7.0,<8.0a0']
Package pyomeca conflicts for:
pyosim -> pyomeca
Package libffi conflicts for:
python=3.6 -> libffi[version='3.2.*|>=3.2.1,<4.0a0']
Package tk conflicts for:
python=3.6 -> tk[version='8.6.*|>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0']
Package xz conflicts for:
python=3.6 -> xz[version='>=5.2.3,<6.0a0|>=5.2.4,<6.0a0']
Package pip conflicts for:
python=3.6 -> pip
Package matplotlib conflicts for:
pyosim -> matplotlib
Package opensim conflicts for:
pyosim -> opensim
Package ncurses conflicts for:
python=3.6 -> ncurses[version='6.0.*|>=6.0,<7.0a0|>=6.1,<7.0a0']
Package zlib conflicts for:
python=3.6 -> zlib[version='>=1.2.11,<1.3.0a0']
Package pandas conflicts for:
pyosim -> pandas
Package openssl conflicts for:
python=3.6 -> openssl[version='1.0.*|1.0.*,>=1.0.2l,<1.0.3a|>=1.0.2m,<1.0.3a|>=1.0.2n,<1.0.3a|>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1c,<1.1.2a']
Package sqlite conflicts for:
python=3.6 -> sqlite[version='>=3.20.1,<4.0a0|>=3.22.0,<4.0a0|>=3.23.1,<4.0a0|>=3.24.0,<4.0a0|>=3.25.2,<4.0a0|>=3.26.0,<4.0a0|>=3.29.0,<4.0a0']
Package libstdcxx-ng conflicts for:
python=3.6 -> libstdcxx-ng[version='>=7.2.0|>=7.3.0']
Package numpy conflicts for:
pyosim -> numpy

BehnooshParsa avatar Nov 19 '19 21:11 BehnooshParsa

Hi,

Unfortunately, OpenSim is still not available on conda-forge and I have to build it myself for pyosim to work. It's been a while since I've built opensim on my channel and the version should no longer be up to date. I will fix the problem in the next few weeks and keep you informed when Pyosim works again.

romainmartinez avatar Nov 19 '19 21:11 romainmartinez

Thank you.

On Tue, Nov 19, 2019, 1:35 PM Romain Martinez [email protected] wrote:

Hi,

Unfortunately, OpenSim is still not available on conda-forge https://github.com/conda-forge/staged-recipes/pull/4693 and I have to build it myself for pyosim to work. It's been a while since I've built opensim on my channel https://anaconda.org/pyomeca/opensim and the version should no longer be up to date. I will fix the problem in the next few weeks and keep you informed when Pyosim works again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyomeca/pyosim/issues/29?email_source=notifications&email_token=AGNSHUMSBGD45U3EJG242VDQURLR3A5CNFSM4JPJOMX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEP3FMI#issuecomment-555725489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGNSHUNDNVSGIF4VWAD7HR3QURLR3ANCNFSM4JPJOMXQ .

BehnooshParsa avatar Nov 19 '19 22:11 BehnooshParsa

Hi guys,

I do have the same error message than BehnooshParsa, from 3.4 to 3.7 version. Did you manage to fix the problem to make Pyosim working ? :)

Thanks for letting me (us) know !

Regards

manu13008 avatar Jul 07 '20 14:07 manu13008

Hi,

Would you please tell me what the latest supported python version is? Does it support py 3.8?

Your help is much appreciated.

Cheers

mrrezaie avatar Dec 24 '20 16:12 mrrezaie

Unfortunately, OpenSim is still not available on conda-forge (see here) and I have to build it myself for pyosim to work.

I don't have time to build OpenSim for all platforms (windows, linux and mac) and all Python versions (3.6, 3.7, 3.8, 3.9). So as long as OpenSim is not available on conda-forge, I won't update pyosim.

Depending what you want to do, the easiest way to make things work could be to just use conda and my builds available with python 3.6 here.

romainmartinez avatar Dec 24 '20 16:12 romainmartinez