joshmoody24 / sitcom-simulator

A tool that combines ChatGPT, Stable Diffusion, FakeYou, and FreePD to create AI-generated videos.
MIT License
98 stars 14 forks source link

How to Fix it ? #11

Closed KaiJia2017 closed 5 months ago

KaiJia2017 commented 5 months ago

Traceback (most recent call last): File "G:\Miniconda3\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Miniconda3\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Miniconda3\Scripts\sitcom-simulator.exe__main__.py", line 4, in File "G:\Miniconda3\lib\site-packages\sitcom_simulator__init.py", line 4, in from .script_generator import write_script, script_from_file File "G:\Miniconda3\lib\site-packages\sitcom_simulator\script_generator\init__.py", line 1, in from .script_generator import write_script, script_from_file File "G:\Miniconda3\lib\site-packages\sitcom_simulator\script_generator\script_generator.py", line 5, in from ..user_input import select_characters as debug_select_characters File "G:\Miniconda3\lib\site-packages\sitcom_simulator\user_input.py", line 1, in import tomllib ModuleNotFoundError: No module named 'tomllib'

joshmoody24 commented 5 months ago

What version of python are you running? Sitcom Simulator requires >= 3.11 python --version

If you have to use an older version, I can look into making it compatible with older versions. Let me know :)

KaiJia2017 commented 5 months ago

image Yes,python version 3.11.5

joshmoody24 commented 5 months ago

The reason you can't pip install tomllib is because it is a built-in library in Python 3.11. It should automatically be available for use without having to install anything. I can't find any sources online where people have been unable to use it.

A few things to check:

After that, my only other idea would be reinstalling python to see if that fixes it. Sorry it isn't working, I'll keep trying to help!

KaiJia2017 commented 5 months ago

Thank you, I've fixed it

joshmoody24 commented 5 months ago

Awesome! Glad you got it working!