Closed rcholic closed 1 year ago
Hello. pydantic-settings is an external package. It might be a problem with dependencies. Have you got pydantic_settings in your pyproject.toml? Have you installed all dependencies? Are you executing commands in virtual environment?
made it work by using pyenv to set up a virtual environment for my project. Thanks
I've read issues here related to alembic migrations, but looks like the failure message I got is different, so I'd make a post for help.
In my .env file, I added my url as following (suppose my app has the prefix
MYAPP
with a remote postgresql server ip: 120.120.120.120):MYAPP_sqlalchemy.url=postgresql://user1:pw1@120.120.120.120/myapp_db
Then in my local computer's terminal, when I execute the following command:
I got errors that complain
pydantic_settings
not found:Looks like a path issue for loading pydantic_settings package. anyone has seen similar issues?