Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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/

like image 872
Berendschot Avatar asked May 07 '26 18:05

Berendschot


1 Answers

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

like image 108
damienfrancois Avatar answered May 09 '26 08:05

damienfrancois



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!