-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Trouble building caffe on Ubuntu 18.04 #6720
Comments
The issue is resolved, I had to make the following changes in From
To
|
hello ,did you fix the problem like that ?I have trouble in buidlding caffe in cpu version |
https://medium.com/@atinesh/caffe-installation-on-ubuntu-18-04-lts-python-3-6-e76375f0d353 For CPU version you might need to make some changes in |
Hi Can anyone please take a look at my issue? adeelz92/Install-Caffe-on-Ubuntu-16.04-Python-3#6 I have been referring to https://github.com/adeelz92/Install-Caffe-on-Ubuntu-16.04-Python-3 and I referred the https://medium.com/@atinesh/caffe-installation-on-ubuntu-18-04-lts-python-3-6-e76375f0d353 . But it seems my issue still exists as in Makefile.config AR -o .build_release/lib/libcaffe.a then I changed to AR -o .build_release/lib/libcaffe.a May I please know what should I do next in order to fix this issue as I am still learning this concept and any suggestions or advice would really help me learn faster. I always make clean and make all after each fail builds. |
Did you install the libboost? |
Yes I did install libboost using the command that you suggested and the line is pointing towards correct python version. Making python 3.5 work with Caffe has been an issue from pretty long time as there is lot to be taken care of such as version of each dependency it took me a while to figure out to solve this issue I had to reinstall my protobuf (downgrade) yesterday to make it work accordingly to all the libraries and dependency parallely. Hence I am still not sure if that is the solid fix for all who got this type of error as it mainly depends on installation hardware, installation procedure, methods of installation of dependencies and libraries. Thanks |
it did not work i change like this but it is also can not find python3.6 |
make sure your system is pointing towards right python version check this out if this helps. Also check if there are duplicate python versions installed in diffterent location or system might be having multiple python version. https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux. Don't remove if you have multiple python version installed it might break your system just switch to different one. |
@spurani my system is default python3.6 ,at that time i set default python3.6 by soft link and when i eexecute python or python3.6,it all show python3.6.8 |
but when execute cmake .. ,the configure result is -- Install: always Find python2.7 |
Hello @cqray1990 I have also written blogs for installing caffe on I have fixed all the things in the blog and it should work now. I have tried all the steps in my system and it worked, follow all the steps mentioned in the blog and it should work fine, If you still face any issue let me know Caffe Installation on Ubuntu 18.04 LTS (Python 3.6) |
My problem with the same error message was that I was missing libatlas-base-dev. After installing it with sudo apt-get install libatlas-base-dev it finally works! |
Issue summary
I am trying to install caffe, after issuing the following command from the caffe root directory
$ make all -j4
I am getting an error
Dependencies installed
System configuration
Configuration file
Makefile.config
The text was updated successfully, but these errors were encountered: