Python app in Windows 7

Asked by kaphar on 2011-05-05

Trying to get a MYSQL / Python app running in Windows 7 (please don't ask why...Not my idea). I can not get a module to use in place of pymysql so I can not achieve a connection. I looked at the MySQL web site and downloaded the connectors but that still does not give me a methodology.
Can someone out there in that vast area of knowledge give me help in figuring this out? By the way, the app runs fine in Linux - which is my primary system!.
The app connects to the web and to a mysql DB.

Thanks everyone.

KapHar

Question information

Language:
English Edit question
Status:
Solved
For:
MySQL Connector/Python Edit question
Assignee:
No assignee Edit question
Solved by:
kaphar
Solved:
2011-05-06
Last query:
2011-05-06
Last reply:
2011-05-06

* Just to be clear, but you are using MySQL Connector/Python, right?
* Do you have issues installing Connector/Python?
* If you use the mysql.connector module, do you get errors, which one?

kaphar (captain-harry) said : #2

Traceback (most recent call last):
  File "C:\Users\user01\PythonScripts\Yagain.py", line 10, in <module>
    import mysql.connector
ImportError: No module named mysql.connector

Thanks for the comeback. I can not find the module you are describing. MYSQL web site does not have it, or at least I can not id it.

I will try more locations.
Tnx again.

KapHar
\

kaphar (captain-harry) said : #3

I found it !

Thanks for the help Geert

from python2.mysql import connector