<div dir="ltr">Have you tried specifying the working version of mysql-connector-python with pip?<div><br></div><div>ie. pip install mysql-connector-python==xxx</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 6:28 AM, Peter Cock <span dir="ltr"><<a href="mailto:p.j.a.cock@googlemail.com" target="_blank">p.j.a.cock@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Oct 9, 2014 at 10:43 AM, Lluís Revilla <<a href="mailto:lluis.revilla@gmail.com">lluis.revilla@gmail.com</a>> wrote:<br>
><br>
> El dia 08/10/2014 11:38, "Peter Cock" <<a href="mailto:p.j.a.cock@googlemail.com">p.j.a.cock@googlemail.com</a>> va<br>
> escriure:<br>
><br>
</span><span class="">>> It looks like we need one of the developers to try installing this<br>
>> new version locally to reproduce and diagnose the error...<br>
<br>
</span>Tiago has been able to reproduce this problem on one of his<br>
Linux machines which is setup as a buildslave, see:<br>
<br>
<a href="http://testing.open-bio.org/biopython/tgrid" target="_blank">http://testing.open-bio.org/biopython/tgrid</a><br>
<a href="http://testing.open-bio.org/biopython/builders/Linux%2064%20-%20Python%203.4/builds/193" target="_blank">http://testing.open-bio.org/biopython/builders/Linux%2064%20-%20Python%203.4/builds/193</a><br>
<span class=""><br>
> I volunteer!!<br>
><br>
> I have never before installed locally a version from github. Is there any<br>
> tutorial or recommended reading? I would install it on a windows 7 home<br>
> premium 64 bytes operative system, with python 3.3<br>
><br>
> Lluís<br>
<br>
</span>Hi Lluís,<br>
<br>
Volunteering is great, but unless this particular problem interests<br>
you there may be some easier bugs/issues you could work on.<br>
<br>
You've picked a hard target - compiling on Windows is a pain, and<br>
64 bit Windows especially so (I still only have a 32 bit Windows XP<br>
machine for testing). Tiago has made some notes here:<br>
<br>
<a href="http://biopython.org/wiki/64-bit_Windows_Biopython" target="_blank">http://biopython.org/wiki/64-bit_Windows_Biopython</a><br>
<br>
There is further information focused on making a 32 bit version<br>
of Biopython for use with a 32 bit Python (which still should be<br>
possible on 64 bit Windows), but it may be a bit out of date:<br>
<br>
<a href="http://biopython.org/DIST/docs/install/Installation.html" target="_blank">http://biopython.org/DIST/docs/install/Installation.html</a><br>
<a href="https://github.com/biopython/biopython/blob/master/Doc/install/Installation.tex" target="_blank">https://github.com/biopython/biopython/blob/master/Doc/install/Installation.tex</a><br>
<br>
However, BioSQL and most of Biopython doesn't need a C compiler<br>
(which is why most of Biopython works under Jython and PyPy) so<br>
you might be able to avoid that for now. Basically you'd hack setup.py<br>
to set EXTENSIONS = [], much like how setup.py already does this<br>
for Jython or PyPy.<br>
<br>
Also are you familiar with git, and have you ever used it on Windows?<br>
<br>
For this specific bug you will also need a MySQL database installed,<br>
and the connector-python library. This is available for Python 3.3,<br>
hopefully for both 32 and 64 bit Python (?):<br>
<a href="http://dev.mysql.com/downloads/connector/python/" target="_blank">http://dev.mysql.com/downloads/connector/python/</a><br>
<br>
Finally, working out what is wrong will also need some experience of<br>
Python 2 vs 3 and bytes vs unicode.<br>
<br>
On the bright side, debugging a problem can be a great way to<br>
learn things...<br>
<br>
Regards,<br>
<div class="HOEnZb"><div class="h5"><br>
Peter<br>
<br>
_______________________________________________<br>
Biopython-dev mailing list<br>
<a href="mailto:Biopython-dev@mailman.open-bio.org">Biopython-dev@mailman.open-bio.org</a><br>
<a href="http://mailman.open-bio.org/mailman/listinfo/biopython-dev" target="_blank">http://mailman.open-bio.org/mailman/listinfo/biopython-dev</a></div></div></blockquote></div><br></div>