ImportError: deepmind_lab.so: undefined symbol: PyString_Type error occurred when I was running DeepMind Lab
o00000o opened this issue · comments
Hm, that does look a bit like a Python version confusion. Could you try the bazel run
command with the additional flag --python_version=PY3
?
Hm... this may be something rather silly, like bazel just using python
as the interpreter, not python3
. Would it at all be possible for you to change your system symlinks (e.g. for Debianesque systems there's a "python-is-python3" package that does that)?
Or, very simply, you can just run the program directly, not with bazel, after you built it:
python3 bazel-bin/python_random_agent [...]
Otherwise maybe try this idea: bazelbuild/bazel#4815 (comment)
Hm... this may be something rather silly, like bazel just using
python
as the interpreter, notpython3
. Would it at all be possible for you to change your system symlinks (e.g. for Debianesque systems there's a "python-is-python3" package that does that)?Or, very simply, you can just run the program directly, not with bazel, after you built it:
python3 bazel-bin/python_random_agent [...]
Otherwise maybe try this idea: bazelbuild/bazel#4815 (comment)
Hello, thank you very much. I have solved this problem.It's all about numpy configuration.There's a solution to both of these #142 #223
Ah, very good, I'm glad!