Hi everybody,
I have updated PyChrono to the latest- I guess it is- version, i.e. pychrono-5.0.1-py38_929), using Anaconda. When I run some demos, to check if everything is OK, I got the following error messages:
For instance, when running demo_FEA_beams the error message related with “import pychrono.pardisomkl as mkl” is:
ModuleNotFoundError: No module named 'pychrono.pardisomkl'
When running demo_CAS_cascade the error message that seems to be related with “
import pychrono.cascade as cascade” is:
File "C:\Users\....\Anaconda3\envs\myenv\lib\site-packages\pychrono\cascade.py", line 13, in <module>
from . import _cascade
ImportError: DLL load failed while importing _cascade
I have removed and reinstalled the same PyChrono version, but still I got the same errors. Any suggestions to solve this? Thanks in advance.
Luis
Hi Simone,
Once again, thanks for your help. Look, What I did:
a. I uninstalled Anaconda and reinstalled the available latest version for Windows (Anaconda3-2020.11-Windows-x86_64).
b. I reinstalled the latest 'develop' PyChrono (pychrono-6.0.0-py38_17). Then, when running demo_CAS_cascade.py I got the same error I mentioned in my previous email.
c. Following your suggestion, I tried to install PytohnOCC from my PyChrono environment by running: conda install -c pythonocc pythonocc-core
Then I got the message I copied below, that seems to report a Python version issue . Does PythonOCC require a previous python version than the 3.8 version one that I am using? If so, when I am trying to reinstall a previous python version in my environment this produces an error since this PyChrono version requires at least 3.8 Python version.
Any additional help will be appreciated. Thanks in advance,
Regards,
Luis

--
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 projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/4d4f192b-0e64-4135-b1c7-50235fd3926bo%40googlegroups.com.
conda install -c conda-forge pythonocc-core
conda install -c dlr-sc pythonocc-coreSimone,
Wow, you ‘ve made my day!
I just tried the first solution you suggested, and it’s working. So far, demo_CAS_cascade, demo_FEA_beams and demo_FEA_beamsIGA are now running, meaning that the pychrono.pardisomkl issue has been solved too.
Thanks for your help; have a great weekend.
Regards,
Luis
--
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 projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/e7e47846-7aec-44a9-9588-53d4d4fcbef5o%40googlegroups.com.