Eclipse, PyDev, Kivy in Ubuntu

北慕城南 提交于 2019-12-11 07:46:52

问题


I am new to Eclipse and PyDev.

I have installed Eclipse, Pydev and Kivy under Ubuntu 12.01.

I created a new Pydev Project in Eclipse. Now I want to use Kivy(and or xxWidgets) in it.

How can I set this configuration in Eclipse?


回答1:


-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).



来源:https://stackoverflow.com/questions/19538233/eclipse-pydev-kivy-in-ubuntu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!