Comments (7)
met same issue with python 3.9.16 and python 3.10.10 also under macOS Sonoma 14.5
from pyopengl.
FWIW: I don't need the numpy format handlers so I have used a brutal approach (ignore the fact that the patch is misnamed):
https://github.com/Xpra-org/xpra/blob/master/packaging/rpm/patches/pyopengl-py3.13-nonumpy.patch
from pyopengl.
Thanks @totaam : not sure if this will work on our CI, I'll take a look.
from pyopengl.
Same issue here with python 3.12.4 :|
from pyopengl.
Has anybody found the solution of this problem? I am facing the same issue with Python version 3.12.3
from pyopengl.
havent found the problem yet but i found a reference to Py_intptr_t
in the numpy C ABI https://numpy.org/doc/stable/reference/c-api/dtype.html#c.npy_intp
Before NumPy 2.0, this was the same as Py_intptr_t. While a better match, this did not match actual usage in practice. On the Python side, we still support np.dtype('p') to fetch a dtype compatible with storing pointers, while n is the correct character for the ssize_t.
from pyopengl.
this looks like it was fixed in 3.1.8, specifically commit f897b0e
https://github.com/mcfletch/pyopengl/releases/tag/release-3.1.8
seems like its just not released to pypi
Likely solutions until its released on pypi: install from git tag release-3.1.8
or install from the tarball in the release linked above
from pyopengl.
Related Issues (20)
- Looking for a way to silence numpy error on startup? HOT 2
- Test failures with Python 3.12.0b3 HOT 3
- GL library fallback for GLX broken in 3.1.7 HOT 3
- PyOpenGL and Android HOT 1
- GetCurrentContext return value check too strict with wayland? HOT 1
- accelerate: python: Objects/memoryobject.c:924: PyMemoryView_GetContiguous: Assertion `buffertype == PyBUF_READ || buffertype == PyBUF_WRITE' failed. HOT 1
- cannot build pyopengl-accelerate with clang 15 HOT 1
- PyPy3.10: `TypeError: No array-type handler for type _ctypes.array.ArrayMeta (value: <class '_ctypes.array.c_double_Array_16'>) registered`
- OpenGL.error.NullFunctionError / GlutInit Problem
- In a headless environment with no display, I got this error because it checked with GetCurrentContext instead of eglGetCurrentContext.
- Passing a large bytes object to a function freezes Python if ValueError exception is thrown HOT 1
- OpenGL.error.NullFunctionError: Attempt to call an undefined function glGenVertexArrays
- How to compile pyopengl on windows HOT 1
- Unable to install it on Mac M3
- Can't install on python 3.12.4 HOT 2
- ARB_bindless_texture extension
- don't distribute generated code with releases
- Please fix the 3.1.8 release tarball
- Cannot find EGL device in a headless nvidia cudagl container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyopengl.