我正在使用诗歌作为 python 的依赖项管理器,当我尝试使用诗歌安装依赖项时:
poetry install
我收到此错误:
$ poetry install
Installing dependencies from lock file
[AttributeError]
'bool' object has no attribute 'strip'
关于可能导致此错误发生的任何想法,因为它不允许安装依赖项...
pyproject.toml 示例
[tool.poetry]
name = "orex"
version = "0.1.0"
description = ""
[tool.poetry.dependencies]
python = "^3.8"
fastapi = ">=0.52.0"
SQLAlchemy = ">=1.3.12"
pydantic = {extras = ["email"], version = "^1.3"}
click = "^7.0"
alembic = "^1.3.2"
uvicorn = "^0.11.1"
passlib = "^1.7.2"