I am trying to install Coach using Python 3.5/Ubuntu 16.04. I followed the tutorial very carefully, but when I tried to do pip3 install rl_coach, I met this failure:
Finished command: build_wx (0.859s)
Running command: build_py
Checking for /tmp/pip-install-vkxy99ml/wxPython/bin/waf-2.0.8...
"/data/home/xiaoyzhu/coach_env/bin/python3" /tmp/pip-install-vkxy99ml/wxPython/bin/waf-2.0.8 --wx_config=/tmp/pip-install-vkxy99ml/wxPython/build/wxbld/gtk3/wx-config --gtk3 --python="/data/home/xiaoyzhu/coach_env/bin/python3" --out=build/waf/3.5/gtk3 configure build
Setting top to : /tmp/pip-install-vkxy99ml/wxPython
Setting out to : /tmp/pip-install-vkxy99ml/wxPython/build/waf/3.5/gtk3
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for program 'python' : /data/home/xiaoyzhu/coach_env/bin/python3
Checking for python version >= 2.7.0 : 3.5.5
python-config : /data/anaconda/envs/py35/bin/python3.5-config
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes
Testing pyembed configuration : Could not build a python embedded interpreter
The configuration failed
(complete log in /tmp/pip-install-vkxy99ml/wxPython/build/waf/3.5/gtk3/config.log)
Command '"/data/home/xiaoyzhu/coach_env/bin/python3" /tmp/pip-install-vkxy99ml/wxPython/bin/waf-2.0.8 --wx_config=/tmp/pip-install-vkxy99ml/wxPython/build/wxbld/gtk3/wx-config --gtk3 --python="/data/home/xiaoyzhu/coach_env/bin/python3" --out=build/waf/3.5/gtk3 configure build ' failed with exit code 1.
Finished command: build_py (0.501s)
Finished command: build (0m1.361s)
Command '"/data/home/xiaoyzhu/coach_env/bin/python3" -u build.py build' failed with exit code 1.
----------------------------------------
Command "/data/home/xiaoyzhu/coach_env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vkxy99ml/wxPython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-4cx5vtxh/install-record.txt --single-version-externally-managed --compile --install-headers /data/home/xiaoyzhu/coach_env/include/site/python3.5/wxPython" failed with error code 1 in /tmp/pip-install-vkxy99ml/wxPython/
Looks like it cannot build a python embedded interpreter, but I have no idea on that. I tried to follow a few other threads in the online community but with no luck.
This happens when it tries to install wxPython, and I also tried to do pip install pyembed hoping to install pyembed manually but it's still showing the same error message.
Hi,
I am trying to install Coach using Python 3.5/Ubuntu 16.04. I followed the tutorial very carefully, but when I tried to do
pip3 install rl_coach
, I met this failure:Looks like it cannot build a python embedded interpreter, but I have no idea on that. I tried to follow a few other threads in the online community but with no luck.
This happens when it tries to install wxPython, and I also tried to do
pip install pyembed
hoping to install pyembed manually but it's still showing the same error message.Did I miss something?