Fixing permission issues with Python on MacOSX

Fixing permission issues with Python on MacOSX

I have some scripts written in python on my computer. Those scripts require some external packages, such as google protobuf or pycrypto.

To install them, I used either pip or easy_install, as root. Now the problem is that some of those packages were only available when python was run as root: pretty annoying!

The solution is simple: fix the read and execute rights of the Python package directory:

sudo chmod -R ugo+rX /Library/Python/2.7/site-packages/

NB: this is for Python 2.7, you may need to adjust the path depending on which version you’re using.

396 thoughts on “Fixing permission issues with Python on MacOSX

  1. Pingback: sildenafil source
  2. Pingback: i need viagra
  3. Одновременно с этим существует и другая сторона формирования и организации высказывания.

  4. Одновременно с этим существует и другая сторона формирования и организации высказывания.

  5. Pingback: for daily use
  6. Pingback: pakistan cialis
  7. Pingback: Nortriptyline
  8. Pingback: sildenafil 25 mg
  9. Pingback: viagra meaning

Leave a Reply

Your email address will not be published. Required fields are marked *