easy_install with MySQL-python
calypso-blue at hotmail.com
Wed Mar 4 07:14:25 CET 2009
Mike Driscoll wrote:
> On Mar 3, 7:44 am, Ske <calypso-b... at hotmail.com> wrote:
>> Let me apologise in advance if I’m missing something obvious, I’m still
>> new to this!
>> I’m attempting to install MySQL-python in Python2.6 on Windows. On
>> "easy_install MySQL-python" I get a "The system cannot find the file
>> specified" message. Full output is below:
>> Searching for MySQL-python
>> Best match: MySQL-python 1.2.3b1
>> Processing MySQL-python-1.2.3b1.tar.gz
>> Running MySQL-python-1.2.3b1\setup.py -q bdist_egg --dist-dir
>> error: The system cannot find the file specified
>> I've really no idea how to solve this, and searches turn up nothing of
>> Any ideas?
> It may be that the egg is incompatible with Python 2.6. Looking at the
> last location that easy_install downloads from, I found that there is
> no 2.6 egg there (see
> I've had some goofy issues with compressed files being weird. Try
> downloading the source yourself, unzipping it, then navigating to that
> folder via the command line and running something like this:
> python setup.py install
> If your python isn't on the path, you'll have to do something like
> this instead:
> c:\python26\python.exe setup.py install
> Hopefully that will get you going.
Thanks for your help, Mike.
On running "python setup.py install" in the extracted directory, I get this:
Traceback (most recent call last):
File "setup.py", line 16, in <module>
metadata, options = get_config()
7, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
WindowsError: [Error 2] The system cannot find the file specified
View this message in context: http://www.nabble.com/easy_install-with-MySQL-python-tp22308862p22324329.html
Sent from the Python - python-list mailing list archive at Nabble.com.
More information about the Python-list