Reputation: 1063
I would like to install openpyxl-1.8.4 on Python 2.7 that comes with Mac Lion. My Python compiler is under system/library/Frameworks/Python.frameworks/Versions/2.7/bin. I tried
python2.7 setup.py install
and also
sudo python2.7 setup.py install
and seems to me none of them works. Am I missing something? I really appreciate your help.
Thanks
Upvotes: 1
Views: 9303
Reputation: 8868
Try the following steps :
Download the latest version of Openpyxl
from here
Extract the downloaded file (openpyxl-x.x.tar.gz
)
Open the Terminal
and navigate to the extracted folder ( typically \downloads\openpyxl-x.xx\
)
Run the following command in the Terminal :
python setup.py install
If you have the correct permissions set on the /Library/Python/x.x/site-packages folder, it should run a bunch of command automatically and installation should complete without any issues. If not, you would need read-write
permissions on just site-packages folder. If you come across any other error, the terminal command would prompt regarding that.
Upvotes: 1