Python Forum
[Kivy] Kivy 2.2.0 not available. You have 2.1.0, but the application requires 2.2.0)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Kivy] Kivy 2.2.0 not available. You have 2.1.0, but the application requires 2.2.0)
#1
Hi guys! Has anybody the same problem to install the kivy 2.2.0 update on Ubuntu? I have tried to update the library, but in VS Code the error remains. I have also tried to run my kivy app via the terminal but the problem remains. The error message is the following:

Quote:Exception has occurred: Exception
The version of Kivy installed on this system is too old. (You have 2.1.0, but the application requires 2.2.0)
This problem occured after I updated via
Quote:$ sudo update kivy
The 2.2.0 version is required to use the kivymd SegmentedButton component. I have tried to update the library based on the page https://kivy.readthedocs.io/en/master/ge...ation.html by issuing
Quote:$ python -m pip install "kivy[base] @ https://github.com/kivy/kivy/archive/master.zip"
which is mentioned there, but the version remains on 2.1.0. To be honest how can MIT create a library which pops up a message that the version is old, but do not provide the proper update. Has someone fixed it and how?
Reply
#2
you can show current version with pip list | grep -i "kivy" from command line.
you should be able to install specific version:
  1. remove current version: sudo apt-get remove python-kivy
  2. sudo pip install kivy==<version>
  3. if you run into missing dependencies:
    sudo apt-get install -y \
    libsdl2-dev \
    libsdl2-image-dev \
    libsdl2-mixer-dev \
    libsdl2-ttf-dev \
    libportmidi-dev \
    libswscale-dev \
    libavformat-dev \
    libavcodec-dev \
    zlib1g-dev
  4. re-try step 2
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020