We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nb paimon install
可以正常用nb paimon run这样的命令打开。但是当使用“@bot 重启”命令时,控制台报错,找不到Python可执行文件。
nb paimon run
可执行文件在C:/Program Files中,它似乎寻找的是bot.py所在目录的Files/Python39/python.exe
换了个路径重新配置,问题依旧。
The text was updated successfully, but these errors were encountered:
解释器路径是由python标准库sys提供的,路径不对那是python自己的问题了,有没有考虑使用虚拟环境呢?
sys
Sorry, something went wrong.
康完相关源代码后,我觉得很奇怪。明明直接使用原来的启动命令来重启bot,都可以直接启动,却在它内部执行命令还会找成“CWD/Files/Python39”……
可以了,在虚拟环境中重新配置了一遍
No branches or pull requests
确认
nb paimon install
更新依赖库环境信息
问题描述
可以正常用
nb paimon run
这样的命令打开。但是当使用“@bot 重启”命令时,控制台报错,找不到Python可执行文件。可执行文件在C:/Program Files中,它似乎寻找的是bot.py所在目录的Files/Python39/python.exe
换了个路径重新配置,问题依旧。
问题截图
复现步骤[可选]
nb paimon run
运行bot。The text was updated successfully, but these errors were encountered: