M BUZZ CRAZE NEWS
// news

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__.py

It should already be installed on any version of Ubuntu. In older versions, it would be provided by python2.7-minimal, but still present anyway.

4

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 future

which will install the package system wide, having the same effect.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy