jednoduse.<br><br>Ukazi vam jak to instaluji je mozne ze to delam uplne spatne.<br>Do slozky i jsem rozbalil presne to, na co jste mi poslal odkaz.<br><br><br>Microsoft Windows XP [Verze 5.1.2600]<br>(C) Copyright 1985-2001 Microsoft Corp.<br>
<br>c:\Utils\python26\i>.\..\python.exe .\setup.py install<br><br>---------------------------------------------------------------------------<br>This script requires setuptools version 0.6c5 to run (even to display<br>
help). I will attempt to download it for you (from<br><a href="http://cheeseshop.python.org/packages/2.6/s/setuptools/">http://cheeseshop.python.org/packages/2.6/s/setuptools/</a>), but<br>you may need to enable firewall access for this script first.<br>
I will start the download in 15 seconds.<br><br>(Note: if this machine does not have network access, please obtain the file<br><br> <a href="http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c5-py2.6">http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c5-py2.6</a><br>
.egg<br><br>and place it in this directory before rerunning this script.)<br>---------------------------------------------------------------------------<br>Downloading <a href="http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0">http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0</a>.<br>
6c5-py2.6.egg<br>Traceback (most recent call last):<br> File ".\setup.py", line 5, in <module><br> import ez_setup; ez_setup.use_setuptools()<br> File "c:\Utils\python26\i\ez_setup.py", line 83, in use_setuptools<br>
egg = download_setuptools(version, download_base, to_dir, download_delay)<br> File "c:\Utils\python26\i\ez_setup.py", line 137, in download_setuptools<br> src = urllib2.urlopen(url)<br> File "c:\Utils\python26\lib\urllib2.py", line 124, in urlopen<br>
return _opener.open(url, data, timeout)<br> File "c:\Utils\python26\lib\urllib2.py", line 389, in open<br> response = meth(req, response)<br> File "c:\Utils\python26\lib\urllib2.py", line 502, in http_response<br>
'http', request, response, code, msg, hdrs)<br> File "c:\Utils\python26\lib\urllib2.py", line 421, in error<br> result = self._call_chain(*args)<br> File "c:\Utils\python26\lib\urllib2.py", line 361, in _call_chain<br>
result = func(*args)<br> File "c:\Utils\python26\lib\urllib2.py", line 597, in http_error_302<br> return self.parent.open(new)<br> File "c:\Utils\python26\lib\urllib2.py", line 389, in open<br>
response = meth(req, response)<br> File "c:\Utils\python26\lib\urllib2.py", line 502, in http_response<br> 'http', request, response, code, msg, hdrs)<br> File "c:\Utils\python26\lib\urllib2.py", line 427, in error<br>
return self._call_chain(*args)<br> File "c:\Utils\python26\lib\urllib2.py", line 361, in _call_chain<br> result = func(*args)<br> File "c:\Utils\python26\lib\urllib2.py", line 510, in http_error_default<br>
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>urllib2.HTTPError: HTTP Error 404: Not Found<br><br>c:\Utils\python26\i><br><br>Problemem je totiz to ze " <a href="http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c5-py2.6.egg">http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c5-py2.6.egg</a>" neexistuje v odkazovanem miste<br>
<a href="http://cheeseshop.python.org/packages/2.6/s/setuptools">http://cheeseshop.python.org/packages/2.6/s/setuptools</a> se totiz nachazi pouze <a href="http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg">setuptools-0.6c9-py2.6.egg</a> tj. zkusil jsem tedy upravit v ez_setup.py promennou <br>
DEFAULT_VERSION z "0.6c5" na "0.6c9" coz ovsem prinasi jiz zminene stiznosti na zastaralost knihovny md5 a memu zaveru ze cesta vetsiho upravovani zdrojaku<br>neni spravna.<br><br>Ja netvrdim (a vlastne si to ani nemyslim) ze to delam dobre ale jina cesta mne nenapada...<br>
<br><br><br><div class="gmail_quote">Dne 12. leden 2009 11:33 Tomas Brabenec <span dir="ltr"><<a href="mailto:konference@brabenec.net">konference@brabenec.net</a>></span> napsal(a):<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ja nejak nerozumim, jak setuptools souvisi s pouzitim MySQLdb.<br>
Pokud bys instalovat MySQLdb pomoci easy_inastall z egg tak tomu rozumim, ale pokud si stahnes rucne zdrojaky tak easy_install nepotrebujes.<br>
<br>
Co to dela, kdyz stahnes a pouzijes toto:<br>
<a href="http://internap.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz" target="_blank">http://internap.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz</a><br>
<br>
Tomas<br>
<br>
<br>
Dne 12.1.2009 10:30, Ondrej Beranek napsal(a):<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Ano, trable ktere jsem popisoval byly primo s temito zdrojaky.<br>
<br></div>
Dne 12. leden 2009 7:19 Tomas Brabenec <<a href="mailto:konference@brabenec.net" target="_blank">konference@brabenec.net</a> <mailto:<a href="mailto:konference@brabenec.net" target="_blank">konference@brabenec.net</a>>> napsal(a):<div class="Ih2E3d">
<br>
<br>
A zkousel jsi stahnout primo zdrojaky?<br>
<a href="http://sourceforge.net/project/showfiles.php?group_id=22307&package_id=15775&release_id=491012" target="_blank">http://sourceforge.net/project/showfiles.php?group_id=22307&package_id=15775&release_id=491012</a><br>
<<a href="http://sourceforge.net/project/showfiles.php?group_id=22307&package_id=15775&release_id=491012" target="_blank">http://sourceforge.net/project/showfiles.php?group_id=22307&package_id=15775&release_id=491012</a>><br>
<br>
Ty taky nefunguji ?<br>
<br>
Tomas<br>
<br>
Dne 11.1.2009 16:02, Ondrej Beranek napsal(a):<br>
<br>
no to je mozne. ale na strankach projektu je maximalne pro<br>
py2.5 a soucast pythonu 2.6 neni... zkousel jsem to i pres<br>
source ale tam to skoncilo na tom ze se to pokouselo stahnout<br>
jakysi egg soubor setuptools ve verzi "0.6c5" ktera ale v v<br>
repozitari neni takze jsem zkusil stahnout<br>
setuptools-0.6c9-py2.6.egg ktery jediny v tom repozitari<br>
<a href="http://cheeseshop.python.org/packages/2.6/s/setuptools/" target="_blank">http://cheeseshop.python.org/packages/2.6/s/setuptools/</a> byl,<br>
upravil ez_setup, ovsem pak se to slozilo na tom ze to pouziva<br>
zastaranou knihovnu md5... takze jsem usoudil ze tudy cesta<br>
nepovede.<br>
Jsem silne zmaten.<br>
<br>
<br>
<br>
Dne 11. leden 2009 14:49 <<a href="mailto:Calis.martin@seznam.cz" target="_blank">Calis.martin@seznam.cz</a><br></div>
<mailto:<a href="mailto:Calis.martin@seznam.cz" target="_blank">Calis.martin@seznam.cz</a>> <mailto:<a href="mailto:Calis.martin@seznam.cz" target="_blank">Calis.martin@seznam.cz</a><div class="Ih2E3d"><br>
<mailto:<a href="mailto:Calis.martin@seznam.cz" target="_blank">Calis.martin@seznam.cz</a>>>> napsal(a):<br>
<br>
<br>
No nevím, já myslel že MySQLdb jede i na Py3000...<br>
<br>
> ------------ Původní zpráva ------------<br>
> Od: Ondrej Beranek <<a href="mailto:rainbof@gmail.com" target="_blank">rainbof@gmail.com</a><br></div>
<mailto:<a href="mailto:rainbof@gmail.com" target="_blank">rainbof@gmail.com</a>> <mailto:<a href="mailto:rainbof@gmail.com" target="_blank">rainbof@gmail.com</a><div class="Ih2E3d"><br>
<mailto:<a href="mailto:rainbof@gmail.com" target="_blank">rainbof@gmail.com</a>>>><br>
<br>
> Předmět: [python] Mysql<br>
> Datum: 11.1.2009 12:10:31<br>
> ----------------------------------------<br>
> Ahoj,<br>
><br>
> presel jsem na python 2.6 nyni se snazim udelat aplikaci ktera<br>
neco vybere z<br>
> databaze a pak s tim pracuje. No problem je v tom ze nemohu<br>
nejak najit nic<br>
> co by pod pythonem 2.6 pro databazovy pristup fungovalo. Libilo<br>
by se mi<br>
> MySQLdb ale to podle vseho jde jen na pythonu 2.5... (normalne<br>
bych se<br>
> zeptal na programujte com ale ten od ctvrtka nejde)<br>
><br>
><br>
><br>
_______________________________________________<br>
Python mailing list<br></div>
<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a> <mailto:<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a>> <mailto:<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a><div class="Ih2E3d">
<br>
<mailto:<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a>>><br>
<br>
<a href="http://www.py.cz/mailman/listinfo/python" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
<br>
<br>
_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a> <mailto:<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a>><br>
<a href="http://www.py.cz/mailman/listinfo/python" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
<br>
_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a> <mailto:<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a>><br>
<a href="http://www.py.cz/mailman/listinfo/python" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a><br>
<a href="http://www.py.cz/mailman/listinfo/python" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
</div></blockquote><div><div></div><div class="Wj3C7c">
_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@py.cz" target="_blank">Python@py.cz</a><br>
<a href="http://www.py.cz/mailman/listinfo/python" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
</div></div></blockquote></div><br>