glucauze / sd-webui-faceswaplab

Extended faceswap extension for StableDiffusion web-ui with multiple faceswaps, inpainting, checkpoints, ....
https://glucauze.github.io/sd-webui-faceswaplab/
GNU Affero General Public License v3.0
715 stars 92 forks source link

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

Closed glucauze closed 11 months ago

glucauze commented 11 months ago

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.