AttributeError: module 'numpy' has no attribute 'object'.np.object
was a deprecated alias for the builtin object
. To avoid this error in existing code, use object
by itself. Doing this will not modify any behavior and is safe.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
numpy版本太高了,不适配了。你查看一下你的numpy版本,重装一下低版本的就好了
【相关推荐】
pip install C:\Users\12810\Downloads\PyOpenGL_accelerate-3.1.6-cp38-cp38-win_amd64.whl
搞定