I'm running 20.0.751 on Rocky 9 with python 3.10.6 installed and I'm struggling to get hou integrated into my python scripts. I dont want to use hython because its an existing python app I am running, I want to integrate houdini functions into this existing script.
$ source houdini_setup
The Houdini 20.0.751 environment has been initialized.
$ python
Python 3.10.6 (main, Mar 4 2024, 09:24:28) on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hou
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'hou'
$ hython
Python 3.10.10 (main, Sep 7 2023, 14:12:34) on linux
Houdini 20.0.751 hou module imported.
>>>
$ export PYTHONPATH=/opt/hfs20.0.751/houdini/python3.10libs/
$ python
Python 3.10.6 (main, Mar 4 2024, 09:24:28) on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hou
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/hfs20.0.751/houdini/python3.10libs/hou.py", line 25, in <module>
import _hou
ImportError: libpython3.10.so.1.0: cannot open shared object file: No such file or directory
>>>
any ideas on why I cant import hou?
LD_LIBRARY_PATH is not set to anything in my environment
ImportError: libpython3.10.so.1.0:
475 3 1- Endeavor
- Member
- 5 posts
- Joined: 4月 2023
- Offline
- Endeavor
- Member
- 5 posts
- Joined: 4月 2023
- Offline
- alexwheezy
- Member
- 297 posts
- Joined: 1月 2013
- Offline
- Endeavor
- Member
- 5 posts
- Joined: 4月 2023
- Offline
-
- Quick Links