You are not logged in.
I installed numpy, matplotlib, pandas using pip2 for Python 2.7 sucessfully.
When I first attempted to install scipy using pip it failed citing "missing fortran compiler".
After I installed g95 it goes some steps further before stopping.
It raised the following after I tried to install scikit-learn using pip2:
/bin///ld: cannot find -lf95
/bin///ld: cannot find -lf95
/bin///ld: cannot find -lgcc
/bin///ld: cannot find -lf95
/bin///ld: cannot find -lf95
/bin///ld: cannot find -lgcc
error: Command "/usr/bin/g95 -shared -shared build/temp.linux-x86_64-2.7/sklearn/cluster/_k_means.o
-L/usr/lib64 -L/usr/lib -Lbuild/temp.linux-x86_64-2.7 -lcblas -lm -lpython2.7
-o build/lib.linux-x86_64-2.7/sklearn/cluster/_k_means.so" failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/scikit-learn/setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record
/tmp/pip-8d73m5-record/install-record.txt --single-version-externally-managed --compile failed with
error code 1 in /tmp/pip_build_root/scikit-learn
Traceback (most recent call last):
File "/usr/bin/pip2", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 185, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 50: ordinal not in range(128)
Do I need to install any other dependancies, in case if missing ?
I have also tried using the AUR packages and using pacman but they fail to retrieve the mirrors/URLS.
Is there any other way to install scipy & scikit-learn which are necessary for me to complete my Machine learning setup with Python.
Last edited by rafalizou (2015-05-09 15:31:55)
Offline
It seems that pip2 was using some packages that required particular intel gcc/mkl compliers/libraries (and were huge) that were missing in my system.
I used the community specific scipy & scikit-learn packages that installed seamlessly with Yaourt.
Offline