我正在寻找
在Anaconda for python 2.7中创建的虚拟环境中安装Kivy
我通过以下参考资料:
也许,他们并没有为我工作。这是我看到的输出,让我感到困惑:
(py27anc) mister-t@BrightMachine:~/PycharmProjects/StockAnalysisGUI$ sudo apt-get install python-kivy
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-kivy is already the newest version (1.9.0-3build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(py27anc) mister-t@BrightMachine:~/PycharmProjects/StockAnalysisGUI$ which python
/home/mister-t/anaconda3/envs/py27anc/bin/python
(py27anc) mister-t@BrightMachine:~/PycharmProjects/StockAnalysisGUI$ python
Python 2.7.13 |Continuum Analytics, Inc.| (default, Dec 20 2016, 23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import kivy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named kivy
除此之外
我试过通过IDE(PyCharm)来做。返回错误超出我的掌握。
我安装了必要的软件包,尤其是Cython库,但却失败了。