python...@raf.org
unread,Mar 25, 2013, 6:34:35 PM3/25/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python...@googlegroups.com
Eric Smith wrote:
> Hello,
>
> I have downloaded and placed the xlrd package and contents in the folder I
> wish it to be in. I open terminal, run it as advised on the website with
> install and receive the below message.
>
> -------
>
> Erics-MacBook-Air:xlrd-0.9.0 EricSmith$ python setup.py install
> running install
> running build
> running build_py
> running build_scripts
> running install_lib
> creating /Library/Python/2.7/site-packages/xlrd
> error: could not create '/Library/Python/2.7/site-packages/xlrd':
> Permission denied <=======ISSUE
>
> -------
>
> Please let me know if you have had this issue or know what to do.
>
> Thank you,
> Eric
put "sudo" at the start of the command to get the permissions
needed to install the package.
i.e. sudo python setup.py install
p.s. "sudo pip-2.7 install xlrd" is an easier way to install xlrd
(once you have pip installed) as it will download it for you as well.