Not sure what im doing wrong, but after installing, and running ./prestart.sh, i am getting the following error:
Traceback (mostrecentcalllast):
File"/Users/personal/ultimate-fastapi-tutorial/part-07-database/./app/backend_pre_start.py", line3, in<module>fromtenacityimportafter_log, before_log, retry, stop_after_attempt, wait_fixedModuleNotFoundError: Nomodulenamed'tenacity'
./prestart.sh: line7: alembic: commandnotfoundTraceback (mostrecentcalllast):
File"/Users/personal/ultimate-fastapi-tutorial/part-07-database/./app/initial_data.py", line3, in<module>fromapp.db.baseimportBaseModuleNotFoundError: Nomodulenamed'app'
All i did was cloning the repo, going into one of the parts, and running poetry install.
/personal/ultimate-fastapi-tutorial/part-07-databasemainstock-lc ❯ poetryinstall17:31:09InstallingdependenciesfromlockfilePackageoperations: 1install, 20updates, 0removals
• Updatingdnspython (2.2.1->2.1.0)
• Updatinggreenlet (2.0.1->1.1.2)
• Updatingidna (3.4->3.2)
• Updatingmarkupsafe (2.1.1->2.0.1)
• Updatingtyping-extensions (4.4.0->3.10.0.0)
• Updatingclick (8.1.3->7.1.2)
• Updatingemail-validator (1.3.0->1.1.3)
• Updatingh11 (0.14.0->0.9.0)
• Updatinghttptools (0.5.0->0.1.2)
• Updatingmako (1.2.4->1.1.4)
• Updatingpydantic (1.10.2->1.8.2)
• Installingpython-editor (1.0.4)
• Updatingsqlalchemy (1.4.44->1.4.22)
• Updatingstarlette (0.22.0->0.14.2)
• Updatinguvloop (0.17.0->0.15.3)
• Updatingwebsockets (10.4->8.1)
• Updatingalembic (1.8.1->1.6.5)
• Updatingfastapi (0.88.0->0.68.0)
• Updatingjinja2 (3.1.2->3.0.1)
• Updatingtenacity (8.1.0->8.0.1)
• Updatinguvicorn (0.20.0->0.11.8)
Installingthecurrentproject: app (0.0.1)
And yes, even after manually installing tenacity, it still throws that error
Not sure what im doing wrong, but after installing, and running
./prestart.sh, i am getting the following error:All i did was cloning the repo, going into one of the parts, and running poetry install.
And yes, even after manually installing
tenacity, it still throws that error