Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79221
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Adam Funk <a24061@ducksburg.com> |
| Newsgroups | comp.lang.python |
| Subject | Permissions on files installed by pip? |
| Date | Thu, 16 Oct 2014 20:29:46 +0100 |
| Organization | $CABAL |
| Lines | 23 |
| Message-ID | <aui5hbxrim.ln2@news.ducksburg.com> (permalink) |
| X-Trace | individual.net A6HeMtKPpyVMMXFm2oL2mgsNDSsdcY6+gVMi6D36X0xrsDaTO1 |
| X-Orig-Path | news.ducksburg.com!not-for-mail |
| Cancel-Lock | sha1:EQ/Do54MQ1kjEU2Zy+tyvIINNNM= sha1:uj3MSUBgaA+nPHilcH9WnTyvvdo= |
| User-Agent | slrn/1.0.2 (Linux) |
| Xref | csiph.com comp.lang.python:79221 |
Show key headers only | View raw
I've been using the python-nltk package on Ubuntu, but I need ntlk 3.0 now. I used 'sudo aptitude purge python-nltk' to get rid of my existing installation, & followed instructions on the nltk website [1] starting at step 4 (since I already have python-pip & python-numpy packages installed). $ sudo pip install -U I couldn't get it to work, until I realized that the permissions & ownership on /usr/local/lib/python2.7/dist-packages were 'drwx--S--- root staff'. A 'chmod -R a+rX' on that directory seems to have fixed it. Is it normal for sudo pip install to set the permissions that way, or did I do something wrong? [1] http://www.nltk.org/install.html -- Master Foo once said to a visiting programmer: "There is more Unix-nature in one line of shell script than there is in ten thousand lines of C." --- Eric Raymond
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Permissions on files installed by pip? Adam Funk <a24061@ducksburg.com> - 2014-10-16 20:29 +0100
csiph-web