Kivy importing from the terminal does not work, but in IDLE it usually matters

Asked

Viewed 347 times

-1

I had enough difficulty installing the kivy and get it working on Ubuntu. But now I can’t make the kivy work in interactive mode directly from the terminal, but I can do it through IDLE.

Can anyone help me solve this? I don’t know why it occurs.

Thank you.

inserir a descrição da imagem aqui

  • 1

    How you installed the kivy?

  • I tried to install with PPA, with PIP, with a tar.gz file that I took from the site itself, in all had problem. Then I installed a specific version of python, the 3.5.2, and started working, but soon after stopped.

  • He asked for the library path by the way. I made a sys.path.Insert(0,'/library directory') and it came back to work in the section I had used, but I need to do it permanently so it always has the path.

  • Alias... Stopped working on IDLE itself as soon as I closed it and opened again.

1 answer

-1

Good evening, have you tried to reinstall/install kivy by passing the python version you are using?! Below a few possible attempts, you can also find a help at https://kivy.org/docs/installation/installation-linux.html

sudo apt-get install python-kivy

sudo apt-get install python3-kivy

pip install kivy
  • I just did that. I didn’t uninstall anything, I just put it to install again. It didn’t help.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.