question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing on Mac OS X 10.11 (El Capitan)

See original GitHub issue

When attempting to install on a bare Mac OS X 10.11 (El Capitan) laptop I get the following error. Not seeing documentation on how to get around.

User-MacBook-Air:~ user$ sudo pip install boto3
[..output..]
Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", line 211, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", line 311, in run
    root=options.root_path,
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", line 640, in install
    requirement.uninstall(auto_confirm=True)
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 716, in uninstall
    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 125, in remove
    renames(path, new_path)
  File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/utils/__init__.py", line 315, in renames
    shutil.move(old, new)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
    copy2(src, real_dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
    copystat(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
    os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/tmp/pip-Xfm7d1-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

49reactions
chadnealcommented, Dec 8, 2015

This might work if you need to use the system python over brew’s. sudo pip install --ignore-installed six boto3

3reactions
jonahadmincommented, Oct 17, 2017

As an experiment, instead of using pip I used easy_install, and that worked perfectly. sudo easy_install boto3

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to download macOS - Apple Support
Open your Applications folder and double-click the macOS installer, named Install [ Version Name ]. Follow the onscreen instructions to install ...
Read more >
Upgrade to Mac OS X 10.11 El Capitan
The Steps for Upgrading to Mac OS X El 10.11 Capitan · Visit the Mac App Store. · Locate the OS X El...
Read more >
How to install OS X El Capitan - Macworld
To download El Capitan, launch the App Store app in your Applications folder (or go to Apple menu > App Store). You'll probably...
Read more >
How to Upgrade Install OS X El Capitan on Your Mac - Lifewire
Download OS X 10.11 (El Capitan) From the Mac App Store ... Use a web browser to navigate to the El Capitan upgrade...
Read more >
How to Download and Install Mac OS X 10.11 El Capitan
Part 1. Preparing Mac Device for the Installation of Mac OS X El Capitan · Check Your Mac - Check whether your Mac...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found