ImportError: No module named caffe

I am trying to run Google Research DeepDream code on Mac OSX 10.9.5.
There are several dependencies I had to install. I am using Anaconda python distribution and I made sure I have all the required packages.

The hardest part is installing Caffe. I have ATLAS installed using fink. Then I collected coffee and pifaff. When I ran "make runtest" all tests passed. I also ran "make distribute".

When I start a laptop released from Google I get the following error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-8200bcb1df23> in <module>()
      7 from google.protobuf import text_format
      8 
----> 9 import caffe
     10 
     11 def showarray(a, fmt='jpeg'):

ImportError: No module named caffe

      

How can it be? What can I do to fix this?

+3


source to share





All Articles