OSErrorの対処方法について教えてください。
Pyxelのインストールを進めていく中で、
'install_pyxel_examples'を実行しようとしたところ下記のエラーが出てしまいました。
環境はMACです。
<エラー内容>
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/install_pyxel_examples", line 5, in <module>
from pyxel.examples import install
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyxel/init.py", line 10, in <module>
from . import core # type: ignore
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyxel/core/init.py", line 42, in <module>
_lib = _load_library()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyxel/core/init.py", line 39, in _load_library
return cdll.LoadLibrary(lib_path)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/init.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib, 6): Symbol not found: __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcmm
Referenced from: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib
Expected in: /usr/lib/libstdc++.6.dylib
in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib
お手数をおかけしますが、ご回答のほどよろしくお願いします。
回答1件
あなたの回答
tips
プレビュー