Não consigo instalar o python-numpy [duplicate]

0

Eu tenho o Ubuntu 14.04 e não consigo instalar o numpy.

aqui está minha tentativa:

ohad@ohad-Vostro-3300:~$ sudo apt-get install python-numpy
[sudo] password for ohad: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-numpy : Depends: liblapack3 but it is not going to be installed or
                         liblapack.so.3
E: Unable to correct problems, you have held broken packages.
ohad@ohad-Vostro-3300:~$ sudo apt-get install liblapack3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 liblapack3 : Depends: libgfortran3 (>= 4.6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ohad@ohad-Vostro-3300:~$ 

Obrigado,

    
por Ohad 10.11.2015 / 14:19

2 respostas

1

Para mim, foi bom instalar python-dev package antes.

    
por dzanek 10.11.2015 / 16:21
0

Digite estes dois comandos:

sudo apt-get clean
sudo apt-get autoclean

Tente corrigir as dependências quebradas:

sudo apt-get -f install
sudo dpkg --configure -a

e insira novamente sudo apt-get -f install .

Isso deve resolver seus problemas de dependência e agora você pode instalar seu pacote.

    
por TellMeWhy 10.11.2015 / 14:54