Page 1 of 1

site packages library mysql

Posted: Tue Dec 13, 2011 10:57 pm
by redpawfx
Has anyone got any information as to what exact version of python is in Realflow?
we're having problems installing / using libMysqldb which a lot of our pipeline stuff relies on.

we have a version for 2.4.6 which is what we use for most every other package, but
I can't even get realflow to read / use any site packages installed stuff at all..

I get an error saying import site failed..
and when it was pointing at the 2.4.6 version it said it couldn't use/load it

if anyone has this working or any hints as to how to get it going we'd be greatly appreciative.

thanks.
-johnc

Re: site packages library mysql

Posted: Wed Dec 14, 2011 10:15 am
by Alex
Hi Johnc,

Python version embedded inside RealFlow is 2.6.2.

Depending on the OS you are using you might find the complete Python distribution inside RealFlow install directory.

Re: site packages library mysql

Posted: Wed Dec 14, 2011 11:46 am
by tsn
Just for later: you can always find out the current version with this short batch program:

Code: Select all

import sys
scene.message(str(sys.version))
In the "Messages" window you'll then find something like: 2.6.2 (r262:71600, Jan 22 2010, 13:13:39)

Please make sure to run the script inside RF, because from a terminal you'll probably get a different result.

Re: site packages library mysql

Posted: Thu Jan 26, 2012 1:03 am
by redpawfx
when will be the next update to python version for realflow? and what version will it be going to?

right now we're building out main pipeline on 2.6.4 so for things like mysql and pyQT we have to custom compile them to use within realflow.

let me know.

thanks :-)
johnc

Re: site packages library mysql

Posted: Thu Jan 26, 2012 1:57 pm
by gus
Hi John,

We haven´t go to the python review for the next version just yet.
Once we get there, we will let you know what the outcome will be.
2.6.4 doesn´t seem, in principle, that difficult to move to, specially if someone like you guys are going forward with this upgrade at your end.

As I said, we will let you know in due time.

Thanks for raising the question.

g-)