DIGITS icon indicating copy to clipboard operation
DIGITS copied to clipboard

Instructions for Installation on a Mac

Open abhisheksimhadri opened this issue 11 years ago • 8 comments

Hi

Any instructions on installation on a Mac? It does in the Readme that it was tested and worked in Mac OSX.

thanks

abhisheksimhadri avatar Apr 26 '15 15:04 abhisheksimhadri

See #87

lukeyeager avatar Apr 27 '15 16:04 lukeyeager

Got it ... thank you 

 On Monday, 27 April 2015 10:17 PM, Luke Yeager <[email protected]> wrote:

See #87— Reply to this email directly or view it on GitHub.

abhisheksimhadri avatar Apr 28 '15 08:04 abhisheksimhadri

Hey ... the graphviz and gunicorn work fine.

The requirements are also easily installed with pip

running the server becomes a problem:

runme.sh doesn't work because the executable in the third line - digits/devserver doesn't run on OS X

manually running ./digits-devserver throws the following error:

Traceback (most recent call last): File "./digits-devserver", line 8, in from gevent import monkey; monkey.patch_all() ImportError: No module named gevent

However the module is installed with pip and works on importing gevent on the python prompt

abhisheksimhadri avatar May 03 '15 15:05 abhisheksimhadri

runme.sh doesn't work

The web installer is definitely not going to work on OSX. All of those binaries are built for Ubuntu 14.04. Try using the installation instructions in the README instead and see if you still have the gevent problem.

lukeyeager avatar May 04 '15 15:05 lukeyeager

Install worked fine.

The server doesn't start either by using digits-devserver or digits-server

Was anyone able to get it running on Mac OS X (Yosemite)???

abhisheksimhadri avatar May 04 '15 17:05 abhisheksimhadri

@abhisheksimhadri, did you figure it out? Several people have gotten it to work on OSX, and I haven't heard that they needed to do anything particularly difficult. It seems like you may have skipped this step.

lukeyeager avatar Jun 09 '15 18:06 lukeyeager

@lukeyeager .. Nope. Couldn't get it to work. caffe works fine. the lenet and mnist examples also run without a hitch. Also able to configure the relu layer etc.

However there seems to be some problem with the python wrapper. unable to import caffe. Also unable to run the DIGITS server. same problem ... no module named gevent

abhisheksimhadri avatar Jun 14 '15 09:06 abhisheksimhadri

You're going to have to be a little more specific with your bug report. Is unable to import caffe the actual error you're getting? When I built Caffe on a Mac, I ran into this issue: https://github.com/BVLC/caffe/issues/591. My guess is you need to adjust your Makefile.config to make sure you're using brew's python instead of the system standard version.

You're getting no module named gevent because you didn't install gevent. pip install gevent will install just that module. Following these instructions will ensure that you have all the python dependencies you need.

lukeyeager avatar Jun 15 '15 18:06 lukeyeager