octimot/StoryToolkitAI

After restarting the program error "can't find '__main__' module in 'C:\\Users\\benia\\Desktop\\StoryToolkitAI\\storytoolkitai'"

Closed this issue · 5 comments

After restarting the program running with activate.bat it does not see the files main.py
And when I manually go into the directory, this file is there. I have to run it manually then, but then I don't have the CUDA option.

1
2

Uploading app.log…

It's hard to tell from the two screenshots, but it could be that you're trying to execute from inside the installation, not from the folder where you did the initial git clone

The folder structure should look like this:

YOUR_INSTALLATION_FOLDER
+- StoryToolkitAI
+- venv

You have to be in YOUR_INSTALLATION_FOLDER (whatever the name is in your case) when you do py StoryToolkitAI\storytoolkitai, not in YOUR_INSTALLATION_FOLDER\StoryToolkitAI

I hope this makes sense.

Cheers!

3
I use this startup procedure, I enter the root folder of StoryToolkitAI to run "venv" while in "venv" I run the command py... and there is a mistake

4
5

You have to be inside the first StoryToolkitAI folder when you execute the start command. From what I can tell, right now you are executing from the Desktop folder.

So try a cd StoryToolkitAI before the py command - that is your installation folder.

Cheers

Thank you for your help, it already starts correctly.