osx - Can't install scikit-learn in Python -
hi i'm trying install scikit-learn in python on mac, failed. having idea how fix this? thanks! error message follows.
error message
command /usr/bin/python -c "import setuptools, tokenize;file='/private/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-ufi2wg-record/install-record.txt --single-version-externally-managed --compile failed error code 1 in /private/tmp/pip_build_root/scikit-learn
storing debug log failure in /users/yuxinsun/library/logs/pip.log
pip.log this. (sorry have change little links in pip.log since can't attach more 2 links, think links not crucial)
/usr/local/bin/pip run on sun mar 23 02:25:36 2014
downloading/unpacking scikit-learn
getting page https://pypi.python.org/simple/scikit-learn/
urls search versions scikit-learn:
link - pypi.python.org/simple/scikit-learn/
analyzing links page link - pypi.python.org/simple/scikit-learn/
skipping link link - pypi.python.org/packages/2.6/s/scikit-learn/scikit-learn-0.10.win32-py2.6.exe#md5=eae1e20fc4d7ebc3ec2d1c31cb5eb1a5 (from link - pypi.python.org/simple/scikit-learn/); unknown archive format: .exe
skipping link link - pypi.python.org/packages/2.6/s/scikit-learn/scikit-learn-0.11.win32-py2.6.exe#md5=d585305053461699b48ffbb176a16ca8 (from link - pypi.python.org/simple/scikit-learn/); unknown archive format: .exe
skipping link link - pypi.python.org/packages/2.6/s/scikit-learn/scikit-learn-0.12.1.win32-py2.6.exe#md5=0a352a8087c581d4c75cc2ad4ec043b2 (from link - pypi.python.org/simple/scikit-learn/); unknown archive format: .exe
skipping link link - pypi.python.org/packages/2.6/s/scikit-learn/scikit-learn-0.12.win32-py2.6.exe#md5=3fdb37b8754167fb2ddde035306cf4ae (from link - pypi.python.org/simple/scikit-learn/); unknown archive format: .exe
skipping link link - pypi.python.org/packages/2.6/s/scikit-learn/scikit-learn-0.13.1.win32-py2.6.exe#md5=6fcfd76f705f30c4fabaece0832026fc (from link - pypi.python.org/simple/scikit-learn/); unknown archive format: .exe
@
"~/library/logs/pip.log" 1413l, 93793c
i ran same error pip install -u scikit-learn
on ubuntu 14.04. believe it's insufficient permissions issue on file /private/tmp/pip_build_root/scikit-learn/setup.py
. resolved elevating permissions on pip sudo pip install -u scikit-learn
Comments
Post a Comment