Open wsq194 opened 1 year ago
Have you tried to install gfpgan using pip manualy and restart the instal process ? Mine is :
Name: gfpgan Version: 1.3.8 Summary: GFPGAN aims at developing Practical Algorithms for Real-world Face Restoration Home-page: https://github.com/TencentARC/GFPGAN Author: Xintao Wang Author-email: xintao.wang@outlook.com License: Apache License Version 2.0 Location: /opt/homebrew/lib/python3.11/site-packages Requires: basicsr, facexlib, lmdb, numpy, opencv-python, pyyaml, scipy, tb-nightly, torch, torchvision, tqdm, yapf Required-by: realesrgan
This is likely related to the PyPI mirror you're using, https://pypi.tuna.tsinghua.edu.cn/
.
Not sure if I remember correctly. It seems that I had similar issues before. Perhaps you may try upgrading your macOS to Ventura.
pip config unset global.index-url
and try
try: pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
I'm following this tutorial to install stable diffusion https://www.youtube.com/watch?v=Jh-clc4jEvk and when I type in ./webui.sh it tells me I have an incompatible python version. ("This program is tested with 3.10.6 Python, but you have 3.12.4.") It tells me a website where I can download an earlier version of python but why downgrade? Is that the only way to make stable diffusion work? or can I have 2 versions of python installed at once??
I know it says to type --skip-python-version-check to suppress this warning, but I'm very new to this world of coding and I'm little nervous to make that warning go away. (Using a Mac computer btw).
It's also telling me at the end to update pip (pip install --upgrade pip) but I did that command a few minutes ago and updated it, then i re-ran the stable diffusion command and now its back to telling me again to update it when its been updated. This is maddening
Is there an existing issue for this?
What happened?
I followed the instructions at https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon, but the webui cannot be started and run.
Steps to reproduce the problem
1、If Homebrew is not installed, follow the instructions at https://brew.sh/ to install it. Keep the terminal window open and follow the instructions under "Next steps" to add Homebrew to your PATH. 2、Open a new terminal window and run brew install cmake protobuf rust python@3.10 git wget 3、Clone the web UI repository by running git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui 4、Place Stable Diffusion models/checkpoints you want to use into . If you don't have any, see Downloading Stable Diffusion Models below.stable-diffusion-webui/models/Stable-diffusion 5、cd stable-diffusion-webui and then to run the web UI. A Python virtual environment will be created and activated using venv and any remaining missing dependencies will be automatically downloaded and installed../webui.sh
What should have happened?
After following the complete steps, you should be able to start webui.
Version or Commit where the problem happens
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
MacOS
What device are you running WebUI on?
Other GPUs
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
否
Console logs
Additional information
operating system:macOX Monterey-12.2.1