question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"ModuleNotFoundError: No module named 'fastapi'"

See original GitHub issue

Starting last night, whenever I try to run your Colab version of Automatic1111, I get the following error:

Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 7, in <module>
    from fastapi import FastAPI
ModuleNotFoundError: No module named 'fastapi'

I tried deleting all of the files from my Google Drive and trying again, but it doesn’t help.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
TheLastBencommented, Dec 2, 2022

I’m aware of the freezing issue and I’m working on it.

0reactions
TheLastBencommented, Dec 3, 2022

Check with the A1111 team, I’m sure they will find a fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'fastapi' in Python
The Python "ModuleNotFoundError: No module named 'fastapi'" occurs when we forget to install the fastapi module before importing it or ...
Read more >
ModuleNotFoundError: No module named 'fastapi'
ModuleNotFound indicates that the relevant module has not been installed in the interpreter you're trying to use. How have you installed the ...
Read more >
ModuleNotFoundError: No module named ... - RoseIndia.Net
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'fastapi' How to remove the ModuleNotF.
Read more >
[Question] Why ModuleNotFoundError: No module found #3469
This is not a FastAPI issue but an import issue. It's impossible to provide a general solution, as there can be many causes....
Read more >
Can't find FastAPI module? - Reddit
I've been using FastAPI at work for a few weeks, and enjoying it. ... ModuleNotFoundError: No module named 'fastapi'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found