kexue-z / nonebot-plugin-setu-now

不可以涩涩
MIT License
117 stars 19 forks source link

使用时报错module 'anyio' has no attribute 'Lock' #7

Closed bingganhe123 closed 2 years ago

bingganhe123 commented 2 years ago

如题,谢谢大佬

bingganhe123 commented 2 years ago

这个脚本与python自带的脚本名字重复了

kexue-z commented 2 years ago

请提供完整的LOG

image

bingganhe123 commented 2 years ago

请提供完整的LOG

image 问题

kexue-z commented 2 years ago

让我猜 你可能使用了python 3.10 而且你这log也不太完整呢

bingganhe123 commented 2 years ago

提供完整的LOG 不好意思,少传了一张图,我用的是3.9 问题1 问题2

kexue-z commented 2 years ago

目测是python环境出问题了 尝试使用venv 或者直接上poetry

--------------原始邮件-------------- 发件人:"bingganhe123 @.>; 发送时间:2022年2月12日(星期六) 晚上10:39 收件人:"kexue-z/nonebot-plugin-setu-now" @.>; 抄送:"kexue @.>;"Comment @.>; 主题:Re: [kexue-z/nonebot-plugin-setu-now] 使用时报错module 'anyio' has no attribute 'Lock' (Issue #7)

提供完整的LOG 不好意思,少传了一张图,我用的是3.9

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

bingganhe123 commented 2 years ago

目测是python环境出问题了 尝试使用venv 或者直接上poetry --------------原始邮件-------------- 发件人:"bingganhe123 @.>; 发送时间:2022年2月12日(星期六) 晚上10:39 收件人:"kexue-z/nonebot-plugin-setu-now" @.>; 抄送:"kexue @.>;"Comment @.>; 主题:Re: [kexue-z/nonebot-plugin-setu-now] 使用时报错module 'anyio' has no attribute 'Lock' (Issue #7) ----------------------------------- 提供完整的LOG 不好意思,少传了一张图,我用的是3.9 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

我重启了一下电脑,突然就可以运行了,不清楚为什么,现在运行一切正常,应该是电脑问题,谢谢大佬的指导,万分感谢!