Kautenja / nes-py

A Python3 NES emulator and OpenAI Gym interface
MIT License
235 stars 63 forks source link

Undefined symbol "_ZTVSt9basic_iosIcSt11char_traitsIcEE" #97

Open ManPython opened 6 months ago

ManPython commented 6 months ago

Describe the bug

Traceback (most recent call last):
  File "/usr/home/ManPython/venvpython311/bin/nes_py", line 5, in <module>
    from nes_py.app.cli import main
  File "/usr/home/ManPython/venvpython311/lib/python3.11/site-packages/nes_py/__init__.py", line 2, in <module>
    from .nes_env import NESEnv
  File "/usr/home/ManPython/venvpython311/lib/python3.11/site-packages/nes_py/nes_env.py", line 23, in <module>
    _LIB = ctypes.cdll.LoadLibrary(glob.glob(_LIB_PATH)[0])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/ctypes/__init__.py", line 454, in LoadLibrary
    return self._dlltype(name)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/ctypes/__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /usr/home/ManPython/venvpython311/lib/python3.11/site-packages/nes_py/lib_nes_env.cpython-311.so: Undefined symbol "_ZTVSt9basic_iosIcSt11char_traitsIcEE"

To Reproduce

Steps to reproduce the behavior:

  1. nes_py -r E:\roms\1.nes

Expected behavior

Run simple mario game.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

Additional context

nes_py-8.2.1.tar.gz