Hello,
I’m trying to import pychrono to my python code, and it seems to not work.

I’ve first installed it pychrono from tarball as described in in 
https://api.projectchrono.org/pychrono_installation.html, but python simply 
can’t find my package this way ( Import "pychrono" could not be resolved.)

I’ve also tried to install it from conda install pychrono, but it fails 
with 

ImportError: libChronoEngine.so: cannot open shared object file: No such 
file or directory

The python interpreter seems correct, it’s the only one installed python 
3.9.

What is wrong?

Full traceback from usual conda install:
```
/home/mriabov/Work/Projects/ChronoDistributedSim/sim/chrono_sim_high_level.py

Traceback (most recent call last):

  File 
"/home/mriabov/Work/Projects/ChronoDistributedSim/sim/chrono_sim_high_level.py",
 
line 3, in <module>

    import pychrono

  File 
"/home/mriabov/miniforge3/envs/chrono/lib/python3.9/site-packages/pychrono/__init__.py",
 
line 62, in <module>

    from .core import *

  File 
"/home/mriabov/miniforge3/envs/chrono/lib/python3.9/site-packages/pychrono/core.py",
 
line 10, in <module>

    from . import _core

ImportError: libChronoEngine.so: cannot open shared object file: No such 
file or directory

```

>From pychrono from tarball:

```
Traceback (most recent call last):

  File 
"/home/mriabov/Work/Projects/ChronoDistributedSim/sim/chrono_sim_high_level.py",
 
line 3, in <module>

    import pychrono

ModuleNotFoundError: No module named 'pychrono'

```

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/2aef1c5c-c935-4b10-9a1c-e5e94997e067n%40googlegroups.com.

Reply via email to