Eclipse,PyDev,Ubuntu中的Kivy [英] Eclipse, PyDev, Kivy in Ubuntu
问题描述
我已经在Unbuntu 12.01下安装了Eclipse,Pydev和Kivy
我在Eclipse中创建了一个新的Pydev项目。
现在我想使用Kivy(和或xxWidgets)。
任何人都可以给我指示如何在Eclipse中设置此配置?
感谢您的帮助
- 安装Python。我正在使用python 2.7 so: sudo apt-get install python2.7
- 安装最新的稳定版本:
sudo add-apt-repository ppa:kivy-team / kivy
sudo apt-get update
sudo apt-get install python-kivy
- 如果你想安装Kivy应用程序的示例:
sudo apt-get install python-kivy-examples
如果您有pydev问题,请关闭eclipse,以root用户身份运行,然后从eclipse repos重新安装pydev。正常启动eclipse(没有root用户),并且可以正常运行。
如果您有eclipse自动保存/记录的问题,请授予实际用户写入权限在 chmod $ c的错误框中提到的文件/文件夹(可能位于
〜/ .eclipse / someOtherFolders / File ...
中) $ c>(-R如果是文件夹)。
I am new to Eclipse and PyDev,
I have installed Eclipse, Pydev and Kivy under Unbuntu 12.01
I created a new Pydev Project in Eclipse. Now I want to use Kivy(and or xxWidgets) in it. Can anyone give me instructions how to set this configuration in Eclipse?
Thanks for your help
-Install Python. I am using python 2.7 so : sudo apt-get install python2.7
-Install the latest stable builds :
sudo add-apt-repository ppa:kivy-team/kivy
sudo apt-get update
sudo apt-get install python-kivy
-If you want to install examples of kivy apps :
sudo apt-get install python-kivy-examples
If you have a problem with pydev, close eclipse, run it as root, re-install pydev from eclipse repos . Restart eclipse normally(without root), and it will work fine .
If you have problems with eclipse automatic save/logging , give the rights to the actual user to write in the file/folder (may be in ~/.eclipse/someOtherFolders/File...
) mentioned in the error box with chmod
(-R if it is a folder).
这篇关于Eclipse,PyDev,Ubuntu中的Kivy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!