Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > pip install, permission problem

Thread Tools

pip install, permission problem

Jabba Laci
Posts: n/a

I'm trying to install a pypi package with pip. The installation is
done, but the permissions are not set correctly, thus I cannot import
it as a normal user.
sudo pip install termcolor
/usr/local/lib/python2.6/dist-packages/ is created with
permissions 600

I can post-correct it manually, but there is something wrong going on
here... I have a hint but I'm not sure: as a normal user, I have
"umask 077" in my .bashrc. When I do sudo, maybe this setting is
inherited? But even if it's the case, pip install should change the
permissions correctly IMO.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a pip package Phlip Python 14 11-11-2009 11:39 PM
[ANN] BPT (Boxed Package Tool) 0.4a -- now with PIP support Giuseppe Ottaviano Python 0 05-15-2009 08:29 AM
Can't get Netbios to run over TC/PIP on XP Home - please help BigJoe Wireless Networking 5 06-24-2006 09:33 PM
PIP/Recording to VCR bmitd67 DVD Video 1 11-09-2005 06:57 PM
Re: PIP/Recording to VCR Gary A. Edelstein DVD Video 0 11-09-2005 06:50 PM