[mythtv-users] possible to just build bindings?
Stephen Worthington
stephen_agent at jsw.gen.nz
Tue Feb 11 13:47:00 UTC 2025
On Mon, 10 Feb 2025 11:39:35 -0600, you wrote:
>Thanks again Stephen,
>
>I think I understand whats going wrong. I am using conda because of the
>instructions I was following, presumably to prevent this kind of problem in
>the first place. When using the conda environment for this project, my path
>does not include the python3 thats original to my machine. When I
>deactivate conda, I can import MythTV without error. But it wont work for
>my project because of the other dependencies that were all downloaded
>specific to the projects conda environment.
>
>I'm not sure how to proceed. I don't want to start over without using
>conda, probably can't even without really screwing things up. But I hoped
>to augment this project by utilizing some of mythtvs services api. Can I
>simply add '/usr/lib/python3/dist-packages' to my path in the conda
>environment? Note that the conda environment utilizes python 3.12, while
>its 3.10 natively on my machine.
>
>Thanks for your help.
>
>
>--George
I have no experience with conda, but the MythTV Python bindings do not
normally get updates for new versions of Python unless something
breaks and a bug report gets filed. So it is not unlikely that the
Python 3.10 MythTV files will work in Python 3.12. So simply adding
/usr/lib/python3/dist-packages to the Python sys.path before running
MythTV Python programs will likely work in conda. Does conda allow
you to set environment variables? If so, then this might work:
export PYTHONPATH=/usr/lib/python3/dist-packages
More information about the mythtv-users
mailing list