При попытке:
$ sudo dpkg -i python-numpy_1.13.3-2ubuntu1_amd64.deb
...
dpkg: dependency problems prevent configuration of python-numpy:
python-numpy depends on python (>= 2.7~); however:
Package python is not installed.
python-numpy depends on python (<< 2.8); however:
Package python is not installed.
python-numpy depends on python:any (>= 2.7.5-5~); however:
python-numpy depends on python:any (<< 2.8); however:
В том же каталоге, делающем:
$ python
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
$ which python
/usr/bin/python
Как решить dpkg ошибку?
ОС является Ubuntu18.04 LTS, и я загрузил releavnt numpy версия.
Машина не подключена к Интернету.
dpkg ошибка является немного вводящей в заблуждение, что отсутствует, не Python, но python-dev. python-dev установки со всем это - зависимости.
Я бы предложил этот код для Проблемы с зависимостями sudo apt-get install -f
Это может решить Вашу проблему, если зависимые файлы .deb находятся в репозитории Linux