Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29015

Re: conflicting installations of python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
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; 'broken': 0.03; 'output': 0.04; 'attribute': 0.05; 'python)': 0.05; 'removes': 0.05; 'executed': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:python': 0.11; 'module:': 0.16; 'outputs': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:/ 70': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'import': 0.21; '"",': 0.22; 'fine,': 0.22; 'subject:skip:i 10': 0.22; 'installation': 0.23; 'installed': 0.23; 'header:User-Agent:1': 0.26; 'looks': 0.26; '(most': 0.27; 'i.e.': 0.27; 'header:X -Complaints-To:1': 0.28; 'install': 0.29; 'file': 0.32; 'traceback': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'thanks': 0.34; 'list': 0.35; 'path': 0.35; 'received:org': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'being': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'shows': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'received:204': 0.72; 'article': 0.78; 'received:204.14': 0.84; 'response,': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: conflicting installations of python
Date Wed, 12 Sep 2012 22:55:51 -0700
References <da05ab8f-dbb4-4f23-8cbc-6b9a7b4f62e9@googlegroups.com> <mailman.590.1347505618.27098.python-list@python.org> <fd1894aa-2a5a-42ca-b9db-60a343d6d910@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.191
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.593.1347515770.27098.python-list@python.org> (permalink)
Lines 41
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347515770 news.xs4all.nl 6864 [2001:888:2000:d::a6]:53599
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29015

Show key headers only | View raw


In article <fd1894aa-2a5a-42ca-b9db-60a343d6d910@googlegroups.com>,
 azandi@adconion.com wrote:
> Thanks for your response, I think the path is fine, since which python 
> outputs the location where macports should install python i.e. 
> /opt/local/bin/python.
> 
> also 
> 
> port list active | fgrep python
> python27                       @2.7.3          lang/python27
> 
> and
> 
> port location python27
> 
> Port python27 2.7.3_0 is installed as an image in:
> /opt/local/var/macports/software/python27/python27-2.7.3_0.darwin_11.x86_64.tb
> z2

None of the above actually shows what is being executed when you type 
python.  What is the output from the following commands?

    which python
    ls -l $(which python)
    python
    
> Another problem caused by this installation is that somehow it removes 
> os.urandom module:
> 
> >>> import os
> >>> os.urandom
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'urandom'

Looks like you are using a broken Python installation.

-- 
 Ned Deily,
 nad@acm.org

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

conflicting installations of python azandi <azandi@adconion.com> - 2012-09-12 16:44 -0700
  Re: conflicting installations of python Ned Deily <nad@acm.org> - 2012-09-12 20:06 -0700
    Re: conflicting installations of python azandi@adconion.com - 2012-09-12 21:36 -0700
      Re: conflicting installations of python Ned Deily <nad@acm.org> - 2012-09-12 22:55 -0700
    Re: conflicting installations of python azandi@adconion.com - 2012-09-12 21:36 -0700

csiph-web