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
https://www.jetbrains.com/pycharm/help/installing-uninstalling-and-upgrading-packages.html 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.Please, check the attached file "PyCharm gurobipy 1.png".
When I try to install it to user's site packages directory I have the following error:
Non-zero exit code.Please, check the attached file "PyCharm gurobipy 2.png".
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" (check the attached file "PyCharm gurobipy 3.png").
Besides, I reckon similar errors have occurred for other people when they tried to install other packages. For instance, see
http://stackoverflow.com/questions/32490546/python-pycharm-pbm-installing-lxml-cairosvg-directory-not-owned-by-currenI would appreciate any suggestions how to make gurobipy work on my Mac.
Best,
Vladimir.