lab
                                
                                
                                
                                    lab copied to clipboard
                            
                            
                            
                        ImportError: deepmind_lab.so: undefined symbol: PyString_Type error occurred when I was running DeepMind Lab
My configuration environment is ubuntu16.04 PY3.6 bazel as the latest version

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, that does look a bit like a Python version confusion. Could you try the
bazel runcommand with the additional flag--python_version=PY3?
I think it's missing something,Because I could make a mistake directing the package,import deepmind_lab
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: https://github.com/bazelbuild/bazel/issues/4815#issuecomment-460777113
Hm... this may be something rather silly, like bazel just using
pythonas 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 https://github.com/deepmind/lab/issues/142 https://github.com/deepmind/lab/issues/223
Ah, very good, I'm glad!