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.

Collecting pip
  Using cached pip-6.0.3-py2.py3-none-any.whl
Installing collected packages: pip

  Exception:
  Traceback (most recent call last):
    File "/var/folders/53/d1q9qj6j0bg6kdnnvpy13hn80000gp/T/tmpENervc/pip.zip/pip/basecommand.py", line 215, in main
      status = self.run(options, args)
    File "/var/folders/53/d1q9qj6j0bg6kdnnvpy13hn80000gp/T/tmpENervc/pip.zip/pip/commands/install.py", line 347, in run
      root=options.root_path,
    File "/var/folders/53/d1q9qj6j0bg6kdnnvpy13hn80000gp/T/tmpENervc/pip.zip/pip/req/req_set.py", line 548, in install
      **kwargs
    File "/var/folders/53/d1q9qj6j0bg6kdnnvpy13hn80000gp/T/tmpENervc/pip.zip/pip/req/req_install.py", line 751, in install
      self.move_wheel_files(self.source_dir, root=root)
    File "/var/folders/53/d1q9qj6j0bg6kdnnvpy13hn80000gp/T/tmpENervc/pip.zip/pip/req/req_install.py", line 960, in move_wheel_files
      isolated=self.isolated,
    File "/var/folders/53/d1q9qj6j0bg6kdnnvpy13hn80000gp/T/tmpENervc/pip.zip/pip/wheel.py", line 234, in move_wheel_files
      clobber(source, lib_dir, True)
    File "/var/folders/53/d1q9qj6j0bg6kdnnvpy13hn80000gp/T/tmpENervc/pip.zip/pip/wheel.py", line 205, in clobber
      os.makedirs(destdir)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
      mkdir(name, mode)
  OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pip

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
dstufftcommented, Jan 2, 2015

You’re attempting to install to the system while you don’t have permissions to do so. You need to either use sudo get-pip.py or get-pip.py --user.

0reactions
pradyunsgcommented, Oct 3, 2017

should I use “–user” everytime I use pip for something?

Yep. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Errors when i try to install pip with get-pip.py on windows 10
In order to run get-pip.py you need make sure that you are in the directory where it is installed in. For instance i...
Read more >
get-pip.py is triggering a Syntax Error on Python 2.7 #9520
An error occurs. Output. Paste the output of the steps above, including the commands themselves and pip's output/traceback etc.
Read more >
Why does "get-pip.py" complain about invalid syntax?
I have run "python3 get-pip.py --user". The version of python that I have is "3.5.2". So, it looks like the version is a...
Read more >
How to Install Pip on Windows - ActiveState
One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot...
Read more >
Pypi deploy fails for Python 2.7 - Travis CI Community
I have a Pypi deploy job for Python 2.7. It used to work fine, but today it fails due to get-pip.py. My deploy...
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