Hi Eric and Jay, There are two ways to install PyChrono, one through CMake and one through Conda. I am guessing Jay built it from CMake (by enabling the Python module during the build process). Eric, if you can post a screenshot and tell me if you installed it with CMake or Conda, we can debug the issue from there.
Best, Thomas On Friday, December 1, 2023 at 9:51:26 PM UTC-6 [email protected] wrote: > Hi Eric, > To be honest, I don't know how to install it, I think I installed it in > C++ (not fully installed), and then pychrono can use the sensor module. In > fact, I am also very confused.I have successfully installed it once so far. > I'm so sorry. > > Jay > > 在2023年11月29日星期三 UTC+8 21:09:05<[email protected]> 写道: > >> Hi Jay, >> >> I see from messages in the group that you were able to get the sensor >> module to work for Pychrono. I am having a similar issue with the module. I >> followed all the instructions and I am able to run all the demos except for >> the sensor module demos. >> >> I see the _sensor.pyd file. Through toubleshooting, I was able to get an >> error that said either _sensor is missing or one of its dependencies. >> >> Can you please tell me what you did to get the module to load properly? >> >> Thanks >> Eric >> On Wednesday, July 5, 2023 at 11:22:33 AM UTC-5 [email protected] wrote: >> >>> Hi Jay, >>> >>> Can you enter a Python environment (type "python" in the anaconda >>> environment) and type: "import _sensor" from there? It should give you more >>> information on what is going wrong. >>> >>> Kind regards, >>> Thomas >>> >>> On Wednesday, July 5, 2023 at 6:51:50 AM UTC-5 [email protected] wrote: >>> >>>> Hi Thomas, >>>> I have installed Numpy library in conda environment, and I can run >>>> the demo that comes with pychrono, such as the demo in vehicle and robot >>>> modules, which can be seen in the screenshot on the right above. >>>> However, the problems that will occur in the demo running the *sensor >>>> module* are the same as what I sent for the first time, as shown in >>>> the screenshot above on the left. >>>> I can make sure that I have the Numpy library installed because demos >>>> like vehicle use the Numpy library. >>>> I'm confused about this,looking forward to your reply. >>>> >>>> Regards, >>>> Jay >>>> >>>> 在2023年7月4日星期二 UTC+8 02:11:28<[email protected]> 写道: >>>> >>>>> Hi Jay, >>>>> >>>>> Did you install NumPy in the conda environment? (NumPy is required for >>>>> sensor) If you still encounter the problem, enter a python environment >>>>> and >>>>> import _sensor; please take a screenshot of the error form the python >>>>> environment. >>>>> >>>>> Kind regards, >>>>> Thomas >>>>> On Saturday, July 1, 2023 at 7:41:24 PM UTC-5 [email protected] >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> My name is Jay Sun, I have already installed pychrono (installation >>>>>> manual: >>>>>> https://api.projectchrono.org/development/pychrono_installation.html), >>>>>> also successfully run the site - packages \ pychrono \ demos, some of >>>>>> the >>>>>> demos, But I reported an error when running the *sensor module*. The >>>>>> following is the wrong picture. Could you tell me how to solve it? >>>>>> >>>>>> Thank you very much! >>>>>> >>>>>> Regards, >>>>>> Jay Sun[image: 5b67689809ad65abe16f6e9001ed249.png][image: >>>>>> 23d3123aa62cb0a5406b4b13b85d74f.png] >>>>>> >>>>> -- 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 on the web visit https://groups.google.com/d/msgid/projectchrono/025ba657-ce58-471c-87b8-5d926b93ed52n%40googlegroups.com.
