You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to Visbrain and naively tried to run a demo on my new M1 Macbook Air.
I used Anaconda Navigator to create an environment and ran "pip install -U visbrain" from that environment's terminal window. After updates, I typed "from visbrain.gui import Brain" and.... BOOM! (see details below)
I tried multiple versions of python but that didn't make a difference.
I'm guessing that this has to do with Big Sur???
Any suggestions?
Thanks!
Dan
from visbrain.gui import Brain
Traceback (most recent call last):
File "", line 1, in
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/visbrain/gui/init.py", line 1, in
from .brain import Brain # noqa
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/visbrain/gui/brain/init.py", line 2, in
from .brain import Brain
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/visbrain/gui/brain/brain.py", line 11, in
import vispy.scene.cameras as viscam
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/vispy/init.py", line 30, in
from .util import config, set_log_level, keys, sys_info # noqa
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/vispy/util/init.py", line 14, in
from . import fonts # noqa
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/vispy/util/fonts/init.py", line 13, in
from ._triage import _load_glyph, list_fonts # noqa, analysis:ignore
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/vispy/util/fonts/_triage.py", line 14, in
from ._quartz import _load_glyph, _list_fonts
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/vispy/util/fonts/_quartz.py", line 12, in
from ...ext.cocoapy import cf, ct, quartz, CFRange, CFSTR, CGGlyph, UniChar,
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/site-packages/vispy/ext/cocoapy.py", line 930, in
cf.CFStringCreateWithCString.restype = c_void_p
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/lib/python3.6/ctypes/init.py", line 361, in getattr
func = self.getitem(name)
File "/Users/dan/opt/anaconda3/envs/VisBrain_Dan/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
The text was updated successfully, but these errors were encountered:
Raphael,
I googled around and actually found the same web page you referenced.
I have tried multiple versions of Python but it makes no difference.
Although I admit to being somewhat new to python, I'm a little confused why
this is (apparently) dependent on the OS. I thought that the whole point of
virtual environments was to get away from such things.
Sigh!
Dan
I'm a little confused why this is (apparently) dependent on the OS. I thought that the whole point of virtual environments was to get away from such things. Sigh! Dan
In general you're right however, in that case, vispy (and therefore visbrain) uses OpenGL for the graphic rendering and apparently, Big sur doesn't include OpenGL anymore. See here for a description and possible workaround
I'm new to Visbrain and naively tried to run a demo on my new M1 Macbook Air.
I used Anaconda Navigator to create an environment and ran "pip install -U visbrain" from that environment's terminal window. After updates, I typed "from visbrain.gui import Brain" and.... BOOM! (see details below)
I tried multiple versions of python but that didn't make a difference.
I'm guessing that this has to do with Big Sur???
Any suggestions?
Thanks!
Dan
The text was updated successfully, but these errors were encountered: