Distutils prerequisites on Windows?
Max M
maxm at mxm.dk
Sat Jan 26 14:07:22 EST 2002
Jason Orendorff wrote:
>>I have an old versin of VC 6.0 lying around and would naturally prefer
>>to use that so I can avoid spending money once more on a compiler.
> Should work. Just install it, and try setup.py again.
I did, and the setup stopped with::
<snipped lots of succesfull setup stuff>
not copying zdaemon\__init__.py (output up-to-date)
running build_ext
Traceback (most recent call last):
File "setup.py", line 108, in ?
headers = ['ExtensionClass/src/ExtensionClass.h',
'ZODB/cPersistence.h'],
File "C:\python\Python21\lib\distutils\core.py", line 138, in setup
dist.run_commands()
File "C:\python\Python21\lib\distutils\dist.py", line 899, in
run_commands
self.run_command(cmd)
File "C:\python\Python21\lib\distutils\dist.py", line 919, in run_command
cmd_obj.run()
File "C:\python\Python21\lib\distutils\command\build.py", line 106,
in run
self.run_command(cmd_name)
File "C:\python\Python21\lib\distutils\cmd.py", line 328, in run_command
self.distribution.run_command(command)
File "C:\python\Python21\lib\distutils\dist.py", line 919, in run_command
cmd_obj.run()
File "C:\python\Python21\lib\distutils\command\build_ext.py", line
230, in run
force=self.force)
File "C:\python\Python21\lib\distutils\ccompiler.py", line 957, in
new_compiler
return klass (verbose, dry_run, force)
File "C:\python\Python21\lib\distutils\msvccompiler.py", line 220, in
__init__
os.environ['path'] = string.join(path,';')
File "C:\python\Python21\Lib\string.py", line 128, in join
return sep.join(words)
UnicodeError: ASCII decoding error: ordinal not in range(128)
So maybe I am having problems because I am running on a Danish version
of Windows 2000 ?
gee ... and now I was so geared to try out the ZODB under .asp ... bummer.
This can be both because of the c-compiler and because of a Python bug
in distutils I guess. What do I know ....
I guess I will have to wait until somebody with more knowledge than me
makes a binary.
regards Max M
More information about the Python-list
mailing list