“poetry install”时报错“No file/folder found for package maxkb”


报错了:
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: maxkb (0.1.0)
Error: The current project could not be installed: No file/folder found for package maxkb
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
If you did intend to install the current project, you may need to set packages in your pyproject.toml file.

检查下你的pyproject.toml文件内容是否正确配置了maxkb报名或者设置package-mode=false避开这个报错。

怎么配置pyproject.toml中的maxkb包名呢?

参考Github上MaxKB项目里pyproject.toml文件配置。