Closed milen-prg closed 1 year ago
Hi @milen-prg did you put the relevant ANGLE libraries tsomewhere the python script can find them? i.e. along the lines of https://github.com/tipam/pi3d#windows
Let me know any other info of your setup and I will try to help
I apologize, missed this part. When I copied the dlls from https://github.com/paddywwoof/pi3d_windll, all start to work. Thank, you!
P.S. Is it possible to include the necessary dlls in the pi3d pypi installation packet?
Windows 10 Pro 64bit, Python 3.11.3, pi3d 2.49, at try to
import pi3d
Result is ERROR:
Couldn't load library ./libglesv2.dll Couldn't load library ./libegl.dll Traceback (most recent call last): File "", line 1, in
File "C:\Python311\Lib\site-packages\pi3d__init.py", line 10, in
from pi3d.constants import (USE_PYGAME, PIL_OK,
File "C:\Python311\Lib\site-packages\pi3d\constants__init__.py", line 198, in
PLATFORM, bcm, openegl, opengles = _detect_platform_and_load_libraries()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\pi3d\constants__init__.py", line 190, in _detect_platform_and_load_libraries
platform, bcm, openegl, opengles = loader()
^^^^^^^^
File "C:\Python311\Lib\site-packages\pi3d\constants\ init__.py", line 156, in _windows
openegl.eglGetDisplay.argtypes = [wt.HDC]
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'eglGetDisplay'