[Python-Dev] Python 2.7 Won't Build

Tom Browder tom.browder at gmail.com
Thu Sep 16 21:56:25 CEST 2010

On Thu, Sep 16, 2010 at 14:36, Barry Warsaw <barry at python.org> wrote:
> On Sep 16, 2010, at 01:41 PM, Tom Browder wrote:
>>I am trying to rebujild the 2.7 maintenance branch and get this error
>>on Ubuntu 10.04.1 LTS:
> I just tried this on my vanilla 10.04.1 system.  I checked out release27-maint
> ran configure && make.  It built without problem.
>>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

> When you say "installed python 2.7" do you mean the one you installed to
> /usr/local from a from-source build, or something else (e.g. a Python 2.7
> package perhaps)?

It was the released source tarball for 2.7, and I get the same error
when I try it from that directory.


Thomas M. Browder, Jr.
Niceville, Florida

More information about the Python-Dev mailing list