gpt4 book ai didi

python - _event.cpython-310-x86_64-linux-gnu.so : undefined symbol: _PyGen_Send 导入错误

转载 作者:行者123 更新时间:2023-12-01 23:07:23 38 4
gpt4 key购买 nike

当尝试使用kivy-module时,我得到以下提示:

[INFO   ] [Logger      ] Record log in /home/paul/.kivy/logs/kivy_22-01-06_83.txt
[INFO ] [Kivy ] v2.0.0
[INFO ] [Kivy ] Installed at "/home/paul/PycharmProjects/finance_app/venv/lib/python3.10/site-packages/kivy/__init__.py"
[INFO ] [Python ] v3.10.1 (main, Dec 18 2021, 23:53:45) [GCC 11.1.0]
[INFO ] [Python ] Interpreter at "/home/paul/PycharmProjects/finance_app/venv/bin/python"
Traceback (most recent call last):
File "/home/paul/PycharmProjects/finance_app/frontend/graphical_user_interface.py", line 2, in <module>
from kivy.app import App
File "/home/paul/PycharmProjects/finance_app/venv/lib/python3.10/site-packages/kivy/app.py", line 411, in <module>
from kivy.base import runTouchApp, async_runTouchApp, stopTouchApp
File "/home/paul/PycharmProjects/finance_app/venv/lib/python3.10/site-packages/kivy/base.py", line 29, in <module>
from kivy.event import EventDispatcher
File "/home/paul/PycharmProjects/finance_app/venv/lib/python3.10/site-packages/kivy/event.py", line 8, in <module>
import kivy._event
ImportError: /home/paul/PycharmProjects/finance_app/venv/lib/python3.10/
site-packages/kivy/_event.cpython-310-x86_64-linux-gnu.so:
undefined symbol: _PyGen_Send

我尝试重新安装依赖项、重新启动、选择不同的解释器,但我真的不知道我还能尝试什么 - 我真的很感谢这方面的任何帮助:)

我运行最新的 Linux Manjaro。

最佳答案

如果您使用的是 Python 3.10,那么这肯定会发生。 Kivy 还不支持 Python 3.10,请尝试使用 3.9。你可以看看this了解所有受支持版本的文章。

关于python - _event.cpython-310-x86_64-linux-gnu.so : undefined symbol: _PyGen_Send 导入错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70610389/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com