MacOSX Install Scikit-learn error OSError: [Errno 1] Operation not permitted:

Source: Internet
Author: User

Exception:traceback (most recent call Last): File"/library/python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", line211,inchMain status=self.run (options, args) File"/library/python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", line311,inchRun Root=Options.root_path, File"/library/python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", line640,inch InstallRequirement.uninstall (auto_confirm=True) File"/library/python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line716,inchUninstall Paths_to_remove.remove (auto_confirm) File"/library/python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_uninstall.py", line the,inchRemove renames (path, New_path) File"/library/python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/utils/__init__.py", line315,inchrenames Shutil.move (old, new) File"/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/shutil.py", line302,inchmove copy2 (SRC, real_dst) File"/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/shutil.py", line131,inchcopy2 copystat (src, DST) File"/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/shutil.py", line103,inchCopystat os.chflags (DST, St.st_flags) OSError: [Errno1] Operation not permitted:'/var/folders/tx/22hzdby50gg4cbnzx_39c5dm0000gn/t/pip-zij8uf-uninstall/system/library/frameworks/ Python.framework/versions/2.7/extras/lib/python/numpy-1.8.0rc1-py2.7.egg-info'

Solution Solutions

Install --upgrade pipsudoinstall numpy--upgrade--ignore-installed sudo Install scipy--upgrade--ignore-installedsudoinstall Scikit-learn-- Upgrade--ignore-installed

MacOSX Install Scikit-learn error OSError: [Errno 1] Operation not permitted:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.