Open jefio opened 6 years ago
Same error! Even removing the postfix 3 does not help.
Same problem here :/
Try installing boost-python3
instead - I had the same warnings / errors and it worked for me.
@cpacker Thank you! Your suggestion helped me run pip3 install -e $ROBOSCHOOL_PATH
successfully. However I still ran into other problems afterwards. I ended up doing this:
brew reinstall boost-python --without-python --with-python3 --build-from-source
by brew install boost-python3
pip3 install -e $ROBOSCHOOL_PATH
, I had to edit roboschool/cpp-household/render-simple.cpp
and roboschool/cpp-household/render-glwidget.cpp
(see how and why here)After that I was finally able to run the two examples from the README:
python $ROBOSCHOOL_PATH/agent_zoo/RoboschoolHumanoidFlagrun_v0_2017may.py
python $ROBOSCHOOL_PATH/agent_zoo/demo_race2.py
I had the same issue and simply installing boost-python3 didn't help (not quite).
I checked the /usr/local/lib directory where boost_python3 library is supposed to be placed and it's where gcc will search for libraries during linking. It turns out the intended library was named:
libboost_python36.a
libboost_python36.dylib
rather than "libboost_python3.a" or "libboost_python3. dylib".
I modified the Makefile inside the /roboschool/cpp-household directory:
"BOOST_PYTHON3_POSTFIX = 3" to "BOOST_PYTHON3_POSTFIX = 36"
Then installation succeeded:
"Successfully installed roboschool"
After installing boost-python3 by brew install boost-python3
, try the following code:
ln -s /usr/local/lib/libboost_python36.a /usr/local/lib/libboost_python3.a
ln -s /usr/local/lib/libboost_python36.dylib /usr/local/lib/libboost_python3.dylib
Using mac OS X 10.13.3, anaconda python 3. Following the installation instructions,
brew reinstall boost-python --without-python --with-python3 --build-from-source
succeeds but outputs the following warnings:After that,
pip install -e $ROBOSCHOOL_PATH
fails with the following error: