ModuleNotFoundError: No module named <x> : Read this if you have dependencies problem #36

Closed
opened 2023-08-07 11:02:12 +02:00 by glucauze · 0 comments
glucauze commented 2023-08-07 11:02:12 +02:00 (Migrated from github.com)

If you encounter issues with dependencies or during the installation, it's recommended to install the dependencies manually from the root of your directory.

Windows:

.\venv\Scripts\activate
cd .\extensions\sd-webui-faceswaplab\
pip install -r .\requirements.txt

Linux/MacOS:

source venv/bin/activate
cd ./extensions/sd-webui-faceswaplab/
pip install -r ./requirements.txt

Please ensure that you have already set up the virtual environment (venv) before executing these commands.

If you plan on using the GPU, please use requirements-gpu.txt instead of requirements.txt when installing.

If you encounter issues with dependencies or during the installation, it's recommended to install the dependencies manually from the root of your <webui> directory. Windows: ```bash .\venv\Scripts\activate cd .\extensions\sd-webui-faceswaplab\ pip install -r .\requirements.txt ``` Linux/MacOS: ```bash source venv/bin/activate cd ./extensions/sd-webui-faceswaplab/ pip install -r ./requirements.txt ``` Please ensure that you have already set up the virtual environment (venv) before executing these commands. If you plan on using the GPU, please use `requirements-gpu.txt` instead of requirements.txt when installing.
Sign in to join this conversation.