on 07-03-2023 8:11 AM
Hi All,
I am facing an issue while trying to deploy Python package on SAP BTP CF. The error states:pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.0/migration/#basesettings-has-moved-to-pydantic-settings for more details. (STDERR, APP/PROC/WEB)#I have tried with Python versions 3.9.x and 3.11.x
Has anyone faced a similar issue recently? It was working fine till last week.
Hi piyushgupta_2009 , Have you specified the versions of the Python packages in the requirements.txt file?
Otherwise newer versions of the packages might break the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.