[mythtv-users] Python bindings prefix

Michael T. Dean mtdean at thirdcontact.com
Mon Feb 12 12:29:21 UTC 2018


On 02/11/2018 03:24 PM, Nigel Jewell wrote:
> I compile MythTV 29 fixes from source on Fedora 27, and even with 
> changing the installation prefix (--prefix=/usr/local) I'm finding 
> that the python bindings are ending up in 
> /usr/lib/python2.7/site-packages/MythTV.  What am I doing wrong?

https://lists.gt.net/mythtv/commits/550365

Basically, your system's installation of Python is configured to look 
for Python packages under /usr , so MythTV's Python package is installed 
where Python will find it so you don't have to specify a PYTHONPATH 
every time you want to execute some Python program using the MythTV 
stuff.  If you want it to install in /usr/local you'll need to 
reconfigure your system Python installation to look there.

Mike


More information about the mythtv-users mailing list