Which Ubuntu package provides the pypi future package?
By Emma Martinez •
Which ubuntu package would correspond to the following package at pypi:future (not futures or concurrent.futures)
3 Answers
__future__ belongs to the Python standard library as provided by the libpython2.7-minimal package:
$ dpkg -S /usr/lib/python2.7/__future__.py
libpython2.7-minimal:amd64: /usr/lib/python2.7/__future__.pyIt should already be installed on any version of Ubuntu. In older versions, it would be provided by python2.7-minimal, but still present anyway.
In Ubuntu 16.04 and later releases Python Future is available as python-future in the default Ubuntu repositories:
Install:
sudo apt install python-future I don't think this package is packaged for Ubuntu.
Instead of doing sudo apt-get install python-future (which does not work, of course) you can easily do:
$ sudo pip install futurewhich will install the package system wide, having the same effect.