-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Description
Not sure what im doing wrong, but after installing, and running ./prestart.sh, i am getting the following error:
Traceback (most recent call last):
File "/Users/personal/ultimate-fastapi-tutorial/part-07-database/./app/backend_pre_start.py", line 3, in <module>
from tenacity import after_log, before_log, retry, stop_after_attempt, wait_fixed
ModuleNotFoundError: No module named 'tenacity'
./prestart.sh: line 7: alembic: command not found
Traceback (most recent call last):
File "/Users/personal/ultimate-fastapi-tutorial/part-07-database/./app/initial_data.py", line 3, in <module>
from app.db.base import Base
ModuleNotFoundError: No module named 'app'All i did was cloning the repo, going into one of the parts, and running poetry install.
/personal/ultimate-fastapi-tutorial/part-07-database main stock-lc ❯ poetry install 17:31:09
Installing dependencies from lock file
Package operations: 1 install, 20 updates, 0 removals
• Updating dnspython (2.2.1 -> 2.1.0)
• Updating greenlet (2.0.1 -> 1.1.2)
• Updating idna (3.4 -> 3.2)
• Updating markupsafe (2.1.1 -> 2.0.1)
• Updating typing-extensions (4.4.0 -> 3.10.0.0)
• Updating click (8.1.3 -> 7.1.2)
• Updating email-validator (1.3.0 -> 1.1.3)
• Updating h11 (0.14.0 -> 0.9.0)
• Updating httptools (0.5.0 -> 0.1.2)
• Updating mako (1.2.4 -> 1.1.4)
• Updating pydantic (1.10.2 -> 1.8.2)
• Installing python-editor (1.0.4)
• Updating sqlalchemy (1.4.44 -> 1.4.22)
• Updating starlette (0.22.0 -> 0.14.2)
• Updating uvloop (0.17.0 -> 0.15.3)
• Updating websockets (10.4 -> 8.1)
• Updating alembic (1.8.1 -> 1.6.5)
• Updating fastapi (0.88.0 -> 0.68.0)
• Updating jinja2 (3.1.2 -> 3.0.1)
• Updating tenacity (8.1.0 -> 8.0.1)
• Updating uvicorn (0.20.0 -> 0.11.8)
Installing the current project: app (0.0.1)And yes, even after manually installing tenacity, it still throws that error
Metadata
Metadata
Assignees
Labels
No labels