maxspahn / gym_envs_urdf

URDF environments for gym
https://maxspahn.github.io/gym_envs_urdf/
GNU General Public License v3.0
46 stars 14 forks source link

Installing pybullet on windows #137

Closed maxspahn closed 1 year ago

maxspahn commented 1 year ago

Many people try to use the simulation environment on Windows. For most people this results in errors for the package pybullet as it requires a specific c++ compiler. Let us gather information and problems related to this in this issue.

DasWilheim commented 1 year ago

Following this instruction on stackflow worked for me.

https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst

behradkhadem commented 1 year ago

I use WSL2 to tackle this issue. With Ubuntu subsystem you won't need a C++ compiler or else to run pybullet. You can simply just install it as a python package and use it. By using subsystems, you have flexibility of Linux with UX of windows. Also, you can run Linux GUI on Windows too, for that you will need XLaunch. If you want, I can write some docs with pictures and stuff.

image

maxspahn commented 1 year ago

@behradkhadem Thanks for pointing that out! If you could write some docs, and create a PR that would be very much welcome. I don't use windows personally, so it is hard for me to test it on windows. Let me know if you need any help, also concerning the workflow.

behradkhadem commented 1 year ago

@behradkhadem Thanks for pointing that out! If you could write some docs, and create a PR that would be very much welcome. I don't use windows personally, so it is hard for me to test it on windows. Let me know if you need any help, also concerning the workflow.

Sure, I'll look into it at the weekend!

maxspahn commented 1 year ago

Closed as docs were updated by @behradkhadem