Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80811
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <cameron@cskk.homeip.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'source,': 0.04; 'tree': 0.05; 'nicely': 0.07; 'paths': 0.07; 'subject:Question': 0.07; 'seemed': 0.09; 'setup.py': 0.09; 'subject:modules': 0.09; 'runs': 0.10; 'python': 0.11; 'itself.': 0.14; 'windows': 0.15; '"python': 0.16; '"python"': 0.16; '(just': 0.16; '--prefix': 0.16; '>the': 0.16; '>they': 0.16; 'collections': 0.16; 'distinct': 0.16; 'fetch': 0.16; 'forth.': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'rebuilding': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'subject:Hat': 0.16; 'supplied': 0.16; 'usual.': 0.16; 'subject:python': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'install': 0.23; 'header:User-Agent:1': 0.23; 'directory.': 0.24; 'effort.': 0.24; 'earlier': 0.24; 'cheers,': 0.24; 'skip:" 30': 0.26; 'task': 0.26; 'developing': 0.27; 'header :In-Reply-To:1': 0.27; 'point': 0.28; 'correct': 0.29; 'vendor': 0.30; 'work.': 0.31; 'are.': 0.31; 'fighting': 0.31; 'invoke': 0.31; 'project:': 0.31; 'anyone': 0.31; 'weeks': 0.32; 'option': 0.32; 'run': 0.32; 'linux': 0.33; '(i.e.': 0.33; 'proceed': 0.33; 'could': 0.34; 'problem': 0.35; 'but': 0.35; 'building': 0.35; 'executing': 0.36; 'installing': 0.36; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'application': 0.37; 'two': 0.37; 'project': 0.37; 'problems': 0.38; 'received:211': 0.38; 'star': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'system.': 0.39; 'space': 0.40; 'days': 0.60; 'easy': 0.60; 'took': 0.61; 'further': 0.61; 'first': 0.61; 'content-disposition:inline': 0.62; 'provide': 0.64; 'kept': 0.65; 'within': 0.65; 'insight': 0.68; 'been?': 0.84; 'isolated': 0.84; 'skip:/ 30': 0.84; 'subject:Red': 0.84; 'rpm': 0.91 |
| Date | Sat, 15 Nov 2014 16:11:44 +1100 |
| From | Cameron Simpson <cs@zip.com.au> |
| To | python-list@python.org |
| Subject | Re: Question about installing python and modules on Red Hat Linux 6 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii; format=flowed |
| Content-Disposition | inline |
| In-Reply-To | <2e88d2e2-bde6-4d8f-8f2f-06d6a9676ee4@googlegroups.com> |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| References | <2e88d2e2-bde6-4d8f-8f2f-06d6a9676ee4@googlegroups.com> |
| X-Optus-CM-Score | 0 |
| X-Optus-CM-Analysis | v=2.1 cv=dMCfxopb c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=J0QyKEt1u0cA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=pGLkceISAAAA:8 a=df57XsiktPhYHo2t2KAA:9 a=CjuIK1q_8ugA:10 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15845.1416028316.18130.python-list@python.org> (permalink) |
| Lines | 40 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416028316 news.xs4all.nl 2849 [2001:888:2000:d::a6]:47937 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:80811 |
Show key headers only | View raw
On 14Nov2014 19:01, pythonista <software.by.python@gmail.com> wrote: >I am developing a python application as a contractor. >I would like to know if someone can provide me with some insight into the problems that then infrastructure team has been having. >The scope of the project was to install python 2.7.8 and 4 modules/site packages on a fresh linux build. >The first team failed after almost 3 weeks of work. >Then they put their star Linux administrator on the task and it took almost a week of considerable effort. >I was able to perform the same task on my windows desktop in less than a morning. >I cannot get a straight answer as to what the problems are. >They just seemed to be building and rebuilding all of the components from scratch. >Can anyone provide me with insight as to the scope what the problem could have been? It depends. If they were trying to interoperate with the vendor supplied Python, they could be fighting with the RPM system. When I do this these days I do two things: - fetch and build Python 2.7.8 from source, to install in /usr/local/python-2.7.8 (i.e. use that as the --prefix option for configure). At this point you could just proceed and use that python, installing inside its site-packages as usual. Or you could go a little further and make a virtualenv for your project: - fetch virtualenv and (blasphemy!) install it in the vendor space using: "python setup.py install" - create a virtualenv for your project: "/usr/local/python-2.7.8/bin/python2.7 virtualenv.py /usr/local/venv-2.7.8-your-project-name" At that point you will have a "bin" directory inside /usr/local/venv-2.7.8-your-project-name with "python" and so forth. Executing that "python" runs the python-2.7.8 you built earlier but with all the system paths set to install and use the lib tree inside the virtualenv directory. The nice thing about that is that it is easy to make multiple virtualenvs, using distinct collections of additional packages, nicely isolated and easy to invoke (just run the "python" from within the appropriate virtualenv tree). Cheers, Cameron Simpson <cs@zip.com.au> I just kept it wide-open thinking it would correct itself. Then I ran out of talent. - C. Fittipaldi
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Question about installing python and modules on Red Hat Linux 6 pythonista <software.by.python@gmail.com> - 2014-11-14 19:01 -0800
Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-15 16:09 +1100
Re: Question about installing python and modules on Red Hat Linux 6 Cameron Simpson <cs@zip.com.au> - 2014-11-15 16:11 +1100
Re: Question about installing python and modules on Red Hat Linux 6 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-16 02:15 +1100
Re: Question about installing python and modules on Red Hat Linux 6 Grant Edwards <invalid@invalid.invalid> - 2014-11-15 15:45 +0000
Re: Question about installing python and modules on Red Hat Linux 6 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-16 12:08 +1100
Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-16 12:32 +1100
Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 18:57 -0700
Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-16 13:23 +1100
Re: Question about installing python and modules on Red Hat Linux 6 Grant Edwards <invalid@invalid.invalid> - 2014-11-16 16:28 +0000
Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-17 09:16 +1100
Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:05 -0700
Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:02 -0700
Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:13 -0700
Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:23 -0700
csiph-web