You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I follow the instructions from https://github.com/deepmind/lab to install lab at ubuntu 16.04, I get a "undefined symbol: _Py_ZeroStruct" error after executing the following command:
bazel run :python_module_test --define headless=glx
The full command line output is:
INFO: Found 1 target...
Target //:python_module_test up-to-date:
bazel-bin/python_module_test
INFO: Elapsed time: 0.230s, Critical Path: 0.01s
INFO: Running command line: bazel-bin/python_module_test
Traceback (most recent call last):
File "/home/rico/.cache/bazel/_bazel_rico/4b96fd176693dd396977e881a84a79f8/execroot/lab/bazel-out/local-fastbuild/bin/python_module_test.runfiles/org_deepmind_lab/python/dmlab_module_test.py", line 26, in <module>
import deepmind_lab
ImportError: /home/rico/.cache/bazel/_bazel_rico/4b96fd176693dd396977e881a84a79f8/execroot/lab/bazel-out/local-fastbuild/bin/python_module_test.runfiles/org_deepmind_lab/deepmind_lab.so: undefined symbol: _Py_ZeroStruct
ERROR: Non-zero return code '1' from command: Process exited with status 1.
The text was updated successfully, but these errors were encountered:
Ahh, my Anaconda installation of python3 got in the way. "python" linked to python3 rather than python2. Removing the path to Anaconda in my ~/.bashrc solved the problem.
Thank you, Heinrich, for your quick and helpful reply!
Hi, when I follow the instructions from https://github.com/deepmind/lab to install lab at ubuntu 16.04, I get a "undefined symbol: _Py_ZeroStruct" error after executing the following command:
bazel run :python_module_test --define headless=glx
The full command line output is:
The text was updated successfully, but these errors were encountered: