Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/apache-kafka/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在Raspbian Buster上安装Kivy 1.10.1_Python_Python 3.x_Raspberry Pi_Kivy - Fatal编程技术网

Python 在Raspbian Buster上安装Kivy 1.10.1

Python 在Raspbian Buster上安装Kivy 1.10.1,python,python-3.x,raspberry-pi,kivy,Python,Python 3.x,Raspberry Pi,Kivy,在我的新Raspberry Pi 4上安装kivy 1.10.1.dev0时,我发现了错误 错误源来自指令: sudo pip3 install git+https://github.com/kivy/kivy.git@master 在遵循指南之后。 它给出了错误: building 'kivy.lib.vidcore_lite.egl' extension creating build/temp.linux-armv7l-3.7/tmp/pip-req-build-bsrs6yn7/

在我的新Raspberry Pi 4上安装kivy 1.10.1.dev0时,我发现了错误

错误源来自指令:

sudo pip3 install git+https://github.com/kivy/kivy.git@master
在遵循指南之后。 它给出了错误:

  building 'kivy.lib.vidcore_lite.egl' extension
  creating build/temp.linux-armv7l-3.7/tmp/pip-req-build-bsrs6yn7/kivy/lib/vidcore_lite
  arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-req-build-bsrs6yn7/kivy/include -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/usr/include/python3.7m -c /tmp/pip-req-build-bsrs6yn7/kivy/lib/vidcore_lite/egl.c -o build/temp.linux-armv7l-3.7/tmp/pip-req-build-bsrs6yn7/kivy/lib/vidcore_lite/egl.o
  /tmp/pip-req-build-bsrs6yn7/kivy/lib/vidcore_lite/egl.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
   #error Do not use this file, it is the result of a failed Cython compilation.
    ^~~~~
   error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for Kivy
  Running setup.py clean for Kivy
Failed to build Kivy
Installing collected packages: Kivy