caffe icon indicating copy to clipboard operation
caffe copied to clipboard

boost --with-python required on osx for pycaffe target

Open ghost opened this issue 12 years ago • 4 comments

It appears that a recent change to the boost brew recipe makes building boost_python optional. Installing boost via:

brew install --build-from-source --with-python --fresh -vd boost

causes the library boost_python to be generated and fixes the errors when doing make pycaffe

ghost avatar May 29 '14 04:05 ghost

Thanks for the heads-up. Bonus points to you if you submit a PR with an update to the docs!

Le mercredi 28 mai 2014, Rob Currie [email protected] a écrit :

It appears that a recent change to the boost brew recipe makes building boost_python optional. Installing boost via:

brew install --build-from-source --with-python --fresh -vd boost

causes the library boost_python to be generated and fixes the errors when doing make pycaffe

— Reply to this email directly or view it on GitHub https://github.com/BVLC/caffe/issues/465.

Evan Shelhamer

shelhamer avatar May 29 '14 16:05 shelhamer

et. voila:

https://github.com/BVLC/caffe/pull/466

(my first ever so be gentle :-)

ghost avatar May 29 '14 21:05 ghost

Closing, fixed by #466. Thanks!

shelhamer avatar Jun 08 '14 20:06 shelhamer

brew install --build-from-source --with-python --fresh -vd boost is not installing boost_python lib files .. Please refer https://github.com/Homebrew/homebrew/pull/32704 , that explains that boost no longer installs python .. I am still trying to install boost python , any advice helps as this method is not working

sanjeev87 avatar Sep 30 '14 19:09 sanjeev87