[Pyrex] Newbie qustion
dunk
dunk at dunkfordyce.co.uk
Fri Nov 25 16:05:16 CET 2005
you need a newer version of pyrex to work with python 2.4
there is a patch you can find on this mailing list if you do not want to
upgrade. if i remember right its just a one line change to distutils
dunk
On Friday 25 November 2005 14:47, vanitha at cs.wisc.edu wrote:
> Oops, thanks for pointing that out!
>
> dameedna(286)% python setup.py build_ext --inplace
> running build_ext
> building 'foo' extension
> Traceback (most recent call last):
> File "setup.py", line 6, in ?
> cmdclass = {'build_ext' : build_ext}
> File "/afs/cs.wisc.edu/u/v/a/vanitha/lib/python2.4/distutils/core.py",
> line 149, in setup
> dist.run_commands()
> File "/afs/cs.wisc.edu/u/v/a/vanitha/lib/python2.4/distutils/dist.py",
> line 946, in run_commands
> self.run_command(cmd)
> File "/afs/cs.wisc.edu/u/v/a/vanitha/lib/python2.4/distutils/dist.py",
> line 966, in run_command
> cmd_obj.run()
> File
> "/afs/cs.wisc.edu/u/v/a/vanitha/lib/python2.4/distutils/command/build_ext.p
>y", line 279, in run
> self.build_extensions()
> File
> "/afs/cs.wisc.edu/u/v/a/vanitha/lib/python2.4/distutils/command/build_ext.p
>y", line 405, in build_extensions
> self.build_extension(ext)
> File
> "/afs/cs.wisc.edu/u/v/a/vanitha/lib/python2.4/distutils/command/build_ext.p
>y", line 442, in build_extension
> sources = self.swig_sources(sources, ext)
> TypeError: swig_sources() takes exactly 2 arguments (3 given)
>
> > vanitha at cs.wisc.edu wrote:
> >> Traceback (most recent call last):
> >> File "setup.py", line 6, in ?
> >> cmdclass = {'build_ext' : build_ext}
> >
> > I'm a newbie too, but I think you should post the whole error message.
> > Especially the last line, the one with the exception class in it.
> >
> >
> > Toby
> >
> > _______________________________________________
> > Pyrex mailing list
> > Pyrex at lists.copyleft.no
> > http://lists.copyleft.no/mailman/listinfo/pyrex
>
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex
More information about the Pyrex
mailing list