Re: [Tutor] Need Help in installing MySQLdb-Python

2011-02-01 Thread Tommy Kaas
 

 

Fra: tutor-bounces+tommy.kaas=kaasogmulvad...@python.org
[mailto:tutor-bounces+tommy.kaas=kaasogmulvad...@python.org] På vegne af
Victor Binns
Sendt: 1. februar 2011 01:19
Til: Tutor python
Emne: [Tutor] Need Help in installing MySQLdb-Python

 

I have Python 2.6.3
 
I went to the following link http://pypi.python.org/pypi/
Found - file (MySQL-python 1.2.3)
 




 
I had similar problems last week. The windows installer file placed at this
site helped. You just have to pick the right version.

 <http://www.lfd.uci.edu/~gohlke/pythonlibs/>
http://www.lfd.uci.edu/~gohlke/pythonlibs/

 

Tommy

 

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Need Help in installing MySQLdb-Python

2011-01-31 Thread Alan Gauld

"Victor Binns"  wrote


I have Python 2.6.3


Congratulatons SqlLite should already be installed as part
of the standard library.

Try:


import sqlite3 as sql



clicked on the file called setup.py


I usually run setup manually rarther than double click...


serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,

options['registry_key'])
WindowsError: [Error 2] The system cannot find the file specified

I read the READ ME file

I do not understand it ...


:-)

Try importing sqlite as above, you may find you don;t need to
install anything extra!

For a quick tutorial on using Sqlite from Python try the Databases
topic in my tutorioal (Version 2 only for now)

HTH,

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Need Help in installing MySQLdb-Python

2011-01-31 Thread Victor Binns

I have Python 2.6.3
 
I went to the following link http://pypi.python.org/pypi/
Found - file (MySQL-python 1.2.3)
 
clicked on file - clicked on (MySQL-python-1.2.3.tar.gz)
 
unzipped the file in a created folder
 
clicked on the file called setup.py
 
following ERROR:
 
Traceback (most recent call last):
  File "C:\Users\victor\Desktop\mysql-python\MySQL-python-1.2.3\setup.py", line 
15, in 
metadata, options = get_config()
  File 
"C:\Users\victor\Desktop\mysql-python\MySQL-python-1.2.3\setup_windows.py", 
line 7, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, 
options['registry_key'])
WindowsError: [Error 2] The system cannot find the file specified
 
I read the READ ME file
 
I do not understand it ...
 
I need some step by step on how to install this.
 
--
 
What I am trying to do is create a window in which I input data which is stored 
and updated on MySQL.
MySQL is on a paid server (Yahoo).
 
any books or documentation or help would be greatly appreciated.
 
Victor___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor