Replies: 2 comments
-
|
This does not appear to be a FastAPI issue but a python-path issue. Can you print out your directory structure? For instance, |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Let's close this for now to keep the discussions clean and organized. |
Beta Was this translation helpful? Give feedback.
0 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.
-
First Check
Commit to Help
Example Code
Description
File "/Path/Model-F/api/routes/api_routes.py", line 2, in
from model import RealESRGAN
ModuleNotFoundError: No module named 'model'
Operating System
macOS
Operating System Details
Mac mini M2 Apple Sillicon
Ram - 8 GB
Storage - 256
FastAPI Version
version = "0.110.0"
Pydantic Version
VERSION = '2.6.4'
Python Version
Python 3.12.2
Additional Context
I am trying to create API to use the deep learning model's functionality using fastapi i have tried every possible way but have been stuck at "ImportError" since last 30 days and the project deadline is today id anyone can help!!
Beta Was this translation helpful? Give feedback.
All reactions