-
Notifications
You must be signed in to change notification settings - Fork 27.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Version: v1.6.0 Options TypeError: 'type' object is not subscriptable #12884
Comments
Please fill out the issue form correctly. You did not provide a sysinfo file.
|
--dump-sysinfo also don't work
|
Were you ever able to open this? Python 3.10 definitely has a lot of changes that might prevent it from running in 3.8. |
As Z-L-D mentioned, try upgrading Python to 3.10 -- support below that version is not guaranteed. |
Ugh. Ubuntu 20.04 has Python 3.8, so that could be a bit inconvenient for some. |
Well, you can update to the latest Ubuntu 22.04.3 which comes with python 3.10.4, or you can update python directly. Do this only if you know what this means for your system though.
|
Thanks. Neither is an option here at this stage, but I only really play around with StableDiffusion. Not being able to use v1.6.0 isn't going to be the end of the world (for me). 😄 |
Thanks! python==3.10.0 can work |
It's work for me, Are there any other solutions available? stable-diffusion-webui-lh $ CUDA_VISIBLE_DEVICES=5 /root/paddlejob/workspace/env_run/output/env_webui/bin/python launch.py --server-name 10.67.190.143 --port 8911 --xformers --theme dark --enable-insecure-extension-access |
Solution: Create conda environment: Edit the following line of webui-user.sh: Run: |
I solved it by installing pyenv and then installing the python versin 3.10.0 and then activating that by |
Is there an existing issue for this?
What happened?
Python 3.8.10 (default, Jun 4 2021, 15:09:15)
[GCC 7.5.0]
Version: v1.6.0
Commit hash: 5ef669d
current transparent-background 1.2.4
Installing requirements for TemporalKit extension
Launching Web UI with arguments: --share --api --xformers --no-gradio-queue --no-half-vae
Traceback (most recent call last):
File "launch.py", line 48, in
main()
File "launch.py", line 44, in main
start()
File "/root/autodl-tmp/stable-diffusion-webui/modules/launch_utils.py", line 432, in start
import webui
File "/root/autodl-tmp/stable-diffusion-webui/webui.py", line 13, in
initialize.imports()
File "/root/autodl-tmp/stable-diffusion-webui/modules/initialize.py", line 33, in imports
from modules import shared_init
File "/root/autodl-tmp/stable-diffusion-webui/modules/shared_init.py", line 5, in
from modules import shared
File "/root/autodl-tmp/stable-diffusion-webui/modules/shared.py", line 5, in
from modules import shared_cmd_options, shared_gradio_themes, options, shared_items, sd_models_types
File "/root/autodl-tmp/stable-diffusion-webui/modules/options.py", line 74, in
class Options:
File "/root/autodl-tmp/stable-diffusion-webui/modules/options.py", line 77, in Options
def init(self, data_labels: dict[str, OptionInfo], restricted_opts):
TypeError: 'type' object is not subscriptable
Steps to reproduce the problem
python launch.py
What should have happened?
the webui shoud launch
Sysinfo
Python 3.8.10 (default, Jun 4 2021, 15:09:15)
[GCC 7.5.0]
Version: v1.6.0
What browsers do you use to access the UI ?
No response
Console logs
Additional information
help!!!
The text was updated successfully, but these errors were encountered: