aplicativo anki não abre no ubuntu-16.10

1. aplicativo anki não abre no ubuntu-16.10

Marcio Avelino do Nascimento
marciojjm

(usa Ubuntu)

Enviado em 12/12/2016 - 09:19h

ola
No meu trabalho tenho o Ubuntu 16.10
instalei o aplicativo anki mas ele no abre de jeito nenhum mas o interessante é que em casa no meu notebook ele funciona perfeitamente
no terminal ele aparece assim:
marcio@marcio-H61M-DS2:~$ anki
Traceback (most recent call last):
File "/usr/bin/anki", line 7, in <module>
import aqt
File "/usr/share/anki/aqt/__init__.py", line 12, in <module>
from aqt.qt import *
File "/usr/share/anki/aqt/qt.py", line 22, in <module>
from PyQt4.QtWebKit import QWebPage, QWebView, QWebSettings
ImportError: No module named QtWebKit
marcio@marcio-H61M-DS2:~$



  


2. Re: aplicativo anki não abre no ubuntu-16.10

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 12/12/2016 - 09:48h

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install anki
sudo anki


3. Re: aplicativo anki não abre no ubuntu-16.10

Marcio Avelino do Nascimento
marciojjm

(usa Ubuntu)

Enviado em 12/12/2016 - 10:07h

clodoaldops escreveu:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install anki
sudo anki


alha oque deu
marcio@marcio-H61M-DS2:~$ sudo apt-get update
[sudo] senha para marcio:
Atingido:1 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu yakkety InRelease
Atingido:2 http://archive.ubuntu.com/ubuntu yakkety InRelease
Obter:3 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Atingido:4 http://repository.spotify.com stable InRelease
Obter:5 http://archive.ubuntu.com/ubuntu yakkety-backports InRelease [102 kB]
Obter:6 http://archive.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Obter:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Obter:8 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11 Metadata [101 kB]
Obter:9 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64 Icons [55,7 kB]
Obter:10 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 DEP-11 Metadata [67,6 kB]
Obter:11 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11 64x64 Icons [77,4 kB]
Obter:12 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64 DEP-11 Metadata [212 B]
Obter:13 http://archive.ubuntu.com/ubuntu yakkety-backports/main amd64 DEP-11 Metadata [212 B]
Obter:14 http://archive.ubuntu.com/ubuntu yakkety-backports/universe amd64 DEP-11 Metadata [216 B]
Obter:15 http://archive.ubuntu.com/ubuntu yakkety-backports/multiverse amd64 DEP-11 Metadata [216 B]
Obter:16 http://archive.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11 Metadata [8.284 B]
Obter:17 http://archive.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64 Icons [10,0 kB]
Obter:18 http://archive.ubuntu.com/ubuntu yakkety-security/universe amd64 DEP-11 Metadata [208 B]
Obter:19 http://archive.ubuntu.com/ubuntu yakkety-security/multiverse amd64 DEP-11 Metadata [212 B]
Obter:20 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 DEP-11 Metadata [17,7 kB]
Obter:21 http://archive.ubuntu.com/ubuntu yakkety-proposed/main DEP-11 64x64 Icons [6.118 B]
Obter:22 http://archive.ubuntu.com/ubuntu yakkety-proposed/multiverse amd64 DEP-11 Metadata [212 B]
Obter:23 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64 DEP-11 Metadata [17,0 kB]
Baixados 771 kB em 7s (103 kB/s)
E: Não foi possível obter trava /var/lib/dpkg/lock - open (11: Recurso temporariamente indisponível)
E: Não foi possível obter acesso exclusivo ao directório de administração (/var/lib/dpkg/), outro processo está a utilizá-lo?
marcio@marcio-H61M-DS2:~$ sudo apt-get upgrade
E: Não foi possível obter trava /var/lib/dpkg/lock - open (11: Recurso temporariamente indisponível)
E: Não foi possível obter acesso exclusivo ao directório de administração (/var/lib/dpkg/), outro processo está a utilizá-lo?
marcio@marcio-H61M-DS2:~$



4. Re: aplicativo não abre

Marcos Souza
IUseLinux

(usa Slackware)

Enviado em 12/12/2016 - 10:46h

ja tentou instalar por um .deb?
"Talk is cheap, show me the code"



5. Re: aplicativo anki não abre no ubuntu-16.10

Marcio Avelino do Nascimento
marciojjm

(usa Ubuntu)

Enviado em 12/12/2016 - 10:59h

IUseLinux escreveu:

ja tentou instalar por um .deb?
"Talk is cheap, show me the code"


Como faz isso? Veja se estou certo: sudo apt-get anki.deb install


6. Re: aplicativo anki não abre no ubuntu-16.10

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 12/12/2016 - 11:10h

1-Desbloqueie o apt
sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get upgrade

2-Reinicie PC

3-Chame o anki
sudo anki



7. Re: aplicativo anki não abre no ubuntu-16.10

Marcos Souza
IUseLinux

(usa Slackware)

Enviado em 12/12/2016 - 11:19h

marciojjm escreveu:

IUseLinux escreveu:

ja tentou instalar por um .deb?
"Talk is cheap, show me the code"


Como faz isso? Veja se estou certo: sudo apt-get anki.deb install

veja no site do anki baixe o anki e digite no terminal
sudo dpkg -i local_do_arquivo 

ou vá com
cd 
ate a pasta onde baixou o anki e digite
sudo dpkg -i nome_do_arquivo 


o site do anki http://ankisrs.net/ #acredito que seja esse


"Talk is cheap, show me the code"



8. Re: aplicativo anki não abre no ubuntu-16.10

Marcio Avelino do Nascimento
marciojjm

(usa Ubuntu)

Enviado em 13/12/2016 - 13:29h

clodoaldops escreveu:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install anki
sudo anki


infelizmente não deu certo


9. Re: aplicativo anki não abre no ubuntu-16.10

Marcio Avelino do Nascimento
marciojjm

(usa Ubuntu)

Enviado em 13/12/2016 - 13:34h

clodoaldops escreveu:

1-Desbloqueie o apt
sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get upgrade

2-Reinicie PC

3-Chame o anki
sudo anki


tambem não deu resultado



10. Basta fazer o downgrade para a versão 4 do python

Willian Pereira
willfjp

(usa Ubuntu)

Enviado em 30/08/2017 - 21:58h

Então eu também tive esse problema, e consegui solucioná-lo instalando os seguintes pacotes:
python-qt4 (sudo apt-get install python-qt4 )
libqtwebkit4 ( sudo apt-get install libqtwebkit4 ou https://packages.debian.org/jessie/amd64/python-qt4/download )

após instalar esse pacotes funcionou de boa. No entanto quando eu atualizei através do sudo apt update os pacotes acima atualizaram e voltou o erro, ai eu forcei o downgrade e funcionou de novo.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts