Search - User list
Full Version: Python 3 Support
Root » Technical Discussion » Python 3 Support
dankray
Is there any approximate date when Python 3 is expected to arrive?

Also for windows will it ever come with pip (or reliable support for other packages)?
pelos
what is the thing you required with python3 that you cant do with python2? if is any library, you can just import it to your python script, beside print() using parenthesis everything else is an internal change, (mostly working range that will become generators instead lists)

when you install python already comes with pip / easy install,
dankray
tensorflow for windows - it only works with python3

by the way is it possible to add pip to future releases of houdini? Wouldn't it make senese to setup a separate repo only for versions of modules compatible with that houdini release?
pelos
you can install python 3 in the pc,
use houdini python2 to run a python3 as a subprocess,
the python 3 can do the tensorflow and the python2 is just a runner

os.popen.subprocess(“python3 file.py -args….”)

or a vm with linux and put houdini, python, tensorflow etc… all the stuff you need, not something that i think is a great idea since the VM use a lot of Ram, that you might end up needing for houdini process.

this are just quick ideas that came to my mind.
garyo
I'm building a fairly large server-side app in python, and creating and updating Houdini files will be a (pretty major) part of that. Since python2 is being completely end-of-lifed in around 7 months from now (1/1/2020, https://pythonclock.org/), it doesn't make much sense to write loads of new python code in python2. There's no async, Unicode support is questionable, the print function, no typing, iterables… at this point python2 is pretty archaic. Even a basic `2to3` conversion as an optional (even if semi-unsupported for now) interface to Houdini would be super helpful.
dankray
thanks for the reply. I received a messsage from sesi that the next major houdini release will include python 3 support.

Hopefully it will be built, so that we can include other compiled modules in it.
mandrake0
for the roadmap of all VFX tools: https://vfxplatform.com/ [vfxplatform.com]

you can also see that the delayed python 3 release is because of the studios they need more time to port there code and test it.
jeetendrag10
hi, I would suggest you run a flask python server with your tensorflow code and access data from houdini python 2 via http request.
The exchanged data can be any text, as json for example
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB