Milk Installation issue on Ubuntu 11.10 and 12.04

87 views
Skip to first unread message

Sankar

unread,
Mar 22, 2013, 3:31:06 AM3/22/13
to milk-...@googlegroups.com
Sir,

I have [compile] problems when installing Milk on a Ubuntu 11.10 and then on a 12.04 server

Here is the  output I get while installing (I tried both using pip and then downloading the milk archive and using setup.py)

Appreciate your inputs

Thanks
Sankar
......

building extension "milk.supervised._svm" sources

build_src: building npy-pkg config files

running build_py

running build_ext

customize UnixCCompiler

customize UnixCCompiler using build_ext

customize UnixCCompiler

customize UnixCCompiler using build_ext

building 'milk.supervised._lasso' extension

compiling C++ sources

C compiler: g++ -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC



compile options: '-I/home/ubuntu/anaconda/lib/python2.7/site-packages/numpy/core/include -I/home/ubuntu/anaconda/include/python2.7 -c'

extra options: '-std=c++0x'

g++: milk/supervised/_lasso.cpp

g++: milk/supervised/_lasso.cpp

milk/supervised/_lasso.cpp:10:30: fatal error: eigen3/Eigen/Dense: No such file or directory

compilation terminated.

milk/supervised/_lasso.cpp:10:30: fatal error: eigen3/Eigen/Dense: No such file or directory

compilation terminated.

error: Command "g++ -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/ubuntu/anaconda/lib/python2.7/site-packages/numpy/core/include -I/home/ubuntu/anaconda/include/python2.7 -c milk/supervised/_lasso.cpp -o build/temp.linux-x86_64-2.7/milk/supervised/_lasso.o -std=c++0x" failed with exit status 1

----------------------------------------
Command /home/ubuntu/anaconda/bin/python -c "import setuptools;__file__='/tmp/pip-build/milk/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ShK9Av-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build/milk
Storing complete log in /home/ubuntu/.pip/pip.log

Luis Pedro Coelho

unread,
Mar 22, 2013, 6:43:18 AM3/22/13
to milk-...@googlegroups.com
Hi,

On Ubuntu, you should run

sudo apt-get install python-numpy python-scipy libeigen3-dev

to get all dependencies.

HTH
--
Luis Pedro Coelho

LxMLS 2013: http://lxmls.it.pt/2013/
> --
> You received this message because you are subscribed to the Google Groups "milk users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to milk-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Sankar

unread,
Mar 22, 2013, 10:47:11 AM3/22/13
to milk-...@googlegroups.com
Thank you. Resolved.

Sankar
Reply all
Reply to author
Forward
0 new messages