[Pyrex] Newbie qustion

vanitha at cs.wisc.edu vanitha at cs.wisc.edu
Fri Nov 25 15:47:16 CET 2005


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.py",
line 279, in run
    self.build_extensions()
  File
"/afs/cs.wisc.edu/u/v/a/vanitha/lib/python2.4/distutils/command/build_ext.py",
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.py",
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
>





More information about the Pyrex mailing list