DBT在VENV中不升级
我正在努力将DBT从0.17升级到VENV设置。 我在dbt_project.yml文件中进行了更改。运行DBT编译时,我会有一个错误 错误:运行时错误 在路径[]:不允许其他属性(“种子路径”,“模型路径”是出乎意料的)
任何人都可以建议如何解决此错误吗?
我确实在命令下运行以升级DBT在VENV中升级DBT,但它没有升级,并且仍然在DBT - Version
Pip install \
上显示较旧版本 DBT核
DBT-Postgres
DBT-REDSHIFT
dbt-snowflake
dbt-bigquery
I am working to upgrade dbt from 0.17 to 1.0 in venv set up.
I made the changes in the dbt_project.yml file. When run dbt compile , I get an error
ERROR: Runtime Error
at path []: Additional properties are not allowed ('seed-paths', 'model-paths' were unexpected)
Can anyone suggest on how to fix this error?
I did run below command to upgrade dbt in venv but it does not upgrade and still shows older version on dbt --version
pip install \
dbt-core
dbt-postgres
dbt-redshift
dbt-snowflake
dbt-bigquery
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我还将在这些命令之前尝试
PIP卸载DBT
。另外,您可以尝试将
- 升级
标志添加到命令中。如果那不起作用,则可能是
哪个DBT
将帮助您确认触发的版本是否在您的Virtualenv内部/外部。I would additionally try
pip uninstall dbt
ahead of these commands.Alternatively you might try adding the
--upgrade
flag to your command.If that doesn’t work, perhaps
which dbt
will help you confirm whether the version that’s being triggered is inside/outside your virtualenv.