Berendschot Berendschot - 2 months ago 23
Python Question

setuptools easy_install mac error

I'm trying to setup easy_install on my mac.
But I'm getting the following error.


Installing Setuptools running install Checking .pth file support in
/Library/Python/2.7/site-packages/ error: can't create or remove files
in install directory
The following error occurred while trying to add or remove files in
the installation directory:

[Errno 13] Permission denied:
'/Library/Python/2.7/site-packages/test-easy-install-789.pth'

The installation directory you specified (via --install-dir, --prefix,
or the distutils default setting) was:

/Library/Python/2.7/site-packages/

Answer

Try again using sudo python ... to be able to write to '/Library/Python/2.7/site-packages/

Comments