0

I try to experiment jupyter and I decided to manually install a last Python2.7 version. I did not get in to work with apt-get install with my distribution (Ubuntu 12.04) but nevertheless I have now a PYTHONPATH=/usr/local/src/python-2.7.13 which works with IPython. What I encounter now is an unmet dependency when I try to apt-get install numpy matplotlib. As already said, I set the PYTHONPATH to my local lib and again to /usr/lib. I am without resources. What I also am getting is from apt-cache show python:

Package: python
Status: install ok installed
Priority: extra
Section: checkinstall
Installed-Size: 111660
Maintainer: root@pcdelldefred
Architecture: i386
Version: 2.7.13-1
Provides: python
Description: Python2.7.13

Package: python
Priority: important

Section: python
Installed-Size: 658
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Matthias Klose <doko@debian.org>
Architecture: i386
Source: python-defaults
Version: 2.7.3-0ubuntu2.2
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Depends: python2.7 (>= 2.7.3), python-minimal (= 2.7.3-0ubuntu2.2)
Suggests: python-doc (= 2.7.3-0ubuntu2.2), python-tk (= 2.7.3-0ubuntu2.2)
Conflicts: python-central (<< 0.5.5)
Breaks: python-bz2 (<< 1.1-8), python-csv (<< 1.0-4), python-email (<< 2.5.5-3), update-manager-core (<< 0.200.5-2)
Filename: pool/main/p/python-defaults/python_2.7.3-0ubuntu2.2_i386.deb
Size: 166426
MD5sum: 4d83f7642eab68f24479f2d6a6d7dc95
SHA1: 7f326a946c38005e076513bef684b13f17bfff32
SHA256: 21b063781711d5e5d7a2db8bba5f0b952f8543de8fc32a3c02469cb3f3625c11
Description-en: interactive high-level object-oriented language (default version)
 Python, the high-level, interactive object oriented language,
 includes an extensive class library with lots of goodies for
 network programming, system administration, sounds and graphics.
 .
 This package is a dependency package, which depends on Debian's default
 Python version (currently v2.7).
Multi-Arch: allowed
Homepage: http://www.python.org/
Description-md5: d1ea97f755d8153fe116080f2352859b
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: minimal

Package: python
Priority: important
Section: python
Installed-Size: 658
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Matthias Klose <doko@debian.org>
Architecture: i386
Source: python-defaults
Version: 2.7.3-0ubuntu2
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Depends: python2.7 (>= 2.7.3), python-minimal (= 2.7.3-0ubuntu2)
Suggests: python-doc (= 2.7.3-0ubuntu2), python-tk (= 2.7.3-0ubuntu2)
Conflicts: python-central (<< 0.5.5)
Breaks: python-bz2 (<< 1.1-8), python-csv (<< 1.0-4), python-email (<< 2.5.5-3), update-manager-core (<< 0.200.5-2)
Filename: pool/main/p/python-defaults/python_2.7.3-0ubuntu2_i386.deb
Size: 166112
MD5sum: e7d98832cd379cdfd0047bd8fefc9559
SHA1: ab416c1c758d86639cbe8f2551aaa5dd7a4c5023
SHA256: 1c246c4f6d5b515f1d4b246231046d143644e7c1dec67d5353ede1032c28f4dd
Description-en: interactive high-level object-oriented language (default version)
 Python, the high-level, interactive object oriented language,
 includes an extensive class library with lots of goodies for
 network programming, system administration, sounds and graphics.
 .
 This package is a dependency package, which depends on Debian's default
 Python version (currently v2.7).
Homepage: http://www.python.org/
Description-md5: d1ea97f755d8153fe116080f2352859b
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: minimal

What can I do?

  • 12.04 is no longer supported, which is why you can't install software the normal way any more. See askubuntu.com/questions/91815/… on how to fix this and upgrade to a supported release as soon as possible. – Byte Commander May 21 '18 at 17:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.