Ytini installation for Houdini on Windows
Hi guys, I am very new to Ytini's mailing list, mailing lists as well as Houdini. So please bear with me while I pick up the etiquette around this medium. With that out of the way here's my first question: After having succeeded installing Ytini for Houdini on a Mac OS X 10.14 I would now like to achieve the same with my Houdini install on a Windows 10 OS. I have tried to somewhat reproduce all steps described here http://www.ytini.com/getstarted.html#collapseTwoOut (Houdini 17.5 Tested on Mac OS X) on my Windows machine but wasn't surprised to learn that of course Houdini could not find the ytini module when I tried to import it in the python shell. Is there somebody, that could point me . in the right direction of how to install Ytini for Houdini on a Windows 10 OS environment? Not afraid of reading so even hints a re more than welcome. Many Thanks in advance Ur4n
Hi Ur4n! I have not tested the install on Windows just yet, but this is certainly an excuse to! What sub-version of Houdini are you using (so, like 17.5.XXX - what are the X's?)? Also, I assume what you tried was "import yt" in the Python shell within Houdini? Cheers, -Jill On Mon, Apr 29, 2019 at 8:02 AM uran san <ur4n.s4n@gmail.com> wrote:
Hi guys,
I am very new to Ytini's mailing list, mailing lists as well as Houdini. So please bear with me while I pick up the etiquette around this medium.
With that out of the way here's my first question:
After having succeeded installing Ytini for Houdini on a Mac OS X 10.14 I would now like to achieve the same with my Houdini install on a Windows 10 OS.
I have tried to somewhat reproduce all steps described here http://www.ytini.com/getstarted.html#collapseTwoOut (Houdini 17.5 Tested on Mac OS X) on my Windows machine but wasn't surprised to learn that of course Houdini could not find the ytini module when I tried to import it in the python shell.
Is there somebody, that could point me . in the right direction of how to install Ytini for Houdini on a Windows 10 OS environment?
Not afraid of reading so even hints a re more than welcome.
Many Thanks in advance
Ur4n _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi Jill, thanks for your response. I am using 17.5.XXX I did indeed try the "import yt" in python shell Furthermore: python is in PATH anaconda is in PATH and with it yt So in the command prompt I can start a python session and yt imports fine. However in Houdini it can't find the module. I suppose I need to let Houdini know somehow where to find yt module. Tried in desperation to copy the yt .exe and yt-scripts.py into Houdini directories (python27libs if I remember right [currently away from my windows machine]) still without a positive result. I'll get the chance to do further digging tonight after work. Thanks again for checking this out. I will post any advances here after 9-5 ;) Thanks and Kind Regards Ur4n On Tue, Apr 30, 2019 at 2:21 AM Naiman, Jill <jill.naiman@cfa.harvard.edu> wrote:
Hi Ur4n!
I have not tested the install on Windows just yet, but this is certainly an excuse to! What sub-version of Houdini are you using (so, like 17.5.XXX - what are the X's?)?
Also, I assume what you tried was "import yt" in the Python shell within Houdini?
Cheers, -Jill
On Mon, Apr 29, 2019 at 8:02 AM uran san <ur4n.s4n@gmail.com> wrote:
Hi guys,
I am very new to Ytini's mailing list, mailing lists as well as Houdini. So please bear with me while I pick up the etiquette around this medium.
With that out of the way here's my first question:
After having succeeded installing Ytini for Houdini on a Mac OS X 10.14
I would now like to achieve the same with my Houdini install on a Windows 10 OS.
I have tried to somewhat reproduce all steps described here
http://www.ytini.com/getstarted.html#collapseTwoOut (Houdini 17.5 Tested on Mac OS X) on my Windows machine but wasn't surprised to learn that of course Houdini could not find the ytini module when I tried to import it in the python shell.
Is there somebody, that could point me . in the right direction of how
to install Ytini for Houdini on a Windows 10 OS environment?
Not afraid of reading so even hints a re more than welcome.
Many Thanks in advance
Ur4n _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi Ur4n! What happens if you add the install location of yt to your sys.path variable? So like: import sys sys.append('YT_INSTALL_DIR') If you've pip installed it will probably be a directory like "lib/python3.7/site-packages/yt", but its basically the directory that holds things like "frontends, data_objects, analysis_modules", etc -Jill On Mon, Apr 29, 2019 at 3:51 PM uran san <ur4n.s4n@gmail.com> wrote:
Hi Jill,
thanks for your response.
I am using 17.5.XXX I did indeed try the "import yt" in python shell Furthermore:
python is in PATH anaconda is in PATH and with it yt So in the command prompt I can start a python session and yt imports fine. However in Houdini it can't find the module. I suppose I need to let Houdini know somehow where to find yt module.
Tried in desperation to copy the yt .exe and yt-scripts.py into Houdini directories (python27libs if I remember right [currently away from my windows machine]) still without a positive result. I'll get the chance to do further digging tonight after work.
Thanks again for checking this out. I will post any advances here after 9-5 ;)
Thanks and Kind Regards
Ur4n
On Tue, Apr 30, 2019 at 2:21 AM Naiman, Jill <jill.naiman@cfa.harvard.edu> wrote:
Hi Ur4n!
I have not tested the install on Windows just yet, but this is certainly an excuse to! What sub-version of Houdini are you using (so, like 17.5.XXX - what are the X's?)?
Also, I assume what you tried was "import yt" in the Python shell within Houdini?
Cheers, -Jill
On Mon, Apr 29, 2019 at 8:02 AM uran san <ur4n.s4n@gmail.com> wrote:
Hi guys,
I am very new to Ytini's mailing list, mailing lists as well as Houdini. So please bear with me while I pick up the etiquette around this medium.
With that out of the way here's my first question:
After having succeeded installing Ytini for Houdini on a Mac OS X 10.14 I would now like to achieve the same with my Houdini install on a Windows 10 OS.
I have tried to somewhat reproduce all steps described here http://www.ytini.com/getstarted.html#collapseTwoOut (Houdini 17.5 Tested on Mac OS X) on my Windows machine but wasn't surprised to learn that of course Houdini could not find the ytini module when I tried to import it in the python shell.
Is there somebody, that could point me . in the right direction of how to install Ytini for Houdini on a Windows 10 OS environment?
Not afraid of reading so even hints a re more than welcome.
Many Thanks in advance
Ur4n _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi Jill, I am having a similar problem with installing on windows. I followed the steps in Getting Started on a macbookpro with Houdini17.5.258 and everything worked fine but trying to install on Windows10 (H17.5.258) I got error when i try to import yt in python shell. All modules are installed locally and I use sys.path variable to load in houdini. I already imported other modules that are in the same place to test and all works as expected but when I try to import yt I get this error:
import yt Traceback (most recent call last): File "<console>", line 1, in <module> File "C:\Python27\Lib\site-packages\yt\__init__.py", line 25, in <module> from yt.funcs import \ File "C:\Python27\Lib\site-packages\yt\funcs.py", line 47, in <module> from yt.units.yt_array import YTArray, YTQuantity File "C:\Python27\Lib\site-packages\yt\units\__init__.py", line 1, in <module> from yt.units import unit_symbols File "C:\Python27\Lib\site-packages\yt\units\unit_symbols.py", line 14, in <module
from yt.units.yt_array import YTQuantity as quan File "C:\Python27\Lib\site-packages\yt\units\yt_array.py", line 39, in <module> from yt.units.unit_object import Unit, UnitParseError File "C:\Python27\Lib\site-packages\yt\units\unit_object.py", line 34, in <module> from yt.units.unit_registry import \ File "C:\Python27\Lib\site-packages\yt\units\unit_registry.py", line 21, in <modul e> from yt.utilities.lib.fnv_hash import fnv_hash ImportError: DLL load failed: The specified module could not be found. As I am no expert on python I am having difficulty resolving this. After a long search this was the only place I found someone with a problem similar to mine. You already tested the installation on windows, could you give me a hand on it? Thanks Jera
Hi Jera, Just to double check - you used the pip-install method under the "For Houdini 17.5" instructions? If so - can you post the output that you got from this? It should be a bit long - I just want to double check that everything installed ok. Thanks! -Jill On Tue, Sep 3, 2019 at 5:25 AM <jerafc@gmail.com> wrote:
Hi Jill,
I am having a similar problem with installing on windows. I followed the steps in Getting Started on a macbookpro with Houdini17.5.258 and everything worked fine but trying to install on Windows10 (H17.5.258) I got error when i try to import yt in python shell.
All modules are installed locally and I use sys.path variable to load in houdini.
I already imported other modules that are in the same place to test and all works as expected but when I try to import yt I get this error:
import yt Traceback (most recent call last): File "<console>", line 1, in <module> File "C:\Python27\Lib\site-packages\yt\__init__.py", line 25, in <module> from yt.funcs import \ File "C:\Python27\Lib\site-packages\yt\funcs.py", line 47, in <module> from yt.units.yt_array import YTArray, YTQuantity File "C:\Python27\Lib\site-packages\yt\units\__init__.py", line 1, in <module> from yt.units import unit_symbols File "C:\Python27\Lib\site-packages\yt\units\unit_symbols.py", line 14, in <module
from yt.units.yt_array import YTQuantity as quan File "C:\Python27\Lib\site-packages\yt\units\yt_array.py", line 39, in <module> from yt.units.unit_object import Unit, UnitParseError File "C:\Python27\Lib\site-packages\yt\units\unit_object.py", line 34, in <module> from yt.units.unit_registry import \ File "C:\Python27\Lib\site-packages\yt\units\unit_registry.py", line 21, in <modul e> from yt.utilities.lib.fnv_hash import fnv_hash ImportError: DLL load failed: The specified module could not be found.
As I am no expert on python I am having difficulty resolving this. After a long search this was the only place I found someone with a problem similar to mine. You already tested the installation on windows, could you give me a hand on it?
Thanks Jera _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi Jill, Thanks for your reply! I'm not sure of what you mean with the output of pip-install but yes, Im used the pip-install method under the For Houdini 17.5. Here is the list of modules that I have installed. Package Version ---------------------------------- ----------- astroid 1.6.6 backports.functools-lru-cache 1.5 backports.shutil-get-terminal-size 1.0.0 colorama 0.4.1 configparser 3.7.4 cycler 0.10.0 decorator 4.4.0 enum34 1.1.6 functools32 3.2.3.post2 futures 3.3.0 h5py 2.9.0 ipython 5.8.0 ipython-genutils 0.2.0 isort 4.3.21 kiwisolver 1.1.0 lazy-object-proxy 1.4.1 matplotlib 2.2.4 mccabe 0.6.1 mpmath 1.1.0 numpy 1.16.5 pathlib2 2.3.4 pickleshare 0.7.5 pip 19.2.3 prompt-toolkit 1.0.16 Pygments 2.4.2 pylint 1.9.5 pyparsing 2.4.2 python-dateutil 2.8.0 pytz 2019.2 scandir 1.10.0 setuptools 40.6.2 simplegeneric 0.8.1 singledispatch 3.4.0.3 six 1.12.0 sympy 1.4 traitlets 4.3.2 wcwidth 0.1.7 win-unicode-console 0.5 wrapt 1.11.2 yt 3.5.1 Thanks, Jera
That is helpful info, thanks! Did you try to import yt just from a regular python console? I'm just curious if this error is Houdini-environment specific or if its a problem with this particular install on a Windows machine? On Wed, Sep 4, 2019 at 4:27 AM <jerafc@gmail.com> wrote:
Hi Jill,
Thanks for your reply! I'm not sure of what you mean with the output of pip-install but yes, Im used the pip-install method under the For Houdini 17.5. Here is the list of modules that I have installed.
Package Version ---------------------------------- ----------- astroid 1.6.6 backports.functools-lru-cache 1.5 backports.shutil-get-terminal-size 1.0.0 colorama 0.4.1 configparser 3.7.4 cycler 0.10.0 decorator 4.4.0 enum34 1.1.6 functools32 3.2.3.post2 futures 3.3.0 h5py 2.9.0 ipython 5.8.0 ipython-genutils 0.2.0 isort 4.3.21 kiwisolver 1.1.0 lazy-object-proxy 1.4.1 matplotlib 2.2.4 mccabe 0.6.1 mpmath 1.1.0 numpy 1.16.5 pathlib2 2.3.4 pickleshare 0.7.5 pip 19.2.3 prompt-toolkit 1.0.16 Pygments 2.4.2 pylint 1.9.5 pyparsing 2.4.2 python-dateutil 2.8.0 pytz 2019.2 scandir 1.10.0 setuptools 40.6.2 simplegeneric 0.8.1 singledispatch 3.4.0.3 six 1.12.0 sympy 1.4 traitlets 4.3.2 wcwidth 0.1.7 win-unicode-console 0.5 wrapt 1.11.2 yt 3.5.1
Thanks, Jera _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Yes I tried and from a regular python console works as expected. By the way, I have the same python version of houdini installed 2.7.15 but already tried to install the modules with python 3.7 maybe could be a version but had the same problems. As I told you I can import other modules inside the same Lib yt are installed with the python shell in houdini but the only that give me error its yt.
I managed to find a Windows machine and found to get rid of your "from yt.utilities.lib.fnv_hash import fnv_hash" I did "pip install fnvhash" (using the pip that I installed in the houdini folder). You are indeed correct that the python3.7-installed yt modules and the python2.7-houdini will not play nicely with each other, sadly. I'm currently hung up on a numpy-install error but I was messing around with things so I'll need to try to re-do my Houdini install later today. On Thu, Sep 5, 2019 at 3:12 AM <jerafc@gmail.com> wrote:
Yes I tried and from a regular python console works as expected. By the way, I have the same python version of houdini installed 2.7.15 but already tried to install the modules with python 3.7 maybe could be a version but had the same problems. As I told you I can import other modules inside the same Lib yt are installed with the python shell in houdini but the only that give me error its yt. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
As a quick addendum - it looks like this numpy error comes with the latest version of Houdini (17.5.360) - I'll try downgrading to your version later and see what happens, but you can try pip-installing the missing package and test if it might work with your version of Houdini On Thu, Sep 5, 2019 at 11:17 AM Naiman, Jill <jill.naiman@cfa.harvard.edu> wrote:
I managed to find a Windows machine and found to get rid of your "from yt.utilities.lib.fnv_hash import fnv_hash" I did "pip install fnvhash" (using the pip that I installed in the houdini folder).
You are indeed correct that the python3.7-installed yt modules and the python2.7-houdini will not play nicely with each other, sadly.
I'm currently hung up on a numpy-install error but I was messing around with things so I'll need to try to re-do my Houdini install later today.
On Thu, Sep 5, 2019 at 3:12 AM <jerafc@gmail.com> wrote:
Yes I tried and from a regular python console works as expected. By the way, I have the same python version of houdini installed 2.7.15 but already tried to install the modules with python 3.7 maybe could be a version but had the same problems. As I told you I can import other modules inside the same Lib yt are installed with the python shell in houdini but the only that give me error its yt. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
I already installed the missing package but still giving the same error. I wonder if could be the compile version because in my system the compile is MSC v.1500 and the version istalled with houdini is MSC v.1916. Maybe this has nothing to do but I don't want to bother you with this issue anymore because I think is a problem with my houdini version and the python version of my system. I will download a python version with the same MSC version of houdini and try again. Thanks!
That would be my next suggestion anyway! Please feel free to reach out if there are still issues, and FWIW I think my numpy issues are *also* do to some errant python installation somewhere in my Houdini path. On Mon, Sep 9, 2019 at 4:27 AM <jerafc@gmail.com> wrote:
I already installed the missing package but still giving the same error. I wonder if could be the compile version because in my system the compile is MSC v.1500 and the version istalled with houdini is MSC v.1916. Maybe this has nothing to do but I don't want to bother you with this issue anymore because I think is a problem with my houdini version and the python version of my system. I will download a python version with the same MSC version of houdini and try again.
Thanks! _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi Jill - I'm a new user of Houdini and yt (on Windows 10), and I've run into the same problem. I've tried several different ways of installing yt into Houdini Apprentice, both 17.5.425 and 18.0.287, using both conda and pip (separately and from scratch each time). I've also tried both yt 3.4.1 from conda's repository and 3.5.1 from source-forge. No matter what I do I can't get around the fnv_hash DLL installation error. For my current installation attempt, I've created a stand-alone conda environment that I call myYtiniPy27 and I've installed yt into that. The latest yt installs the six and h5py packages (and others too) with it, so I've not installed them separately. I've created a pythonrc.py startup script to add myYtiniPy27 to the path: $ import sys $ sys.path.append('C:\ProgramData\Miniconda2\envs\myYtiniPy27\Lib\site-packages') Houdini runs this at startup. In the Houdini python shell I can successfully import some of the companion modules that get installed with yt (eg. six), so I know the startup script is working. However, when I try to import yt itself I get the same error as others, ie. File "C:\ProgramData\Miniconda2\envs\myYtiniPy27\Lib\site-packages\yt\units\unit_registry.py", line 21, in <module> from yt.utilities.lib.fnv_hash import fnv_hashImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. I tried your suggestion above for a pip install of fnv_hash but it didn't help. Although sub-packages like six do import OK, others like h5py don't, and give a DLL initialization fail error too. As a hack, I thought I could try just commenting out fnv_hash to get around the problem temporarily. I edited the source file that calls it, unit_registry.py, and recompiled it. This got rid of the fnv_hash import call by yt and therefore the above import error but then that just allowed another module's import error to pop its head up. Because I'm only learning both Houdini and yt at the moment I might continue hacking like this until all the errors go away, hoping of course that I'm only commenting out functions I won't be using, and nothing critical to a learner. In the meantime, have you had any luck tracking down the cause of these problems? Regards Ian
Further to my above comments, I've done some more investigations. When yt is installed by conda into my standalone virtual environment myYtiniPy25, a total of 37 packages (yt included) are installed. My Houdini start up script adds this virtualenv to the path. When in Houdini, I've tested importing each of these packages one by one by using the import command in the python shell. The results are as follows (they are the same whether it's 17.5 and 18.0). These packages import with no problems and no error messages: backports, backports.functools_lru_cache, backports.shutil_get_terminal_size, backports_abc, colorama, cycler, decorator, functools32, ipython_genutils, linecache2, matplotlib, mpmath, numpy, pathlib2, pickleshare, prompt_toolkit, pygments, pyparsing, pyreadline, pytz, scandir, simplegeneric, singledispatch, sip, six, sympy, tornado, traceback2, traitlets, unittest2, wcwidth, win_unicode_console, zlib These packages throw a MSVC++ runtime error R6034 dialog but python gives no error message (and if I try the import again, it imports OK with no error dialog or python error message): IPython, sympy These packages throw a syntax error (due to the hyphen) but presumably are OK (maybe called by other packages where the syntax is OK?): Intel-openmp, mkl-service, numpy-base, python-dateutil These packages throw a module could not be found error but conda says they’re definitely installed and they appear in the site-packages, as specified: enum34: egg-info only futures: dist-info only mkl: mkl only (no egg-info or dist-info) mkl_fft: mkl_fft and egg-info (no dist-info) These packages throw a module could not be found error but conda says they’re definitely installed so presumably they’re in a compiled version only, inside another package (they have no package of their own in site-packages): blas, freetype, hdf5, icc_rt, icu, jpeg, libpng, pyqt, qt These packages throw a MSVC++ runtime error R6034 dialog and a python DLL initialization routine failed error, and the error location is as specified: fastcache: line 27, in <module> from ._lrucache import clru_cache h5py: line 26, in <module> from . import _errors kiwisolver: File "<console>", line 1, in <module> yt: (2 MSVC++ runtime error dialogs then) python line 21, in <module> from yt.utilities.lib.fnv_hash import fnv_hash Hopefully, these results might help someone much more knowledgeable than me to tease out where the problem is occurring.
Hi Ian, I have definitely run into this issue before, but for the life of me, I cannot recall how we solved it. One, possibly silly, question - if you install yt as a standalone, will that work? I.e. can you run some of the example scripts just using a standalone install of Python and yt? Cheers, -Jill On Sat, Dec 7, 2019 at 1:04 AM Ian Woodward <ianww@iinet.net.au> wrote:
Further to my above comments, I've done some more investigations.
When yt is installed by conda into my standalone virtual environment myYtiniPy25, a total of 37 packages (yt included) are installed. My Houdini start up script adds this virtualenv to the path. When in Houdini, I've tested importing each of these packages one by one by using the import command in the python shell. The results are as follows (they are the same whether it's 17.5 and 18.0).
These packages import with no problems and no error messages:
backports, backports.functools_lru_cache, backports.shutil_get_terminal_size, backports_abc, colorama, cycler, decorator, functools32, ipython_genutils, linecache2, matplotlib, mpmath, numpy, pathlib2, pickleshare, prompt_toolkit, pygments, pyparsing, pyreadline, pytz, scandir, simplegeneric, singledispatch, sip, six, sympy, tornado, traceback2, traitlets, unittest2, wcwidth, win_unicode_console, zlib
These packages throw a MSVC++ runtime error R6034 dialog but python gives no error message (and if I try the import again, it imports OK with no error dialog or python error message):
IPython, sympy
These packages throw a syntax error (due to the hyphen) but presumably are OK (maybe called by other packages where the syntax is OK?):
Intel-openmp, mkl-service, numpy-base, python-dateutil
These packages throw a module could not be found error but conda says they’re definitely installed and they appear in the site-packages, as specified:
enum34: egg-info only futures: dist-info only mkl: mkl only (no egg-info or dist-info) mkl_fft: mkl_fft and egg-info (no dist-info)
These packages throw a module could not be found error but conda says they’re definitely installed so presumably they’re in a compiled version only, inside another package (they have no package of their own in site-packages):
blas, freetype, hdf5, icc_rt, icu, jpeg, libpng, pyqt, qt
These packages throw a MSVC++ runtime error R6034 dialog and a python DLL initialization routine failed error, and the error location is as specified:
fastcache: line 27, in <module> from ._lrucache import clru_cache
h5py: line 26, in <module> from . import _errors
kiwisolver: File "<console>", line 1, in <module>
yt: (2 MSVC++ runtime error dialogs then) python line 21, in <module> from yt.utilities.lib.fnv_hash import fnv_hash
Hopefully, these results might help someone much more knowledgeable than me to tease out where the problem is occurring. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
I've tried this your suggestion. I created a new PyCharm project and installed yt into a virtual environment there. I ran ds = yt.load("D:\ytini\IsolatedGalaxyTutorial\galaxy0030/galaxy0030") and got yt : [INFO ] 2019-12-09 11:13:46,984 Parameters: current_time = 0.00600002000283 yt : [INFO ] 2019-12-09 11:13:46,984 Parameters: domain_dimensions = [32 32 32] yt : [INFO ] 2019-12-09 11:13:46,986 Parameters: domain_left_edge = [0. 0. 0.] yt : [INFO ] 2019-12-09 11:13:46,986 Parameters: domain_right_edge = [1. 1. 1.] yt : [INFO ] 2019-12-09 11:13:46,986 Parameters: cosmological_simulation = 0.0 So, it looks like yt is OK when it's out by itself. However, when I make the Houdini pythonrc.py file point to that virtual environment, using: import sys sys.path.append('C:\Users\Owner\PycharmProjects\ytini\myYtini\Lib\site-packages') and then try to import yt in the Houdini python shell I get the same fnv_hash import error as before. I get the same result whether it's Houdini 16.0, 17.5 or 18.0.
A naive newby question...This may become apparent once I've worked through the examples but does it actually matter if yt can't be imported into and run from inside Houdini? ie. Is it just a matter of convenience to be able to run yt from the Houdini python shell rather than from an external shell? Or is the yt integration into Houdini much more involved than that? Skimming ahead through the tutorials, I can't see where any yt function is called from a Houdini node (but I could easily be wrong!). Is yt just for manipulation of data before it's presented in Houdini, meaning that the manipulation could equally well be done in an external python, say PyCharm, with only the results needing to be imported into Houdini rather than yt itself?
Hi Ian, It *can* matter if you are using yt to do any importing of things. If you use yt as a data reader and then turn all of your data into OpenVDB volumes, Houdini can simply read these OpenVDB volumes natively (i.e. http://ytini.com/tutorials/tutorial_amr.html). So it sort of depends on what avenue you are looking to go in. Feel free to ping back if you end up wanting to use yt within Houdini, and you can email me directly if you end up going the route of yt -> OpenVDB and have issues on the Houdini end. Cheers, -Jill ---------------------------------- Jill P. Naiman, Ph.D. Instructor, iSchool, UIUC astronaiman.com ---------------------------------- ________________________________ From: Ian Woodward <ianww@iinet.net.au> Sent: Sunday, December 8, 2019 8:51 PM To: yt-users@python.org <yt-users@python.org> Subject: [yt-users] Re: Ytini installation for Houdini on Windows A naive newby question...This may become apparent once I've worked through the examples but does it actually matter if yt can't be imported into and run from inside Houdini? ie. Is it just a matter of convenience to be able to run yt from the Houdini python shell rather than from an external shell? Or is the yt integration into Houdini much more involved than that? Skimming ahead through the tutorials, I can't see where any yt function is called from a Houdini node (but I could easily be wrong!). Is yt just for manipulation of data before it's presented in Houdini, meaning that the manipulation could equally well be done in an external python, say PyCharm, with only the results needing to be imported into Houdini rather than yt itself? _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
I suspect that, to make ytini work as an integrated part of Houdini under Windows so that yt DLLs can be loaded along with Houdini ones, it'll be necessary (a) to install yt using Houdini's built-in installation of python 2.7 and (b) to convince the installation scripts to use the MSVC compiler (...\...\cl.exe I think) rather than gcc, to compile the all associated C code (from cython, from extension libraries, whatever). I'm not sure what it will take to do this -- passing special flags to every setup.py in every depended-on package? Or is it possible to put the right stuff in the environment and then let "pip install yt" do its thing? Houdini's "hcustom" command, intended for building plugins, can be asked to spit out CFLAGS and LDFLAGS values that presumably match what Houdini was built with. That may be part of a clue. On 12/11/19 9:29 PM, Naiman, Jill Palmer wrote: Hi Ian, It *can* matter if you are using yt to do any importing of things. If you use yt as a data reader and then turn all of your data into OpenVDB volumes, Houdini can simply read these OpenVDB volumes natively (i.e. http://ytini.com/tutorials/tutorial_amr.html). So it sort of depends on what avenue you are looking to go in. Feel free to ping back if you end up wanting to use yt within Houdini, and you can email me directly if you end up going the route of yt -> OpenVDB and have issues on the Houdini end. Cheers, -Jill ---------------------------------- Jill P. Naiman, Ph.D. Instructor, iSchool, UIUC astronaiman.com ---------------------------------- ________________________________ From: Ian Woodward <ianww@iinet.net.au><mailto:ianww@iinet.net.au> Sent: Sunday, December 8, 2019 8:51 PM To: yt-users@python.org<mailto:yt-users@python.org> <yt-users@python.org><mailto:yt-users@python.org> Subject: [yt-users] Re: Ytini installation for Houdini on Windows A naive newby question...This may become apparent once I've worked through the examples but does it actually matter if yt can't be imported into and run from inside Houdini? ie. Is it just a matter of convenience to be able to run yt from the Houdini python shell rather than from an external shell? Or is the yt integration into Houdini much more involved than that? Skimming ahead through the tutorials, I can't see where any yt function is called from a Houdini node (but I could easily be wrong!). Is yt just for manipulation of data before it's presented in Houdini, meaning that the manipulation could equally well be done in an external python, say PyCharm, with only the results needing to be imported into Houdini rather than yt itself? _______________________________________________ yt-users mailing list -- yt-users@python.org<mailto:yt-users@python.org> To unsubscribe send an email to yt-users-leave@python.org<mailto:yt-users-leave@python.org> _______________________________________________ yt-users mailing list -- yt-users@python.org<mailto:yt-users@python.org> To unsubscribe send an email to yt-users-leave@python.org<mailto:yt-users-leave@python.org>
Hi Jill and Stuart - thanks for your comments and feedback. Your comments suggest that pursuing integration into Houdini in Windows would be beyond my knowledge set! FYI I've also tried building OpenVDB for Windows following the OpenVDB site's guidance and also using this procedure: https://github.com/ramakarl/win_openvdb but hit a wall of errors there too. So..for the moment at least I'll concentrate on skilling up in Houdini. I've got yt running OK outside of Houdini, so I'll learn that too. Cheers Ian
Hi Ian, Happy to schedule an install session via Skype or some such in the future if that would be useful -- these next few weeks are a little bananas with finals and the holidays, but let me know if that would be useful in the near future and we can figure something out! Cheers, -Jill ---------------------------------- Jill P. Naiman, Ph.D. Instructor, iSchool, UIUC astronaiman.com ---------------------------------- ________________________________ From: Ian Woodward <ianww@iinet.net.au> Sent: Friday, December 13, 2019 2:50 AM To: yt-users@python.org <yt-users@python.org> Subject: [yt-users] Re: Ytini installation for Houdini on Windows Hi Jill and Stuart - thanks for your comments and feedback. Your comments suggest that pursuing integration into Houdini in Windows would be beyond my knowledge set! FYI I've also tried building OpenVDB for Windows following the OpenVDB site's guidance and also using this procedure: https://github.com/ramakarl/win_openvdb but hit a wall of errors there too. So..for the moment at least I'll concentrate on skilling up in Houdini. I've got yt running OK outside of Houdini, so I'll learn that too. Cheers Ian _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi Jill - Thanks for that very kind offer. As it turns out, after throwing my arms in the air and giving up, I went back to it like a dog to a bone and I have now managed to successfully build OpenVDB in Windows! It took a few days of troubleshooting but I got there in the end. I can now run OpenVDB from a Windows command terminal and also from a PyCharm terminal. I haven’t looked at trying the Houdini-specific part of it yet but will do so in a few weeks’ time, after a holiday break road trip. I kept a record of all the steps that I took (and revised and retook and revised again etc…and there were an awful lot of them!) and I’ve used that to create a detailed step-by-step installation guide, so that others can avoid the pain of what I’ve been through. I’ve put a pdf of the guide (all 20 pages) into a Dropbox folder, which can be accessed via this link: https://www.dropbox.com/sh/64otu6lstnn1483/AADCOruxLOBwKoIzJOJ05s1Ba?dl=0. Please feel free to distribute this and/or post it on your web site as you see fit (and the same goes for anyone else wanting to share it too). Cheers Ian
Minor update to guide made (note added about version numbers). https://www.dropbox.com/sh/64otu6lstnn1483/AADCOruxLOBwKoIzJOJ05s1Ba?dl=0
participants (6)
-
Ian Woodward
-
jerafc@gmail.com
-
Levy, Stuart A
-
Naiman, Jill
-
Naiman, Jill Palmer
-
uran san