[GH-ISSUE #33] Macbook cannot find .model.js #19

Closed
opened 2026-03-02 04:06:16 +03:00 by kerem · 1 comment
Owner

Originally created by @NicholasChong on GitHub (Feb 22, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/33

When I run the project using my MacBook, I found that the output address was [/MoneyPrinterV2/venv**\Lib\**site-packages/TTS/.models.json] ,this Path is not supported in Mac, so I can't locate the real address.

This piece of code might need some adjustments.

        # Path to the .models.json file
        models_json_path = os.path.join(
            ROOT_DIR,
            venv_site_packages,
            "TTS",
            ".models.json",
        )
Originally created by @NicholasChong on GitHub (Feb 22, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/33 When I run the project using my MacBook, I found that the output address was [/MoneyPrinterV2/venv**\\**Lib**\\**site-packages/TTS/.models.json] ,this Path is not supported in Mac, so I can't locate the real address. This piece of code might need some adjustments. ``` # Path to the .models.json file models_json_path = os.path.join( ROOT_DIR, venv_site_packages, "TTS", ".models.json", ) ```
kerem closed this issue 2026-03-02 04:06:16 +03:00
Author
Owner

@NicholasChong commented on GitHub (Feb 22, 2024):

i passed by using absolute path

<!-- gh-comment-id:1958865155 --> @NicholasChong commented on GitHub (Feb 22, 2024): i passed by using absolute path
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#19
No description provided.