Помогите импортировать scipy

Мне нужна помощь со скриптом Python 2.7, пожалуйста.

oscar@COM0324:~$ python
Python 2.7.3 (default, Feb 27 2014, 20:00:17) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named scipy
>>> 
>>> 
oscar@COM0324:~$ sudo apt-get install python-scipy
[sudo] password for oscar: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-scipy is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-scipy' has no installation candidate

oscar@COM0324:~$ 
0
задан 24 June 2015 в 00:45

1 ответ

Вам включали "Вселенную"? Посмотрите здесь: https://askubuntu.com/a/148645/16395

В моем Ubuntu 14.04 все хорошо устанавливает python-scipy:

[romano:~] % apt-cache policy python-scipy
python-scipy:
  Installed: 0.13.3-1build1
  Candidate: 0.13.3-1build1
  Version table:
 *** 0.13.3-1build1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status
0
ответ дан 24 June 2015 в 00:45

Другие вопросы по тегам:

Похожие вопросы: