BingLingGroup / autosub

Command-line utility to transcribe/translate from video/audio/subtitles to subtitles
GNU General Public License v2.0
1.97k stars 243 forks source link

ModuleNotFoundError: No module named 'send2trash' #202

Open Vwq23qq opened 10 months ago

Vwq23qq commented 10 months ago

Make sure you have read the readme, searched and read the issues related to yours. Otherwise it will be considered as a duplicate which will be closed immediately.

Describe the bug I fllow the steps in Readme,, succesfully installed alpha realease. But when start to use found errors below. Sep.24.2023

To Reproduce Steps to reproduce the behavior:

PS C:\WINDOWS\system32> autosub -h
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Scripts\autosub.exe\__main__.py", line 4, in <module>
  File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\autosub\__init__.py", line 17, in <module>
    from autosub import ffmpeg_utils
  File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\autosub\ffmpeg_utils.py", line 18, in <module>
    from autosub import constants
  File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\autosub\constants.py", line 21, in <module>
    from send2trash import send2trash
ModuleNotFoundError: No module named 'send2trash'

Expected behavior fix this bug please

Screenshots If applicable, add screenshots to help explain your problem. But it is not recommended using screenshots to demonstrate the commandline output unless you think it really matters.

Environment (please complete the following information):

Additional context (Optional) Installed: