In article <[email protected]>,
[email protected] 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,
[email protected]
--
http://mail.python.org/mailman/listinfo/python-list