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
Solve the problem: "cannot find -lboost_python3" when using Python3 Ubuntu16.04 #4843
Comments
solved my problem thx ! |
Hi, I am in similar situation, which version of python and libboost did you use ? |
This solution did not work for me, unfortunately. Any reason why? |
I solved using cmake. I modified the cmakelist.txt, I changed the interpreter line : set(python_version "3.5.2" CACHE STRING "Specify which Python version to use"). And It worked! |
Great solution!@H-adorable |
I am building caffe under Ubuntu 16.04. The solution for me is to change |
Thank you. This has solved my question. |
I am building caffe in Ubuntu 16.04. For me changing boost_python3 to boost_python-py35 worked. "boost_python3-py35" did not work for me. |
For my Python 3.6 setup, something similar worked, |
thanks @minhaj3 |
For those who tried all methods mentioned above and still got the error, check if you have already installed libboost by running: |
Ive got multiple python versions using pyenv (3.8 and 3.7). But now when I do
|
I wanted to build Caffe and faced the same issue. Unfortunately, none of the answers work in my case. I checked the location of lboost_python by the following command: I found the lboost_python libraries and here are some of them:
Then in the Makefile.config file I changed the following line: |
Thank you so much for this! you are adorable love for everyone. God bless you |
您好!信件已收到
|
When
occurred.
Then I went to
search and found that the library file is in different name as
so I made a link by following command
which solved my problem.
Suggest that this step could add to Installation Guide
The text was updated successfully, but these errors were encountered: