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.

552 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
  10. Pingback: tadalafil 5mg
  11. Pingback: viagra cost canada
  12. Pingback: viagra on line
  13. Pingback: herb viagra
  14. Pingback: gabapentin 100 mg
  15. Pingback: mom son viagra
  16. Pingback: generic norvasc
  17. Pingback: meloxicam
  18. Pingback: viagra replacement
  19. Pingback: cialis results
  20. Pingback: levitra 100
  21. Pingback: prednisone 10mg
  22. Magnificent goods from you, man. I’ve understand your stuff previous to and
    you’re just too fantastic. I actually like what you’ve acquired here, certainly like what you’re
    stating and the way in which you say it. You make it entertaining and you still care for to keep it
    smart. I cant wait to read far more from you. This is actually a wonderful site. http://droga5.net/

  23. Pingback: zanaflex sleep
  24. Pingback: cytotmeds.com
  25. Pingback: voltaren dosage
  26. Pingback: flagyl medication
  27. Pingback: cialis ingredients
  28. Pingback: virectin vs viagra
  29. Pingback: acyclovir dosage
  30. Pingback: keflex generation
  31. Pingback: clindamycin 300 mg

Leave a Reply

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