Can't Install kivy in Ubuntu 18.04

407 views
Skip to first unread message

Tomás Phelan

unread,
Jun 10, 2018, 10:54:17 AM6/10/18
to Kivy users support

Versions

  • Python: 3.6.5
  • OS: Ubuntu 18.04
  • Kivy: Stable

Description

Tried to install Kivy on my computer with the following command:
sudo add-apt-repository ppa:kivy-team/kivy


Code and Logs

 This PPA contain the stable release of Kivy project.
 More info: https://launchpad.net/~kivy-team/+archive/ubuntu/kivy
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://ie.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:3 http://ie.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Ign:4 http://ppa.launchpad.net/kivy-team/kivy/ubuntu bionic InRelease          
Hit:5 http://ie.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Hit:6 https://deb.nodesource.com/node_8.x bionic InRelease                     
Hit:7 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu bionic InRelease
Ign:8 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 InRelease
Hit:9 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release      
Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease      
Err:11 http://ppa.launchpad.net/kivy-team/kivy/ubuntu bionic Release          
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done                      
E: The repository 'http://ppa.launchpad.net/kivy-team/kivy/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Himanshu Pharawal

unread,
Jun 10, 2018, 2:25:18 PM6/10/18
to Kivy users support
Have you checked the supported python and cython versions. And one more thing newest cython version is not supported for python 3.6.4 however just go and check at python index page and kivy dependency page. GOOD LUCK

Raphael Nuytten

unread,
Jun 11, 2018, 3:55:12 AM6/11/18
to kivy-...@googlegroups.com
I've installed kivy on Kubuntu 18.04 with the following command : 

sudo apt-get install -y \
    python3-pip \
    build-essential \
    mercurial \
    git \
    python3 \
    python3-dev \
    ffmpeg \
    libsdl-image1.2-dev \
    libsdl-mixer1.2-dev \
    libsdl-ttf2.0-dev \
    libsmpeg-dev \
    libsdl1.2-dev \
    libportmidi-dev \
    libswscale-dev \
    libavformat-dev \
    libavcodec-dev \
    zlib1g-dev
 
sudo python3 -m pip install --upgrade pip wheel setuptools
sudo python3 -m pip install numpy
sudo python3 -m pip install pygame
sudo python3 -m pip install Cython==0.25.2
sudo python3 -m pip install kivy

I hope it will help you.  
Reply all
Reply to author
Forward
0 new messages