I am currently using a windows machine, and am busy with some Genetic Algorithm stuff that relies on using a PyBullet virtual environment to test out the locomotive capacity of my "robots". The project I'm working on required me to use multi-threading, so my lecturer recommended that I install WSL to do so because apparently it does not work on Windows.
I installed WSL, and created a python virtual environment to work in. Everything was perfectly fine until I tried to connect to a PyBullet server, which produced the following output:
pybullet build time: Nov 27 2022 13:20:33
startThreads creating 1 threads.
starting thread 0
started thread 0
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
X11 functions dynamically loaded using dlopen/dlsym OK!
cannot connect to X server
What can I do to fix this? Please ask if more information on my setup is needed :)