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/994221e2-c225-4f12-945c-a7688ee08297n%40googlegroups.com.

Reply via email to