[mythtv-users] ttvdb4.py issuing an error

John Hoyt john.hoyt at gmail.com
Sun Dec 4 22:22:53 UTC 2022


>
> How do you setup the python framework in
>
> /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages
> Do you use pip install <latest> or pip install <version> ?
>

The packages come from macport (the macOS package manager I'm using).
Macports uses its own internal functions to copy the python packages in the
macports repository into place (i.e. no pip).


> On Ubuntu 22.04 using python 3.10 i get the following:
> $ python3
> Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import setuptools
> >>> setuptools.__version__
> '60.2.0'
>
> See
>
> https://stackoverflow.com/questions/73257839/setup-py-install-is-deprecated-warning-shows-up-every-time-i-open-a-terminal-i
> as well.
>
> The python bindings are bundled to the version of mythtv you are currently
> installing.
>
Therefore, do not give pypi the option to handle the installed version of
> the mythtv bindings on it's own..
> For that reason, the warning
> invalid version and will not be supported in a future release
> is expected and considered.
>

Thanks - I'll continue to ignore it (only caught it looking for any python
breadcrumbs in the compile log

BTW - just as extraneous information - here's my current output for
setuptools,__version__ for the latest python310 on macports
% python3
Python 3.10.8 (main, Oct 28 2022, 08:22:43) [Clang 14.0.0
(clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import setuptools
>>> setuptools.__version__
'65.6.3'


> For the other issue, the incompatibility of python-requests and
> python-requests-cache,

you need to find a combination that works.
> There had been several postings in the forum and the mailing-list about
> that.
>

Thank you for the pointer - it appears macports has the latest requests and
request-cache which is causing the issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20221204/d57ad1de/attachment.htm>


More information about the mythtv-users mailing list