Error related to folder ownership while trying to add guropiby package to Pycharm project

Hi everyone,

I have a mistake that sometimes appears for PyCharm projects as far as I know.
I am working on Mac OS X 10.11.3 (El Captain) and PyCharm 5.0.4.
I am using Users profile (with no administrative rights) but I also have an administrator profile and I use its password to install programs.

When I try to install package gurobipy via project tool window (the link explains how to do it) I have the following error:
execution error: The directory 'Users/admin/Library/Caches/pip/http' or its parent directory is not owned by current user and the cache has been disabled.

When I try to install it to user's site packages directory I have the following error:
Non-zero exit code.

I am using the default Python distribution 2.7.10 that comes together with Mac OS X and located in the directory "/usr/bin/python2.7"

Besides, I reckon similar errors have occurred for other people when they tried to install other packages. For instance, see

I would appreciate any suggestions how to make gurobipy work on my Mac.


Please sign in to leave a comment.