How to Enable Python 3 in Houdini 18?

   14695   8   4
User Avatar
Member
159 posts
Joined: 7月 2010
Offline
I downloaded the most recent daily build of H18, as of this writing 18.0.338, and opened the python shell.
It says:
Python 2.7.15 (default, Jul 21 2019, 08:43:30) 
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)] on darwin
Houdini 18.0.338 hou module imported.
Type "help", "copyright", "credits" or "license" for more information.
>>>

How do I enable python 3 in Houdini 18?

Thanks
User Avatar
Member
8545 posts
Joined: 7月 2007
Online
you need to download Hourini18 Python3 Tech Preview version

on Daily Builds Download page either scroll a bit down or click on Houdini Python 3 filter button
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
159 posts
Joined: 7月 2010
Offline
Ok, I'll give that a try. Thanks!
User Avatar
Member
159 posts
Joined: 7月 2010
Offline
I downloaded houdini-py3-18.0.338-macosx_x86_64_clang10.0_10.14.dmg
and installed it.
But when I open the python terminal, I still get 2.7.x, not 3.x.
What am I missing?
Edited by syntheticperson - 2020年1月3日 23:36:31

Attachments:
Screen Shot 2020-01-03 at 8.31.05 PM.png (74.2 KB)
Screen Shot 2020-01-03 at 8.30.28 PM.png (186.2 KB)

User Avatar
スタッフ
1255 posts
Joined: 7月 2005
Offline
Hello,

I downloaded today's 18.0.340 Python 3 Tech Preview build for Mac and it definitely is built against Python 3. Not only did the Python Shell report “Python 3.7.4” but the Houdini main window frame also said “Python 3” at the top.

I recommend a re-install since it looks like you have a Python 2 build of Houdini installed. So uninstall Houdini, unmount any existing Houdini images from your system (this can be done in Finder), then open the houdini-py3*.dmg file and run through the installation as usual.

Cheers,
Rob
User Avatar
Member
159 posts
Joined: 7月 2010
Offline
Ok, I'll try again with the newer 18.0.340 Python 3 Tech Preview build.
Strange that python 3 didn't work with houdini-py3-18.0.338-macosx_x86_64_clang10.0_10.14.
Thanks
User Avatar
Member
255 posts
Joined: 9月 2012
Offline
tamte
you need to download Hourini18 Python3 Tech Preview version

on Daily Builds Download page either scroll a bit down or click on Houdini Python 3 filter button



Tomas, will you advise to use a Houdini python 3 package over the old 2? Is is stable enough?
Could i install python 3 over my already install h18 python 2.7?


Thanks
________________________________________________________________
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
 http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
Edited by vinyvince - 2020年8月20日 07:25:07
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
User Avatar
Member
255 posts
Joined: 9月 2012
Offline
I download and install the daily python 3 tech preview by the launcher, installed is completed but inside there is still no python3 folder, only 2.7… I need it for Scipy and so

Is it a bug?
Note that i have also other houdini version installed and i do not want not to get rid of then .

Is it a bug? How could i manage to get it properly installed with python 3, i looked for options but can t see one on this point…
I off course download the right houdini install manager….

Is it not possible to just download the full package straight?

Cheers
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
User Avatar
Member
21 posts
Joined: 4月 2020
Offline
I just installed houdini-py3-18.5.442-macosx_x86_64_clang10.0_10.14.dmg then opened the Python shell in Houdini and it reads
Python 3.7.4 (default, Dec  4 2020, 16:10:22) 
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Houdini 18.5.442 hou module imported.

Houdini terminal Python versions read
python -V
Python 2.7.16
itsy$ python3 -V
Python 3.7.7
  • Quick Links