I tried to install the following, according to the given Installation Guide: https://github.com/JD-P/simulacrabot
But when I try to run the .py file with cmd, powershell or gitbash I get the error: ModuleNotFoundError: No module named 'torch'
I installed all the dependencies, checked and torch is installed, and even inside the cloned repo, but I still get this error
There is also a line which tells me to execute: 52a702409d76cd648be55a33de42aab188d676d9bfd23b5ef2ab5a8588c673c0 yfcc_upscaler_2.ckpt
But that long number text gibberish is not recognized as a command :(
source env_simulacra/bin/activate
- Grismarpython3 -m venv env_simulacra
, which should have created a virtual environment that would definitely include abin
folder in that location (unless you're not on Linux, which is what the guide assumes) - on Windows you'd wantenv_simulacra/Scripts/activate
. I would suggest looking for a quick guide or tutorial on virtual environments, you should understand a bit more about what you're doing instead of just trying commands you found on the internet, which can wreak all kinds of havoc if you're not careful. - Grismartorch
, nor do they havetorch
as a dependency - so it should come as no surprise that it's not installed - why do you think it would be? You mentioned "the .py file" - what .py file are you trying to run exactly? Thesimulacra.py
does try to importtorch
, so clearly the author expects you to have some additional packages installed, so you should trypip3 install torch
- it's sloppy of the author to not include it in the dependencies though (or to not include a requirements.txt) - Grismar