You are not logged in.
I have installed Caffe via AUR but I can't seem to import it in both python2 and python3. How do I fix this?
Offline
Provide details. What exactly have you installed? Have you used pacman to see, what files belong to that package (pacman manpage)?
EDIT: I would try it myself, but I am reluctant to have a package conflict with a package called "blas" for personal reasons.
Last edited by Awebb (2016-07-30 14:20:17)
Offline
See the AUR comments. Back packaging.
Offline
Hi guys, after the hefty and long installation worth 500MB or more, I am somehow still missing several dependencies which are not installed because it gives an errror of "python2-networkx: /usr/lib/python2.7/site-packages/networkx/version.pyc exists in filesystem" for the required libraries. I read that this is because multiple files are in conflict. But I've many libraries that are in conflict. But actually I do have several of the same libraries installed already before Caffe wants to install it, so how do I get Caffe to detect the changes? Furthermore, I've tried yaourt caffe multiple times and did this actually reduce my disk space?
All im left with at this directory: /tmp/yaourt-tmp-user/aur-caffe-git/PKGBUILD is a Makefile.config and PKGBUILD file, and classify-print-results.py. Why don't this work?
Last edited by bigwhale99 (2016-07-30 14:42:47)
Offline
Stop using yaourt, until you fully understand how the AUR works. Read the AUR and makepkg wiki articles. If typing "yaourt caffe" gives you caffe-git, then yaourt is probably drunk and needs to go a bit slower on the booze in the future.
Offline
I see. Now I'm quite stuck, there are multiple dependencies most of which I have installed via pacman, but there are still some remaining libraries like openblas-lapack that I cannot install via pacman as it gives an error of "target not found". Installing via sudo pip2 install openblas-lapack didn't work as the requirement is satisfied. Why doesn't pacman recognize that my pip2 has already installed the required libraries?
Offline
Why doesn't pacman recognize that my pip2 has already installed the required libraries?
How should it? I think it's time to skim through the beginner's guide and read all sections you're not entirely comfortable with again, and then the pacman article.
Offline
@bigwhale99,
Are you still using Manjaro or Arch? What is the output of uname -a?
Offline
Hi, sorry for the late reply. I have spent a couple of days buying a new hard disk, backing up and have changed to pure arch now. My uname -a output is:
Linux bigwhale 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64 GNU/Linux
Is it due to the linux kernel being too new?
Offline
bigwhale99, i think you are trying to build the caffe-git package ?
several of it's dependencies are also in the aur and will have to be build/installed before you can build caffe-git .
a quick check already revealed 2 other aur dependencies besides openblas-lapack .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline