Movatterモバイル変換


[0]ホーム

URL:


unable to install MySQLdb (version 0.3.5 ) using ActivePython (build 203) on Win 98

Gerhard Häringgerhard.nospam at bigfoot.de
Thu Apr 5 07:20:37 EDT 2001


robin and jim wrote:>> Hello,>> I just downloaded the 2001-03-28 build of MySQLdb (version 0.3.5 ) from>http://home.t-online.de/home/err666/ (thanks Gerhard!) and issued the> command:>> python setup.py install>> using ActivePython (build 203) on a Windows 98 (2nd edition) computer.>> Below is the result.  Any suggestions about what I'm doing wrong.  Thanks.>> [... snipped, actual exception follows:]>>   File "c:\python20\lib\distutils\core.py", line 138, in setup>     dist.run_commands()>   File "c:\python20\lib\distutils\dist.py", line 829, in run_commands>     self.run_command(cmd)>   File "c:\python20\lib\distutils\dist.py", line 849, in run_command>     cmd_obj.run()>   File "c:\python20\lib\distutils\command\install.py", line 483, in run>     self.run_command(cmd_name)>   File "c:\python20\lib\distutils\cmd.py", line 328, in run_command>     self.distribution.run_command(command)>   File "c:\python20\lib\distutils\dist.py", line 849, in run_command>     cmd_obj.run()>   File "c:\python20\lib\distutils\command\install_lib.py", line 93, in run>     self.byte_compile(outfiles)>   File "c:\python20\lib\distutils\command\install_lib.py", line 130, in> byte_com> pile>     verbose=self.verbose, dry_run=self.dry_run)>   File "c:\python20\lib\distutils\util.py", line 423, in byte_compile>     compile(file, cfile, dfile)>   File "c:\python20\lib\py_compile.py", line 60, in compile>     codeobject = __builtin__.compile(codestring, dfile or file, 'exec')> TypeError: compile, argument 1: expected string without null bytes, string> foundI am sorry, but I don't know what's happening here. I just confirmedthat it really works under my configuration (ActivePython build 202,Windows 2000 SP 1 en). Maybe downloading the file again will help. Maybereverting to build 202 will, though if it build 203 is still Python 2.0,it shouldn't matter.Gerhard-- Sorry for the fake email, please use the real one below to reply.contact: g e r h a r d @ b i g f o o t . d eweb:http://highqualdev.com


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp