HibiKier / zhenxun_bot

基于 Nonebot2 开发,以 postgresql 作为数据库,非常可爱的绪山真寻bot
GNU Affero General Public License v3.0
3.3k stars 604 forks source link

poetry install err:No file/folder found for package zhenxun-bot #1500

Closed SupppRabit closed 9 months ago

SupppRabit commented 9 months ago

系统版本:WinServer2012-R2 真寻版本:b9a39c2 on Sep 9

错误日志

C:\Mahiro\zhenxun_bot-main>poetry install
Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source al
i. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary'
, 'supplemental', 'explicit'.
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: zhenxun_bot (0.1.1)

The current project could not be installed: No file/folder found for package zhenxun-bot
If you do not want to install the current project use --no-root

首先安装的时候出现了 https://github.com/HibiKier/zhenxun_bot/issues/1486 的问题,按照指示执行

poetry add pyyaml@latest
poetry lock --no-update
poetry install

之后会报上面的错误。如果无视并运行bot.py,也无法导入库

namewasher commented 8 months ago

老哥你怎么解决的