Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example execution error #386

Open
opocaj92 opened this issue Aug 13, 2024 · 1 comment
Open

Example execution error #386

opocaj92 opened this issue Aug 13, 2024 · 1 comment

Comments

@opocaj92
Copy link

Hi everyone,
I've just installed the library in a fresh Python3 virtual environment, and everything went fine. However, when I try to run the example command python3 -m gfootball.play_game --action_set=full to validate my installation, I get the following error:

Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details __import__(pkg_name) File "/home/jacopo/PythonEnvs/marl_py38/lib/python3.8/site-packages/gfootball/__init__.py", line 17, in <module> from gfootball.env import scenario_builder File "/home/jacopo/PythonEnvs/marl_py38/lib/python3.8/site-packages/gfootball/env/__init__.py", line 21, in <module> from gfootball.env import config File "/home/jacopo/PythonEnvs/marl_py38/lib/python3.8/site-packages/gfootball/env/config.py", line 27, in <module> import gfootball_engine as libgame File "/home/jacopo/PythonEnvs/marl_py38/lib/python3.8/site-packages/gfootball_engine/__init__.py", line 43, in <module> from _gameplayfootball import * ImportError: /home/jacopo/PythonEnvs/marl_py38/lib/python3.8/site-packages/gfootball_engine/_gameplayfootball.so: undefined symbol: _ZN5boost10filesystem6detail28directory_iterator_constructERNS0_18directory_iteratorERKNS0_4pathEPNS_6system10error_codeE
How can I fix it? Anyone ever experienced it before?

@opocaj92
Copy link
Author

Following from this, when tried to do this again from scratch (this time inside a Docker image), I get the following:

Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details __import__(pkg_name) File "/usr/local/lib/python3.8/dist-packages/gfootball/__init__.py", line 17, in <module> from gfootball.env import scenario_builder File "/usr/local/lib/python3.8/dist-packages/gfootball/env/__init__.py", line 21, in <module> from gfootball.env import config File "/usr/local/lib/python3.8/dist-packages/gfootball/env/config.py", line 27, in <module> import gfootball_engine as libgame File "/usr/local/lib/python3.8/dist-packages/gfootball_engine/__init__.py", line 43, in <module> from _gameplayfootball import * SystemError: initialization of _gameplayfootball raised unreported exception

Anyone has any idea why this is happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant