4

I want to use kivy in pycharm. After I add python.bat in "Project Interpreter", it takes about 20 min to Update skeletons. Everything is ok till here but after I close pycharm and open again, pycharm wants to update skeletons again forcing me to wait for 20 min everytime. What should I do?

Nikhil Gupta
  • 1,708
  • 1
  • 23
  • 38
RezaOptic
  • 310
  • 1
  • 4
  • 16

1 Answers1

1

Here's an alternative install with skeleton updates completing in under a minute. Rather than using the recommended kivy.zip portable archive install, install kivy in the usual way on a virtual environment:

  1. Ensure you have the latest version of Pip (e.g. pip install --upgrade pip)

  2. Install virtual env if you haven't already

  3. Create a virtual env home directory on your PC: (e.g. type a name for it such as ".venv.")

  4. Create a subdirectory for Kivy virtual environments (\.venv\kivy)

  5. cd into your virtual enviroment home directory: cd C:\somewhere\.venv\kivy

  6. create a virtual environment: virtualenv venv

  7. Activate your virtual environment: venv\scripts\activate.bat

  8. Download the latest kivy wheel into your current directory

  9. Install the wheel of Kivy: pip install --use-wheel Kivy-1.9.0-cp27-none-win32.whl

  10. Add \.venv\kivy\venv\Scripts\python.exe as the interpreter for your pycharm project

Community
  • 1
  • 1
ecoe
  • 4,994
  • 7
  • 54
  • 72