Prakhar,

First of all, you are using a non-official fork of Chrono.  If you want/need, 
for whatever reasons, use that particular code, you will need to talk to the 
owner of that fork (in this case, Json).
Here, we can only provide support for the official Chrono distribution.

Having said that, the error message you get gives a pretty clear hint.  You did 
not set the CMake NUMPY_INCLUDE_DIR variable quite right: you should not have 
the final “/numpy” in the path you provide.

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Prakhar Gupta
Sent: Wednesday, February 7, 2024 6:38 PM
To: ProjectChrono <[email protected]>
Subject: [chrono] PyChrono and GymChrono Build Questions

Hi,
I am trying to transition to pychrono for RL setup and training. I am following 
the instructions on 
https://github.com/projectchrono/gym-chrono?tab=readme-ov-file<https://urldefense.com/v3/__https:/github.com/projectchrono/gym-chrono?tab=readme-ov-file__;!!Mak6IKo!NzNEFitrh8AA997b9hSATIoWxv7JCxOl1b3iimxoWOYIDFnYg4-VEsFy4oGkORgRR7HqZn6IAYPGk_bfXG_WNdw$>
 to set up and run gym-chrono.

System:
Ubuntu 20.04 x86_64, GPU: 3 x Nvidia A6000

I get the following error (attached "make_output.txt") while I try to build the 
chrono (feature/robot_model) branch. I pulled this branch as in instructions 
and edited lines 42-50 to ignore the git info: 
https://github.com/zzhou292/chrono/blob/2d86e61777100948b704d95b12d7cb57ee6baaa9/src/chrono_parsers/ChParserURDF.cpp#L42<https://urldefense.com/v3/__https:/github.com/zzhou292/chrono/blob/2d86e61777100948b704d95b12d7cb57ee6baaa9/src/chrono_parsers/ChParserURDF.cpp*L42__;Iw!!Mak6IKo!NzNEFitrh8AA997b9hSATIoWxv7JCxOl1b3iimxoWOYIDFnYg4-VEsFy4oGkORgRR7HqZn6IAYPGk_bftiXHwT4$>

I installed numpy==1.24.0 with conda and added the include directory during 
cmake configure 
(/home/user/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy). 
Not sure what's wrong here. Does anyone have any thoughts?

Thanks
Prakhar Gupta
Grad Student, Clemson U.



--
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 on the web visit 
https://groups.google.com/d/msgid/projectchrono/35ac0750-b510-49b5-80ed-e8f36e4256a8n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/35ac0750-b510-49b5-80ed-e8f36e4256a8n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!NzNEFitrh8AA997b9hSATIoWxv7JCxOl1b3iimxoWOYIDFnYg4-VEsFy4oGkORgRR7HqZn6IAYPGk_bfubebvs4$>.

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

Reply via email to