首先,我使用以下方法激活了我的conda环境:
source activate building
尝试的方法:
在https://kivy.org/docs/installation/installation-linux.html#ubuntu-example
之后安装了先决条件使用pip进行安装:
pip install cython==0.25.2
pip install kivy
ld: cannot find -lSDL2
ld: cannot find -lSDL2_ttf
ld: cannot find -lSDL2_image
ld: cannot find -lSDL2_mixer
ld: cannot find -lSDL2_ttf
ld: cannot find -lSDL2_image
ld: cannot find -lSDL2_mixer
ld: cannot find -lSDL2
使用来源安装:
git clone https://github.com/kivy/kivy.git && cd kivy
git checkout stable
make
ld: cannot find -lGL
我确实在Anaconda云上找到了kivy包,但是它们用于python2。