<div dir="ltr"><div>Thanks,<br>It seems like it was path problem the<br> cd F:\Python\MySQL-python-1.2.3<br>fix it, after I added the <br> [build]<br> compiler = mingw32<br>to setup.cfg file.<br><br>But I got another problem, I tried your command and it started to work but stopped on<br>
"error: command 'gcc' failed: Permission denied"<br>someone suggested to move it from the cygwin/bin folder, so I copied it o system32<br>then I got:<br> error: command 'gcc' failed: Invalid argument<br>
<br>So I found the MinGW library and I took the gcc.exe from their <br> and now I get the message:<br> gcc: /Zl: No such file or directory<br>the full output is:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
F:\Python\MySQL-python-1.2.3>F:\Python\Python25\python.exe -c "import setuptools; execfile('setup.py')" bdist_egg<br>running bdist_egg<br>running egg_info<br>writing MySQL_python.egg-info\PKG-INFO<br>
writing top-level names to MySQL_python.egg-info\top_level.txt<br>writing dependency_links to MySQL_python.egg-info\dependency_links.txt<br>warning: manifest_maker: standard file '-c' not found<br>reading manifest file 'MySQL_python.egg-info\SOURCES.txt'<br>
reading manifest template 'MANIFEST.in'<br>warning: no files found matching 'MANIFEST'<br>warning: no files found matching 'ChangeLog'<br>warning: no files found matching 'GPL'<br>writing manifest file 'MySQL_python.egg-info\SOURCES.txt'<br>
installing library code to build\bdist.win32\egg<br>running install_lib<br>running build_py<br>copying MySQLdb\release.py -> build\lib.win32-2.5\MySQLdb<br>running build_ext<br>building '_mysql' extension<br>C:\WINDOWS\system32\gcc.exe -mno-cygwin -mdll -O -Wall -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -IF:\MySQL\mysql-5.1.51-win32\include -IF:\Python\Python25\include -IF:\Python\Python25\PC -c _mysql.c -o build\temp.win32-2.5\Release\_mysql.o /Zl<br>
gcc: /Zl: No such file or directory<br>gcc: CreateProcess: No such file or directory<br>error: command 'gcc' failed with exit status 1<br></blockquote><div><br><br>Have you encountered this situation?<br> </div></div>
<br><br><div class="gmail_quote">On Mon, Oct 18, 2010 at 6:20 PM, P.J. Eby <span dir="ltr"><<a href="mailto:pje@telecommunity.com" target="_blank">pje@telecommunity.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div>At 03:41 PM 10/18/2010 +0200, Jonathan Endy wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
When I am trying to install MySQL-python package<br>
I receive an error, this is the output:<br>
<br>
<br>
F:\Python>F:\Python\Python25\Scripts\easy_install.exe F:\Python\MySQL-python-1.2.3<br>
Processing MySQL-python-1.2.3<br>
Running setup.py -q bdist_egg --dist-dir F:\Python\MySQL-python-1.2.3\egg-dist-tmp-ly3u1l<br>
error: The system cannot find the file specified<br>
<br>
<br>
Does anyone have an idea what casing that or how to spot the problem?<br>
</blockquote>
<br></div></div>
Try this:<br>
<br>
cd F:\Python\MySQL-python-1.2.3<br>
F:\Python\Python25\python.exe -c "import setuptools; execfile('setup.py')" bdist_egg<br>
<br>
And send the full output.<br>
<br>
</blockquote></div><br></div>