pytapo icon indicating copy to clipboard operation
pytapo copied to clipboard

Feature Request: Add dependencies to install

Open JayWll opened this issue 7 months ago • 1 comments

It seems something changed on July 5th or 6th and I now get an error when attempting to use the library:

Traceback (most recent call last):
  File "/exec.py", line 7, in <module>
    from pytapo.media_stream.downloader import Downloader
  File "/usr/local/lib/python3.12/site-packages/pytapo/media_stream/downloader.py", line 1, in <module>
    from .convert import Convert
  File "/usr/local/lib/python3.12/site-packages/pytapo/media_stream/convert.py", line 7, in <module>
    import aiofiles
ModuleNotFoundError: No module named 'aiofiles'

I know very little about python, but I believe this indicates a new, unmet, dependency on another library. I solved for it by doing a pip install aiofiles as a workaround and things are working once again, but is there perhaps somewhere where dependencies are defined that's missing this one?

JayWll avatar Jul 11 '24 19:07 JayWll