mirror of
https://github.com/FujiwaraChoki/MoneyPrinterV2.git
synced 2026-04-26 14:45:53 +03:00
[GH-ISSUE #52] Issue regarding what seems to be TTS #37
Labels
No labels
bug
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/MoneyPrinterV2#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ZigZagBoi1 on GitHub (Mar 3, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/52
Traceback (most recent call last):
File "C:\Users\marwa\Desktop\MoneyPrinterV2-main\src\main.py", line 364, in
main()
File "C:\Users\marwa\Desktop\MoneyPrinterV2-main\src\main.py", line 98, in main
tts = TTS()
File "C:\Users\marwa\Desktop\MoneyPrinterV2-main\src\classes\Tts.py", line 29, in init
self.model_manager = ModelManager(models_json_path)
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\TTS\utils\manage.py", line 56, in init
self.read_models_file(models_file)
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\TTS\utils\manage.py", line 68, in read_models_file
self.models_dict = read_json_with_comments(file_path)
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\TTS\config_init.py", line 17, in read_json_with_comments
with fsspec.open(json_path, "r", encoding="utf-8") as f:
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\fsspec\core.py", line 103, in enter
f = self.fs.open(self.path, mode=mode)
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\fsspec\spec.py", line 1293, in open
f = self._open(
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\fsspec\implementations\local.py", line 184, in _open
return LocalFileOpener(path, mode, fs=self, **kwargs)
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\fsspec\implementations\local.py", line 306, in init
self._open()
File "C:\Users\marwa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\fsspec\implementations\local.py", line 311, in _open
self.f = open(self.path, mode=self.mode)
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/marwa/Desktop/MoneyPrinterV2-main/venv/Lib/site-packages/TTS/.models.json'
@ZigZagBoi1 commented on GitHub (Mar 3, 2024):
this is for the youtube shorts btw
@ZigZagBoi1 commented on GitHub (Mar 3, 2024):
Hey! Solved!
so when you install TTS, it installs to the default python directory, just go there and find the (TTS) file copy that over into the venv\lib\site-packages\
and boom it should work :D