Project Chrono Installation Error

60 views
Skip to first unread message

HM

unread,
Jun 6, 2022, 3:36:28 PM6/6/22
to ProjectChrono

Hello,

I'm on Ubuntu 18.04 and installing pychrono with:

conda install -c projectchrono/label/develop pychrono


when importing, I get:

Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pychrono
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/usrname/anaconda3/lib/python3.7/site-packages/pychrono/__init__.py", line 37, in <module>
    from .core import *
  File "/home/usrname/anaconda3/lib/python3.7/site-packages/pychrono/core.py", line 13, in <module>
    from . import _core
ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/usrname/anaconda3/lib/python3.7/site-packages/pychrono/../../../libChronoEngine.so)
>>> exit()

I have also attempted to install pychrono in a clean environment and received the following error. 

Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
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:

- pychrono -> python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']

Your python: python=3.9

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.17=0
- feature:|@/linux-64::__glibc==2.17=0

Your installed version is: 2.17



Is there a pychrono version that is compatible with Ubuntu 18.04? 

Reply all
Reply to author
Forward
0 new messages