oceandye
oceandye

Reputation: 319

How do I successfully install OpenPYXL on Mac?

I want to install openpyxl on my Mac for a survey project that I am doing, however I ran into some issues in the process.

I typed pip install openpyxl in the terminal and I received an error message saying this:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/jdcal.py'
Consider using the `--user` option or check the permissions.

I am quite unfamiliar with how consoles work, can someone please help me? Currently running Python 3.

Upvotes: 3

Views: 25591

Answers (1)

Kənan Kazım
Kənan Kazım

Reputation: 66

Use sudo in front of the command to get temporary root permission
Eg: sudo pip install openpyxl

OR

you can use pip install --user openpyxl

Upvotes: 5

Related Questions