[colab]:ImportError: cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/__init__.cpython-310-x86_64-linux-gnu.so) #16731
Closed
TOUGH-manemobu
started this conversation in
General
Replies: 1 comment 2 replies
-
Self resolved. I offer a solution for those who are having the same problem. It was found on this page. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
translation function.
Please understand that there is a possibility that the text may be incorrect.
Until yesterday it was working with google colab but now I get an error.
――――――――――
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 48, in
main()
File "/content/stable-diffusion-webui/launch.py", line 44, in main
start()
File "/content/stable-diffusion-webui/modules/launch_utils.py", line 465, in start
import webui
File "/content/stable-diffusion-webui/webui.py", line 13, in
initialize.imports()
File "/content/stable-diffusion-webui/modules/initialize.py", line 17, in imports
import pytorch_lightning # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/init.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/init.py", line 28, in
from pytorch_lightning.callbacks.pruning import ModelPruning
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/pruning.py", line 31, in
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/init.py", line 16, in
from pytorch_lightning.core.module import LightningModule
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/core/module.py", line 47, in
from pytorch_lightning.loggers import Logger
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/init.py", line 22, in
from pytorch_lightning.loggers.wandb import WandbLogger # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loggers/wandb.py", line 36, in
import wandb
File "/usr/local/lib/python3.10/dist-packages/wandb/init.py", line 21, in
from wandb import sdk as wandb_sdk
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/init.py", line 28, in
from .wandb_init import _attach, init
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_init.py", line 39, in
from . import wandb_login, wandb_setup
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_login.py", line 19, in
from .wandb_settings import Settings
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_settings.py", line 25, in
from pydantic import (
ImportError: cannot import name 'computed_field' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/init.cpython-310-x86_64-linux-gnu.so)
――――――――――
Beta Was this translation helpful? Give feedback.
All reactions