Re: Doing the basic tutorial, MySQL-python problems.

2013-10-17 Thread Robbie Scourou
Only on weekends! Glad it's sorted for you. :) On Wed, Oct 16, 2013 at 11:57 PM, J. Paskaruk wrote: > I followed your directions, and the whole thing went off without a hitch. > > ARE YOU A WIZARD?! > > > On Wed, Oct 16, 2013 at 5:25 PM, Robbie Scourou wrote: > >> Shutting up sir! :) >> >> One

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread J. Paskaruk
I followed your directions, and the whole thing went off without a hitch. ARE YOU A WIZARD?! On Wed, Oct 16, 2013 at 5:25 PM, Robbie Scourou wrote: > Shutting up sir! :) > > One last thing to try: > > apt-get install python-dev > > Do that outside of virtualenv, then try it installing mysql-py

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread Robbie Scourou
Shutting up sir! :) One last thing to try: apt-get install python-dev Do that outside of virtualenv, then try it installing mysql-python within the virtualenv. After that, I'm out of ideas. On Wed, Oct 16, 2013 at 8:21 PM, J. Paskaruk wrote: > > On Wed, Oct 16, 2013 at 1:50 PM, Robbie Scouro

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread J. Paskaruk
On Wed, Oct 16, 2013 at 1:50 PM, Robbie Scourou wrote: > apt-get install libmysqlclient-dev Sorry, I'm running Linux Mint, very similar to your vaporators in most respects. Can you speak Bochi? Of course I can sir, it's like a second language to me. Ok, shut up, I'll take this one. Sorry. I e

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread Robbie Scourou
Assuming you are using ubuntu/debian: apt-get install libmysqlclient-dev Should give you the mysql_config tool. I *think*. I ran into similar build problems when rebuilding a server recently. I think you'll also need the python-dev package too. Frustration with computers is normal, just stick at

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread J. Paskaruk
Yah, nothing under mysql- with dev or devel. I'm getting a sort-of handle on the differences between Pip, Apt, etc, but it's all very confusing. I seem to have sqlite working, so I'm not worrying about this too much for the moment. I'm assuming that a few months from now I'll laugh at how much I'm

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread Bill Freeman
No, python-mysqldb-dbg is not related to the problem. ("dbg" is an abbreviation for debug, while "devel" or "dev" stands for I want to do software development to work with the main package" such as building the python connectory, the operation that got you your error message. When you pip install

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread J. Paskaruk
I found a python-mysqldb-dbg in Synaptic, would that be it? Failing that, what would be the, umm, Pythonic way to reinstall MySQL? I'm also confused by the various names - in Synaptic I've got python-mysqldb installed, but there's also MySQL-Python, which I can't tell if that's the same package or

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread Bill Freeman
If it's like PostgreSQL, it should have been installed somewhere when you installed MySQL. But if you installed it using an O/S package manager, rather than from source, the O/S vender may have "helpfully" excluded bits they don't think you need. Often this will require additionally installing a

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread J. Paskaruk
I ran: sudo find / -name 'mysql_config' and it didn't find it. Using the same search, I did find something from my home dir, so it seems that it's not actually installed, or rather.. argh. I've attempted every "this is how to install MySQL-python method I could find on the web, and it either fail

Re: Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread Bill Freeman
If the program mysql_config is installed on your box, it may be installed in a directory that is not on your path. If you can find it on your box (try the locate and find commands), you can add the directory to your PATH by hand before running pip (or easy_install). It only needs to be there for

Doing the basic tutorial, MySQL-python problems.

2013-10-16 Thread Jimmy Pants
I'm trying to do the "Writing Your first Django App" tutorial, and Django can't see MySQL-python, though it is installed globally. I'm not sure if this is a virtualenv problem or what. Outside of virtualenv: jimmy@lilly ~/mysite $ sudo pip install MySQL-python [sudo] password for jimmy: Re