Skip to content

Error with [Win 7] #114

@jonnyprogamer

Description

@jonnyprogamer

Salve, sto provando ad avviare lo script dal source dato che dal runtime non si avvia per mancanza di DLL (il tool che è usato per impacchettare Python non supporta Win 7), ho già ffmpeg nel %PATH% di Windows e tutti i requisiti sono stati installati, ma mi escono fuori vari errori, ecco l'output:

image

Traceback (most recent call last):
  File "run.py", line 11, in <module>
    from Src.Api import (
  File "C:\Users\jonnyprogamer\Desktop\Streaming Community Downloader\StreamingCommunity_api-main\Src\Api\__init__.py",
line 3, in <module>
    from .film import download_film
  File "C:\Users\jonnyprogamer\Desktop\Streaming Community Downloader\StreamingCommunity_api-main\Src\Api\film.py", line
 10, in <module>
    from Src.Lib.FFmpeg.my_m3u8 import Downloader
  File "C:\Users\jonnyprogamer\Desktop\Streaming Community Downloader\StreamingCommunity_api-main\Src\Lib\FFmpeg\__init_
_.py", line 3, in <module>
    from .util.installer import check_ffmpeg
  File "C:\Users\jonnyprogamer\Desktop\Streaming Community Downloader\StreamingCommunity_api-main\Src\Lib\FFmpeg\util\__
init__.py", line 3, in <module>
    from .helper import (
  File "C:\Users\jonnyprogamer\Desktop\Streaming Community Downloader\StreamingCommunity_api-main\Src\Lib\FFmpeg\util\he
lper.py", line 95, in <module>
    def format_duration(seconds: float) -> list[int, int, int]:
TypeError: 'type' object is not subscriptable

Da quel che vedo penso che sia perchè sto usando Python 3.8 invece di 3.11 o successivi (come richiesto dal Readme), ma l'ultima versione di Python che supporta Win 7 è la 3.8
Sarebbe possibile far girare questo script su Python 3.8 in modo che funzioni anche su Windows 7? Grazie! (volevo entrare sul discord per discutere del problema ma il link è scaduto)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions