Kivy, Eclipse and PyDev (also PyPy)

前端 未结 6 524
陌清茗
陌清茗 2020-12-08 16:42

According to this post: https://groups.google.com/forum/?fromgroups#!topic/kivy-users/n7c3thksnzg, it is possible to use Eclipse as an IDE for Kivy through PyDev. However, I

6条回答
  •  忘掉有多难
    2020-12-08 17:21

    Using Kivy with Pydev on Windows xp/7

    • Under Window/Preferences/PyDev/Interpreter-Python add a new interpreter pointing to the python executable which ships with kivy portable
    • add kivy package folder under libraries tab (still in Python Interpreters Prefs section making sure the kivy python interpreter is selected)
    • In Environment tab, add the following three key-value pairs: (assumptions: kivy root is c:\kivy)

      GST_REGISTRY = c:\kivy\gstreamer\registry.bin

      GST_PLUGIN_PATH = c:\kivy\gstreamer\lib\gstreamer-0.10

      PATH = c:\kivy;c:\kivy\Python;c:\kivy\gstreamer\bin;c:\kivy\MinGW\bin;%PATH%

    • When creating a new project intended to use kivy, just specify the appropriate interpreter and you should be ready to go

提交回复
热议问题