ERROR: Could not build wheels for cryptography, bcrypt which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 20.3.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
完全卸载重新安装的报错
C:\Users\Administrator\Desktop\ELF_RSS-2.0.2\ELF_RSS-2.0.2>py bot.py
Traceback (most recent call last):
File "bot.py", line 4, in
import nonebot
ModuleNotFoundError: No module named 'nonebot'
运行报错
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 20.3.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
还是报错 这个
已安装Microsoft Visual C ++ 14.0
运行pip install cryptography 就会出现这个
heitu
@heitu
如果执行了他提示的python -m pip install --upgrade pip 可以正常跑完
但是在跑pip install -r requirements.txt 又会出错
ERROR: Command errored out with exit status 1:
command: 'c:\users\administrator\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\2\pip-pip-egg-info-y7v7tgd5'
cwd: C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\setup.py", line 25, in
tests_requirements = requirements + open('test-requirements.txt').readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
换Python3.8
大大有没有具体版本,我试过很多版本,有的版本直接就闪退,(´இ皿இ`)
3.8就行,再小的区别不大
Python3.8 运行 pip install -r requirements.txt 没有进度条 感觉好像不行完成之后启动机器人闪退|´・ω・)ノ
卸载干净了吗?卸载干净后重启再安装3.8,还有闪退的报错呢?log不要贴这么长,只要重点部分
ERROR: Could not build wheels for cryptography, bcrypt which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 20.3.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
完全卸载重新安装的报错
C:\Users\Administrator\Desktop\ELF_RSS-2.0.2\ELF_RSS-2.0.2>py bot.py
Traceback (most recent call last):
File "bot.py", line 4, in
import nonebot
ModuleNotFoundError: No module named 'nonebot'
运行报错
pip install cryptography 运行这个
https://stackoverflow.com/questions/44951456/pip-error-microsoft-visual-c-14-0-is-required
https://stackoverflow.com/questions/63509419/error-could-not-build-wheels-for-bcrypt-which-use-pep-517-and-cannot-be-install
づ♡ど终于解决了,反复弄了半天我找到大大以前的视频了,直接用视频里的版本解决!
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 20.3.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
还是报错 这个
已安装Microsoft Visual C ++ 14.0
运行pip install cryptography 就会出现这个
但是在跑pip install -r requirements.txt 又会出错
ERROR: Command errored out with exit status 1:
command: 'c:\users\administrator\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\2\pip-pip-egg-info-y7v7tgd5'
cwd: C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-install-b1y1nrf7\urllib3_b59b330896094441b365e0a1980242f8\setup.py", line 25, in
tests_requirements = requirements + open('test-requirements.txt').readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
|´・ω・)ノ我在试试
|´・ω・)ノ最近重新安装了最新2.0.2版 发现插件无法正常载入[ERROR] nonebot | Failed to import "RSSHUB"
机器人不会发启动消息
需要重启服务器,如何能够保留订阅配置?
订阅配置会存在rss.json文件里面,重启服务器不会丢失
这是那设置错误了么,还是啥,一直发不了图片大佬能看一下吗|´・ω・)ノ
QQ私聊部分的【家長むぎ 的 Twitter】更新了!
内容:年上のお姉さんになったね
插件无法获取到媒体
插件无法获取到媒体
原链接:https://twitter.com/nabenabeudon/status/1325104413979992064
日期:11月07日 23:54:46
bot后台
<- 【家長むぎ 的 Twitter】更新了!\n----------------------\n内容 :年上のお姉さんになったね \n插件无法获取到媒体\n插件无法获取到媒体\n原链接:https://twitter.com/nabenabeudon/status/1325104413979992064\n日期:11月07日 23:54:46
要挂梯子的
python程序里的文件data\imgs里是有图片的,但是Mirai里就是发送不了图片显示的是 n插件无法获取到媒体 ,Mirai\plugins\CQHTTPMirai 里的setting.yml我只改了QQ号和把 port: 5700 端口改成5701还有reversePort: 8080的端口改成了8088,相应的config.py里的PORT = 8080和API_ROOT = 'http://127.0.0.1:5700'也改成了8088和5701,config.py里的RSS_PROXY = '改成软路由的v2ray for openwrt http代理 端口1282 地址了' 不知道是那错了(ノ°ο°)ノ
你mirai是用的go?
[增强CQ码] 文件拷贝失败,源路径:\mnt\d\software\ELF_RSS\data\imgs\caa54997-95a3-4800-9b10-6d547a713592.jpg
好像找到问题了,因为我windows系统python运行环境的问题一直到启动不了,PowerShell python3 bot.py 会提示Traceback (most recent call last):
File "bot.py", line 3, in
import nonebot
ModuleNotFoundError: No module named 'nonebot',python bot.py会直接运行不了,我就把python程序运行到了windows系统的子系统ubuntu了,然后路径出问题了不知道大佬有木有解决办法
你go运行在win的?elfrss在Linux?那自然会找不到。。。如果你不知道为什么我不建议你这么做
v2r必须得开全局模式么∠( ᐛ 」∠)_
[2020-10-30 13:57:02,258 nonebot] INFO: 检查 AibaUiha 更新
Exception in callback _SelectorSocketTransport.resume_reading()
handle: <Handle _SelectorSocketTransport.resume_reading()>
Traceback (most recent call last):
File "C:\Program Files\python\lib\asyncio\events.py", line 145, in _run
self._callback(*self._args)
File "C:\Program Files\python\lib\asyncio\selector_events.py", line 717, in resume_reading
raise RuntimeError('Not paused')
RuntimeError: Not paused
大佬这是啥意思