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?
- 1,708
- 1
- 23
- 38
- 310
- 1
- 4
- 16
-
2Have the same problem here. Unable to fix it so far. (Win 7) – Zek101 May 16 '15 at 20:32
1 Answers
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:
Ensure you have the latest version of Pip (e.g.
pip install --upgrade pip)Install virtual env if you haven't already
Create a virtual env home directory on your PC: (e.g. type a name for it such as "
.venv.")Create a subdirectory for Kivy virtual environments (
\.venv\kivy)cdinto your virtual enviroment home directory:cd C:\somewhere\.venv\kivycreate a virtual environment:
virtualenv venvActivate your virtual environment:
venv\scripts\activate.batDownload the latest kivy wheel into your current directory
Install the wheel of Kivy:
pip install --use-wheel Kivy-1.9.0-cp27-none-win32.whlAdd
\.venv\kivy\venv\Scripts\python.exeas the interpreter for your pycharm project