[Python-Dev] Python 2.7 Won't Build
brett at python.org
Thu Sep 16 20:48:23 CEST 2010
Go ahead and file the bug, but chances are that some other installed
Python is executing the code and picking up the .pyc files which have
bytecode new to Python 2.7.
On Thu, Sep 16, 2010 at 11:41, Tom Browder <tom.browder at gmail.com> wrote:
> I am trying to rebujild the 2.7 maintenance branch and get this error
> on Ubuntu 10.04.1 LTS:
> XXX lineno: 743, opcode: 0
> Traceback (most recent call last):
> File "/usr/local/src/python-2.7-maint-svn/Lib/site.py", line 62, in <module>
> import os
> File "/usr/local/src/python-2.7-maint-svn/Lib/os.py", line 743, in <module>
> def urandom(n):
> SystemError: unknown opcode
> I installed it successfully once so I may be getting conflicts, but I
> can't figure out why. There were some similar bugs reported in
> previous versions but I didn't see a clear solution.
> I have done "make distclean" and "./configure". I have unset my
> PYTHONPATH and LD_LIBRARY_PATH, but python2.7 is my default python.
> I guess my next step will be to manually remove the installed python
> 2.7 unless I hear some other suggestions.
> And I will file a bug report soon unless that is inappropriate.
> Thomas M. Browder, Jr.
> Niceville, Florida
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org
More information about the Python-Dev