-1

when i try to install kivy using pip i get this message:

Collecting https://github.com/kivy/kivy/archive/master.zip Downloading https://github.com/kivy/kivy/archive/master.zip \ 27.1MB 5.8MB/s Installing build dependencies ... done Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-jWrnqi/setup.py", line 427 print(f"OSX framework used, force to {osx_arch} only") ^ SyntaxError: invalid syntax

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-jWrnqi/

any idea what i did wrong?

1 Answers1

0

The current kivy master requires Python 3.6+. It seems you're using Python 3.5. Please upgrade your Python version or use lower version of kivy. Version 1.11.1 supports Python 2.7 and 3.4-3.6. For these older Python version install kivy:

pip install kivy==1.11.1

or

pip install "kivy<2.0"
phd
  • 82,685
  • 13
  • 120
  • 165