[Distutils] bdist_wininst TypeError

Mike kyosohma at gmail.com
Sat Oct 6 15:16:35 CEST 2007


Hi,

I was typing out the distutils package this morning and hit a wall
within a few minutes of running it. I got it using the "Easy Install"
script found here:

http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install

To test the package, I tried using it on PyCrypto, found here:

http://www.amk.ca/python/code/crypto.html

After unzipping that package to a temporary directory, I ran distutils
from the command line as follows:

L:\Temp\pycrypto-2.0.1>python setup.py bdist_wininst

Here's the traceback that gave me:

L:\Temp\pycrypto-2.0.1>python setup.py bdist_wininst
running bdist_wininst
running build
running build_py
running build_ext
Traceback (most recent call last):
  File "setup.py", line 164, in ?
    core.setup(**kw)
  File "L:\Python24\lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "L:\Python24\lib\distutils\dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "L:\Python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "l:\python24\lib\site-packages\setuptools-0.6c7-py2.4.egg\setuptools\comm
and\bdist_wininst.py", line 37, in run
    _bdist_wininst.run(self)
  File "L:\Python24\lib\distutils\command\bdist_wininst.py", line 107, in run
    self.run_command('build')
  File "L:\Python24\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "L:\Python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "L:\Python24\lib\distutils\command\build.py", line 112, in run
    self.run_command(cmd_name)
  File "L:\Python24\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "L:\Python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "L:\Python24\lib\distutils\command\build_ext.py", line 279, in run
    self.build_extensions()
  File "setup.py", line 117, in build_extensions
    build_ext.build_extensions(self)
  File "L:\Python24\lib\distutils\command\build_ext.py", line 402, in build_exte
nsions
    self.check_extensions_list(self.extensions)
  File "L:\Python24\lib\distutils\command\build_ext.py", line 304, in check_exte
nsions_list
    (ext_name, build_info) = ext
TypeError: unpack non-sequence


The only information I can find about this is an ongoing dispute about
some Pyrex version causing this issue:
http://mail.python.org/pipermail/distutils-sig/2007-September/008211.html

I am using Python 2.4, NOT Pyrex. I am on Windows XP 2. Any help would
be appreciated.

Mike


More information about the Distutils-SIG mailing list