Skip to content
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

Traceback (most recent call last) #56

Open
Lotfi-2007 opened this issue Jul 5, 2023 · 0 comments
Open

Traceback (most recent call last) #56

Lotfi-2007 opened this issue Jul 5, 2023 · 0 comments

Comments

@Lotfi-2007
Copy link

i keep getting this error, i didn't got it yesterday, but now, everytime it give me an error in the place of URLs, i get something like this:
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /content/microsoftexcel/launch.py:38 in │
│ │
│ 35 │
│ 36 │
│ 37 if name == "main": │
│ ❱ 38 │ main() │
│ 39 │
│ │
│ /content/microsoftexcel/launch.py:34 in main │
│ │
│ 31 │ if args.test_server: │
│ 32 │ │ configure_for_tests() │
│ 33 │ │
│ ❱ 34 │ start() │
│ 35 │
│ 36 │
│ 37 if name == "main": │
│ │
│ /content/microsoftexcel/modules/launch_utils.py:330 in start │
│ │
│ 327 │
│ 328 def start(): │
│ 329 │ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'W │
│ ❱ 330 │ import webui │
│ 331 │ if '--nowebui' in sys.argv: │
│ 332 │ │ webui.api_only() │
│ 333 │ else: │
│ │
│ /content/microsoftexcel/webui.py:28 in │
│ │
│ 25 startup_timer = timer.Timer() │
│ 26 │
│ 27 import torch │
│ ❱ 28 import pytorch_lightning # noqa: F401 # pytorch_lightning should be │
│ 29 warnings.filterwarnings(action="ignore", category=DeprecationWarning, │
│ 30 warnings.filterwarnings(action="ignore", category=UserWarning, module= │
│ 31 │
│ │
│ /usr/local/lib/python3.10/dist-packages/pytorch_lightning/init.py:34 in │
│ │
│ │
│ 31 │ _logger.addHandler(logging.StreamHandler()) │
│ 32 │ _logger.propagate = False │
│ 33 │
│ ❱ 34 from pytorch_lightning.callbacks import Callback # noqa: E402 │
│ 35 from pytorch_lightning.core import LightningDataModule, LightningModule │
│ 36 from pytorch_lightning.trainer import Trainer # noqa: E402 │
│ 37 from pytorch_lightning.utilities.seed import seed_everything # noqa: E │
│ │
│ /usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/init
│ .py:25 in │
│ │
│ 22 from pytorch_lightning.callbacks.model_checkpoint import ModelCheckpoin │
│ 23 from pytorch_lightning.callbacks.model_summary import ModelSummary │
│ 24 from pytorch_lightning.callbacks.prediction_writer import BasePredictio │
│ ❱ 25 from pytorch_lightning.callbacks.progress import ProgressBarBase, RichP │
│ 26 from pytorch_lightning.callbacks.pruning import ModelPruning │
│ 27 from pytorch_lightning.callbacks.quantization import QuantizationAwareT │
│ 28 from pytorch_lightning.callbacks.rich_model_summary import RichModelSum │
│ │
│ /usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress │
│ /init.py:22 in │
│ │
│ 19 │
│ 20 """ │
│ 21 from pytorch_lightning.callbacks.progress.base import ProgressBarBase │
│ ❱ 22 from pytorch_lightning.callbacks.progress.rich_progress import RichProg │
│ 23 from pytorch_lightning.callbacks.progress.tqdm_progress import TQDMProg │
│ 24 │
│ │
│ /usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress │
│ /rich_progress.py:20 in │
│ │
│ 17 from datetime import timedelta │
│ 18 from typing import Any, Dict, Optional, Union │
│ 19 │
│ ❱ 20 from torchmetrics.utilities.imports import _compare_version │
│ 21 │
│ 22 import pytorch_lightning as pl │
│ 23 from pytorch_lightning.callbacks.progress.base import ProgressBarBase │
╰──────────────────────────────────────────────────────────────────────────────╯
ImportError: cannot import name '_compare_version' from
'torchmetrics.utilities.imports'
(/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant