Pylot installation error

24 views
Skip to first unread message

Rahmathulla P

unread,
Aug 4, 2024, 5:35:36 PM8/4/24
to MachUp Forum
Hi Cory,

I tried to install Pylot. Installation was fine except with an error related to PyOpenGL_accelerate. The following is the error.

  × Building wheel for PyOpenGL_accelerate (pyproject.toml) did not run successfully.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for PyOpenGL_accelerate
Successfully built Pylot
Failed to build PyOpenGL_accelerate
ERROR: Could not build wheels for PyOpenGL_accelerate, which is required to install pyproject.toml-based projects

I'm using Python 3.12 and I guess the problem is the version mis-match with PyOpenGL_accelerate. I saw the following related post:
I managed to install by downloading a python 3.12 compatible (unofficial version and hence may not be stable) from

When I ran pylot with the given examples files, there are some errors in simulator.py initialization like:
\pylot\simulator.py", line 58, in __init__
    self._render_graphics = self._input_dict["simulation"].get("enable_graphics", False)
Pylot\pylot\simulator.py", line 95, in __init__
    self._initialize_graphics()

Are they related to  PyOpenGL_accelerate?
I'm wondering if I should use a previous version of python to work with Pylot. Do you recommend any python version and dependencies for me to work?

Regards,
Rahmat


Cory Goates

unread,
Aug 6, 2024, 1:41:47 PM8/6/24
to MachUp Forum
Hi Rahmat

This is an issue that quite a few others have had, and, unfortunately, I've not had the bandwidth to dig into it. I really don't know what the solution is. I'm hoping I will have time to look into it in the near future.

Sorry, I know that's not very helpful. Please do let me know if you're able to figure it out!

Cory

Reply all
Reply to author
Forward
0 new messages