Hi Tyler,

When asking questions about Chrono, especially when discussing installation or 
build-related issues, it is important to provide more details, as applicable, 
including operating system, relevant details on compilers, version of Chrono 
(or PyChrono), etc.

Having said that, please note that we have recently completed a large 
refactoring job that affected the Chrono CMake configuration and build system. 
We are still working through some left-over tasks related to those changes and 
that includes creating new conda packages.

Until that is done, and if this is a possibility for you, I strongly encourage 
you to build your own PyChrono packages, by configuring and building Chrono 
from scratch and including whatever Chrono modules you are interested in.  Of 
course, that implies a bit more work on your side (getting all prerequisites if 
not already available, obtaining the necessary dependencies, etc.), but that 
would give you full control.  For that, start at 
https://api.projectchrono.org/tutorial_install_chrono.html and then look at 
https://api.projectchrono.org/module_python_installation.html.

Otherwise, you will need to wait a little bit longer until we get to creating 
and distributing new conda packages. As you see from 
https://anaconda.org/projectchrono/pychrono/files, we have not done that in 
quite a while and it would be a bit pointless to try to figure out issues with 
packages that are that old (and will be soon obsolete).

Best,
Radu

From: [email protected] <[email protected]> On Behalf 
Of Space Praesidium
Sent: Wednesday, March 26, 2025 10:36 PM
To: ProjectChrono <[email protected]>
Subject: [chrono] Issue with Importing _sensor and _pardisomkl - Pychrono

I have built a pychrono environment in anaconda following these instructions 
exactly: 
https://api.projectchrono.org/pychrono_installation.html<https://urldefense.com/v3/__https:/api.projectchrono.org/pychrono_installation.html__;!!Mak6IKo!IWrh82RvwEXKWvRTmvf1311Rgya3ovxBAvSL0FINmQ3VzySHo7g2kIzVgklT_P6A6VsBB24vBkOwrkVdM2zOb54$>

Most of the demos work except for those which use the _sensor and _pardisomkl 
parts of chrono. when I attempt to run these demos I get the following error:
ImportError: cannot import name '_sensor' from 'pychrono'

or the exact same error but instead of _sensor it is _pardisomkl

I cannot figure out how to fix this issue. I found this forum post from a while 
back: 
https://groups.google.com/g/projectchrono/c/y_SceBNVtos/m/cbTSIn2sBwAJ<https://urldefense.com/v3/__https:/groups.google.com/g/projectchrono/c/y_SceBNVtos/m/cbTSIn2sBwAJ__;!!Mak6IKo!IWrh82RvwEXKWvRTmvf1311Rgya3ovxBAvSL0FINmQ3VzySHo7g2kIzVgklT_P6A6VsBB24vBkOwrkVd5GHWLDM$>
  and tried installing the Cuda toolkit manually as it seemed to work for that 
user, but this did not resolve my issue.

as a note I have built a pychrono environment both in python 3.9 and 3.10 and 
experienced this same issue, and I would prefer to build and work in python 
3.10 if possible. I do not require cascade support for the work I am doing and 
so I think 3.10 is not the issue for that environment, and I have the same 
issue in the 3.9 environment.

Thanks
Tyler
--
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]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/e2d34615-0850-49a8-a7d0-dccbf71b176an%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/e2d34615-0850-49a8-a7d0-dccbf71b176an*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!IWrh82RvwEXKWvRTmvf1311Rgya3ovxBAvSL0FINmQ3VzySHo7g2kIzVgklT_P6A6VsBB24vBkOwrkVdpUrJOmQ$>.

-- 
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/CH3PPF46CDC218549223C64B9F4EB5287A3A7A12%40CH3PPF46CDC2185.namprd06.prod.outlook.com.

Reply via email to