Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcoded python2.7 in Makefile #3372

Open
mtngld opened this issue Nov 23, 2015 · 2 comments
Open

Hardcoded python2.7 in Makefile #3372

mtngld opened this issue Nov 23, 2015 · 2 comments

Comments

@mtngld
Copy link

mtngld commented Nov 23, 2015

PYTHON_LIBRARIES is hardcoded python2.7
https://github.com/BVLC/caffe/blob/master/Makefile#L194

I am using a system that does not have python2.7 and In addition to changing PYTHON_LIB value in the Makefile.config I also had to change that line to PYTHON_LIBRARIES := boost_python python3.4m in order to succefully compile pycaffe.

I am not sure if the solution is to expose PYTHON_LIBRARIES to Makefile.config or to create a more intelligent logic inside Makefile to figure out the python library version.

@untom
Copy link

untom commented Dec 17, 2015

I just ran into this issue myself, it would be nice if this could be fixed.

@lukeyeager
Copy link
Contributor

Try using CMake. The TravisCI build uses CMake when testing python3.

I think we should get rid of the manual Make build entirely (#3351).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants