A
A
Anastasia Taube2020-03-02 04:24:12
Python
Anastasia Taube, 2020-03-02 04:24:12

How to properly install Kivy for Python 3.6 on mac?

I do everything strictly according to the manual (kivy.org/doc/stable/installation/installation-osx.html#using-homebrew-with-pip), only I replace pip with pip3 because of the python version (which seems to be logical), and that's it in the terminal it loads beautifully, but when I check the entire list of modules in IDLE using help("modules"), then this trouble appears:

spoiler
5e5c5e0f6afc5186631366.png

To say that when you run the simplest code an error is generated will be meaningless, but still. :)
spoiler
5e5c5ef8943c9086258236.png


I searched Google for how to install it correctly, searched Yandex and YouTube (what the hell is not joking with), but even repeating their instructions, nothing happened.

How to correctly install kivy? (It is desirable in general for version 3.7, because I tried it, it also didn’t work, I had to demolish and install version 3.6.)

___________
UPD. The method in the solution fixes the problem, but if the code still doesn't work (it says that the app module was not found), even though help() produces dramatically less red, check if your file is called kivy.py. If it is called that way, then rename it: the program refers to itself and looks for this module in itself. :D

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kit Scribe, 2020-03-02
@Tayaki

You don't have a spelling provider enchant that has been deprecated. You are probably using an older version, because this issue was marked as solved a long time ago.
But I hope not very long ago, so as not to compile it myself, but simply install a temporary patch at the time of the
pip install --user pyenchant
github issue fix

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question