python - pip install: Please check the permissions and owner of that directory -


while installing pip , python have ran says:

the directory '/users/parthenon/library/logs/pi' or parent directory not owned current user , debug log has been disabled. please check permissions , owner of directory. if executing pip sudo, may want -h flag.

because have install using sudo.

i had python , handful of libraries installed on mac, i'm running yosemite. had clean wipe , reinstall of os. i'm getting prompt , i'm having trouble figuring out how change it

before command line parthenon$ it's philips-mbp:~ parthenon$

i sole owner of computer , account on it. seems problem when upgrading python 3.4, nothing seems in right place, virtualenv isn't going expect to, etc.

i saw change on mac when went running 'pip' 'sudo pip'

adding '-h' sudo causes message go away me. e.g.

sudo -h pip install foo

'man sudo' tells me '-h' causes sudo set $home target users (root in case).

so appears pip looking $home/library/log , sudo default isn't setting home ~root. not surprisingly ~/library/log owned user rather root.

i suspect recent change in pip. i'll run 'sudo -h' work around.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -