Как установить kivy на pycharm
Перейти к содержимому

Как установить kivy на pycharm

Как установить kivy на pycharm

Школа программирования Бовсуновского Kivy

Школа программирования Бовсуновского Kivy

Шаг 1. Настройка PyCharm + Kivy.

Изображение

это добавлен к шагу 1 ещё один курс.

Описание

В этом курсе мы с вами настроим PyCharm, для работы с пакетом для создания мобильных приложений Kivy.

Статья

У нас три задачи.

Скачать и установить Kivy, мы будем работать с Python 3, хотя можем и с 2-ой (без разницы)

Настроить PyCharm, для работы с Kivy

Настроить в PyCharm, автозавершение кода, для Kivy.

Запустить первую программу.

Рекомендации

Для тех, кто не знаком с PyCharm, уроки есть на spb-tut.ru и на pro365.net, думаю и по ходу разберётесь, в ходе уроков, нет ничего сложного.

Практика программирования Python для Android.

Сделан на: Python-2.7.8; Django 1.8.8 — научиться; Хостинг «Джино»; Дизайн — Foundation-6;

No module named kivy in PyCharm

New to Kivy and PyCharm on Windows. Tried the Pong Game tutorial that was suggested on the Kivy website. Ran into the error displayed in the photo below. Installed Cython using pip as well. I have no clue as to what the problem is here.

[UPDATE]: Tried the same program on IDLE, works just fine.

[UPDATE #2]: The screenshot above is the most recent picture of what i see on PyCharm.

4 Answers 4

You have to install kivy manually on pycharm , follow these six steps:

  1. Click on Files on top left corner.
  2. Click on settings.
  3. Click on Project and click on project interpreter.
  4. Click on (➕) icon on right.
  5. Click on «Search» and type «Kivy» you will find a lot of packages, then choose Kivy and install it.
  6. Enjoy!

user avatar

Usually PyCharm will complain in the editor with red squigglies underlining import kivy if it is not installed. I am not sure why it is not in your case. Perhaps your run configuration is using a different interpreter than the one used by the project for autocompletion and such. Click on the drop down at the top right, near the run button. Then click on Edit Configuration. Make sure the interpreter is set to the project’s default.

To install kivy in you venv from the command line, first activate it with

Как установить kivy на pycharm

Installation, Documentation and Examples

Extensive installation instructions as well as tutorials and general documentation, including an API reference, can be found at https://kivy.org/docs. A PDF version is also available.

Kivy ships with many examples which can be found in the examples folder.

  • The Kivy Website: For the official documentation, latest downloads and user guides.
  • Talks and Tutorials: Introductory videos and learning material.
  • Setting up Kivy with various popular IDE’s: Setting up your Kivy development environment
  • Kivy Docs: The official documentation
  • Snippets: Collection of useful code snippets for common tasks.
  • Kivy Blogs and Blog Posts: Blog posts about Kivy by Kivy users from around the world
  • Profiling your Kivy application: Learn to optimize and tweak your Kivy app
  • The Kivy Garden: A collection of Kivy widgets from the community
  • Kivy projects: All Kivy related projects
  • KivEnt: an Entity Based Game Engine for Kivy by Kovak
  • Tiled Maps & Tile Based Movement: Get up and running with a simple Tiled map.
  • Plyer: a platform-independent api to use features commonly found on various platforms, notably mobile ones
  • Pyjnius: a Python module to access Java class as Python class, using JNI.
  • Python for Android: Access Android specific functionality
  • Pyobjus: a Python module to access Objective-C class as Python class, using Objective-C runtime reflection
  • Google Analytics and Monitoring: Kivy recipe for Google analytics, play services and bug reporting.
  • Google Play Recipes: An example of a Google Play Services client.

At Kivy, we love code and coders so we want to help you. Feel free to ask questions, make comments or join us for a chat. All we ask is that you be nice and follow our Community Guidelines.

  • The Kivy Users Forum: Questions and answers for everyone
  • The Kivy Developers Forum: For devs wanting to discuss the Kivy framework development
  • IRC: Join us at #Kivy on irc.freenode.net (IRC Guidelines)
  • The Kivy Contact Us Page links to more venues, including an official Discord chat
  • List of Kivy Projects: Projects that were created using Kivy
  • Theming Kivy — Various approaches and guides to theming your Kivy app.
  • Kivy Artwork — A small collection of Kivy Logo’s and wallpapers.
  • Kivy Technical FAQ — A place to document Kivy tips, tricks, hacks, etc., in FAQ format.
  • Kv language preprocessing: Enhancing kvlang via pyexpander.

This section contains internal notes for the Kivy devs.

Hardware Compatibility List and known issues

This section lists hardware with known issues with kivy.

The information here is not exhaustive but provides a brief overview of the Kivy landscape. If you know of any other good resources that should be added, please let us know! Oh, and enjoy Kivy!

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *