OSX: Python packages fail to install, error message "/usr/local/bin: File Exists"

Posted by kylehotchkiss on Super User See other posts from Super User or by kylehotchkiss
Published on 2011-02-25T04:57:23Z Indexed on 2011/02/25 7:27 UTC
Read the original article Hit count: 553

Filed under:
|
|
|
|

I keep trying to install django and other python packages, and I keep getting the exact same error message:

Installing django-admin.py script to /usr/local/bin
error: /usr/local/bin: File exists

So I look to make sure that my /usr/local folder is okay. At first glance it appears okay, until I try cd-ing into my bin. It says it can't because it's not a directory. Peculiar, I thought, so then I tried a

Anchorage:local khotchkiss$ ls -a -l
total 26168
drwxr-xr-x   6 root  wheel       204 Dec 26 20:18 .
drwxr-xr-x@ 14 root  wheel       476 Feb 24 12:54 ..
-rwxr-xr-x@  1 root  wheel  13395080 Oct 22 23:04 bin
drwxr-xr-x   8 root  wheel       272 Dec 26 20:18 git
drwxr-xr-x   4 root  wheel       136 Dec 18 11:31 include
drwxr-xr-x  12 root  wheel       408 Dec 18 11:31 lib

And haven't a clue of what the 'bin' is, why its so large, and why its preventing me from installing python packages. Any clue?

© Super User or respective owner

Related posts about osx

Related posts about installation