Did you forgot to CC the list?

On windows to get the installer working you should not use --no-site-packages

The error you are getting is what I said on my last post you will need
a compiler aka a version of Visual Studio in order to make the driver
work. A long time ago I did this and it is not pretty.

On Fri, Jun 19, 2009 at 9:36 AM, aka<[email protected]> wrote:
> Hi Jorge,
> I'm trying to get my TG2 to work with MySQL 5.0.5.1a without any luck
> either.
> First thing I tried was using the installer but that goes straight to
> the Python25 directory but that doesn't work for my virtualenvironment
> so I tried to set dependencies on my application there and after that
> I tried running setup-app (paster setup-app development.ini) but the
> ImportError (No module named MySQLdb) in mysql.py comes up.
> Trying to easy_install mysql-python from the root of my project
> results in
>
> Processing MySQL-python-1.2.3c1.tar.gz
> Running MySQL-python-1.2.3c1\setup.py -q bdist_egg --dist-dir c:
> \docume~1\functi
> ~1\locals~1\temp\easy_install-oecqsk\MySQL-python-1.2.3c1\egg-dist-tmp-
> l9ecne
> error: Setup script exited with error: Python was built with Visual
> Studio 2003;
>
> extensions must be built with a compiler than can generate compatible
> binaries.
> Visual Studio 2003 was not found on this system. If you have Cygwin
> installed,
> you can try compiling with MingW32, by passing "-c mingw32" to
> setup.py.
>
> Only thing I've got left is trying to install Visual C++ compiler
> 2008: http://www.microsoft.com/express/vc/
> and I'm out of options.
> Apparently TG2's virtualenvironment isn't working together with
> MySQLDB :'-)
>
>
>
> On 5 jun 2006, 16:43, "Jorge Vargas" <[email protected]> wrote:
>> On 6/5/06, Joost Moesker <[email protected]> wrote:
>>
>>
>>
>> > easy_install mysql-python
>>
>> now if your running windows that won't work  because it will look for your
>> compiler which you probably wont have,then it will blow up,etc,etc, long
>> story short download the 
>> installerhttp://sourceforge.net/project/showfiles.php?group_id=22307
>>
>>
>>
>> Fernando wrote:
>> > > Hi, I'm new to TG, now I'm trying to execute tg-admin sql create,
>> > > but outpust that I not have MySQLdb package installed...
>>
>> > > How can I still this package...
>>
>> > > I tryied, easy_install -f http://. .. ...  MySQLdb
>>
>> > > but returns that has no package named MySQLdb
>>
>> > > tks- Tekst uit oorspronkelijk bericht niet weergeven -
>>
>> - Tekst uit oorspronkelijk bericht weergeven -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to