Traceback (most recent call last):
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/init.py", line 329, in getattr
return getattr(self._module, name)
AttributeError: 'NoneType' object has no attribute 'Window'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/Users/xxx/Documents/code/RLSchool/rlschool/init.py", line 15, in
from rlschool.liftsim import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/init.py", line 15, in
from rlschool.liftsim.environment import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/environment/init.py", line 16, in
from rlschool.liftsim.environment.animation import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/environment/animation/init.py", line 15, in
from rlschool.liftsim.environment.animation.rendering import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/environment/animation/rendering.py", line 25, in
class Render(pyglet.window.Window):
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/init.py", line 335, in getattrimport(import_name)
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/window/init.py", line 1865, in
from pyglet.window.cocoa import CocoaWindow as Window
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/window/cocoa/init.py", line 44, in
from pyglet.canvas.cocoa import CocoaCanvas
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/canvas/init.py", line 102, in
from pyglet.canvas.cocoa import CocoaDisplay as Display
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/canvas/cocoa.py", line 41, in
from pyglet.libs.darwin.cocoapy import CGDirectDisplayID, quartz, cf
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/libs/darwin/init.py", line 36, in
from .cocoapy import
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/libs/darwin/cocoapy/init.py", line 37, in
from .cocoalibs import
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/libs/darwin/cocoapy/cocoalibs.py", line 20, in
cf.CFStringCreateWithCString.restype = c_void_p
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/ctypes/init.py", line 361, in getattr
func = self.getitem(name)
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/ctypes/init.py", line 366, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, CFStringCreateWithCString): symbol not found
system: Mac Big Sur 11.4 python 3.6 pyglet 1.5.0
Error occurs when import rlschool:
Traceback (most recent call last): File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/init.py", line 329, in getattr return getattr(self._module, name) AttributeError: 'NoneType' object has no attribute 'Window'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in
File "/Users/xxx/Documents/code/RLSchool/rlschool/init.py", line 15, in
from rlschool.liftsim import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/init.py", line 15, in
from rlschool.liftsim.environment import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/environment/init.py", line 16, in
from rlschool.liftsim.environment.animation import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/environment/animation/init.py", line 15, in
from rlschool.liftsim.environment.animation.rendering import
File "/Users/xxx/Documents/code/RLSchool/rlschool/liftsim/environment/animation/rendering.py", line 25, in
class Render(pyglet.window.Window):
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/init.py", line 335, in getattr
import(import_name)
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/window/init.py", line 1865, in
from pyglet.window.cocoa import CocoaWindow as Window
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/window/cocoa/init.py", line 44, in
from pyglet.canvas.cocoa import CocoaCanvas
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/canvas/init.py", line 102, in
from pyglet.canvas.cocoa import CocoaDisplay as Display
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/canvas/cocoa.py", line 41, in
from pyglet.libs.darwin.cocoapy import CGDirectDisplayID, quartz, cf
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/libs/darwin/init.py", line 36, in
from .cocoapy import
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/libs/darwin/cocoapy/init.py", line 37, in
from .cocoalibs import
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/site-packages/pyglet/libs/darwin/cocoapy/cocoalibs.py", line 20, in
cf.CFStringCreateWithCString.restype = c_void_p
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/ctypes/init.py", line 361, in getattr
func = self.getitem(name)
File "/Users/xxx/opt/miniconda3/envs/houseexpo/lib/python3.6/ctypes/init.py", line 366, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, CFStringCreateWithCString): symbol not found