raisimTech / raisimLib

Visit www.raisim.com
http://www.raisim.com
Other
338 stars 91 forks source link

raisimgymtorch setup.py error #501

Open najon6 opened 1 year ago

najon6 commented 1 year ago

Sir I tried to do the same thing at homepage for RaisimGymTorch, but when I used 'python setup.py develop', after 66%, some errors occurred at terminal.

/home/noh/workspace/raisimLib/raisimGymTorch/thirdParty/pybind11/include/pybind11/detail/type_caster_base.h:482:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 482 | frame = frame->f_back;

/home/noh/miniconda3/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject;

File "/home/noh/miniconda3/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ I just write the highlighted parts of the error. I think this is caused by my graphics card because mine is 'intel hd graphics 620', which I can't use cuda and nvdia driver. Is this right or is there something wrong things at other things?

jhwangbo commented 1 year ago

Do you use python 3.11? Pybind doesn't support 3.11 yet. I recommend 3.9