Pipenv: futures==3.2.0

Created on 7 Mar 2018  ·  37Comments  ·  Source: pypa/pipenv

CRITICAL:pip.index:Could not find a version that satisfies the requirement futures==3.2.0 (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)

Most helpful comment

I am still seeing this issue with pipenv, version 2018.05.18

All 37 comments

Quick guess:
From https://pypi.python.org/pypi/futures:

Requires Python: >=2.6, <3

You might somehow have a corrupted dependency cache that believes (due to previous resolver bug) that futures==3.2.0 is still a dependency under Py3. I'd clear that just in case before digging deeper.

can no longer reproduce

i lied

[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]

futures = "*"

[dev-packages]

[requires]

python_version = "3.6"

leads to

{
    "_meta": {
        "hash": {
            "sha256": "defaf2233df08ddd288f75787d4a8904217ecf22fba389a152b64f50144c6ce6"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.python.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "futures": {
            "hashes": [
                "sha256:51ecb45f0add83c806c68e4b06106f90db260585b25ef2abfcda0bd95c0132fd",
                "sha256:c4884a65654a7c45435063e14ae85280eb1f111d94e542396717ba9828c4337f"
            ],
            "version": "==3.1.1"
        }
    },
    "develop": {}
}

This file:

[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]

futures = {version = "==3.2", python_version = "<'3.0.0'"}

Leads to:

Locking [dev-packages] dependencies…
Locking [packages] dependencies…

CRITICAL:pip.index:Could not find a version that satisfies the requirement futures==3.2 (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
No matching distribution found for futures==3.2

Current workaround: lock with Python 2 virtualenv.

fixed.

I am experiencing this issue again:

➜  foobar ls -al
total 0
drwxr-xr-x   2 Browning  wheel   64 Apr  1 18:55 .
drwxrwxrwt  14 root      wheel  448 Apr  1 18:55 ..

➜  foobar pipenv --version
pipenv, version 11.9.0

➜  foobar pipenv install background
Creating a virtualenv for this project…
Using /usr/local/Cellar/pipenv/11.9.0_1/libexec/bin/python3.6 (3.6.5) to create virtualenv…
⠋Already using interpreter /usr/local/Cellar/pipenv/11.9.0_1/libexec/bin/python3.6
Using real prefix '/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6'
New python executable in /Users/Browning/.local/share/virtualenvs/foobar-XaAZ4vih/bin/python3.6
Also creating executable in /Users/Browning/.local/share/virtualenvs/foobar-XaAZ4vih/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Users/Browning/.local/share/virtualenvs/foobar-XaAZ4vih
Creating a Pipfile for this project…
Installing background…
Collecting background
  Using cached background-0.1.1-py2.py3-none-any.whl
Collecting futures (from background)
Installing collected packages: futures, background
Successfully installed background-0.1.1 futures-3.1.1

Adding background to Pipfile's [packages]…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (bab157)!
Installing dependencies from Pipfile.lock (bab157)…
An error occurred while installing futures==3.2.0! Will try again.
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/2 — 00:00:00
Installing initially–failed dependencies…
Collecting futures==3.2.0 ▉▉▉▉▉▉▉▉▉▉▉ 0/1 — 00:00:00

  Could not find a version that satisfies the requirement futures==3.2.0 (from -r /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/pipenv-td3t4m4r-requirements/pipenv-iafh_u6d-requirement.txt (line 1)) (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
No matching distribution found for futures==3.2.0 (from -r /var/folders/h1/2b6gts3x37zcnj5khyv8y5180000gn/T/pipenv-td3t4m4r-requirements/pipenv-iafh_u6d-requirement.txt (line 1))

Why does it lock futures at 3.2.0 when 3.1.1 was installed?

Adding futures = "==3.1.1" to the generated Pipfile seems to work around this issue.

@jacebrowning good question. Does pipenv lock —clear lock the same version?

I think i added some resolver fixes last week that aren’t released yet

@techalchemy Yes, $ pipenv lock --clear still locks 3.2.0.

@jacebrowning are you using the version from master or the release

@techalchemy I've been installing from Homebrew lately (which unfortunately makes it harder to test preview releases).

Can I see the output of pipenv-resolver --debug --verbose background?

I don't seem to have a pipenv-resolver command on my machine. How do I get it?

Oh boy. It comes with pipenv these days. Is there not one in /usr/local/Cellar/pipenv/11.9.0? Or does wherever which pipenv points have a shim for the resolver tool? Idk how homebrew works

I found it with $ find /usr/local -name pipenv-resolver.

$ /usr/local/Cellar/pipenv/11.9.0/libexec/bin/pipenv-resolver --debug --verbose background

Using pip: -i https://pypi.python.org/simple

                          ROUND 1
Current constraints:
  background

Finding the best candidates:
DEBUG:notpip.index:1 location(s) to search for versions of background:
DEBUG:notpip.index:* https://pypi.python.org/simple/background/
DEBUG:notpip.index:Getting page https://pypi.python.org/simple/background/
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/simple/background/" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 8
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from request max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:600 > 8
DEBUG:notpip.index:Analyzing links from page https://pypi.python.org/simple/background/
DEBUG:notpip.index:Found link https://pypi.python.org/packages/86/be/9de7386afe732d0e9a3972741b712a100bb706bc2fc7e0526f558739da93/background-0.1.0-py2.py3-none-any.whl#md5=c200d77f83b51637ee7bafaf9b6bad7c (from https://pypi.python.org/simple/background/), version: 0.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/39/4c/f2602b10b469a95caf2b601ab0bb5671adb77bfe21364816205e29f43d47/background-0.1.0.tar.gz#md5=a42c4edc5a83a0471919d655e3ee133a (from https://pypi.python.org/simple/background/), version: 0.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/d5/91/5bdb02c03859e835d2eacfa5b3f1d39a5d24cad2f3b30525e212ae3618b9/background-0.1.1-py2.py3-none-any.whl#md5=0bcb8095a8a8ab12c5e32b0676a6aa0a (from https://pypi.python.org/simple/background/), version: 0.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/70/aa/3f05d4b9af2ffceff988d54e68217d511ef629d61aac99094d526054c416/background-0.1.1.tar.gz#md5=a95ea2464137f49d134e70444ba496ad (from https://pypi.python.org/simple/background/), version: 0.1.1
  found candidate background==0.1.1 (constraint was <any>)

Finding secondary dependencies:
  background==0.1.1         requires futures

New dependencies found in this round:
  adding ['futures', '', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  background
  futures

Finding the best candidates:
  found candidate background==0.1.1 (constraint was <any>)
DEBUG:notpip.index:1 location(s) to search for versions of futures:
DEBUG:notpip.index:* https://pypi.python.org/simple/futures/
DEBUG:notpip.index:Getting page https://pypi.python.org/simple/futures/
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/simple/futures/" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 9
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from request max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:600 > 9
DEBUG:notpip.index:Analyzing links from page https://pypi.python.org/simple/futures/
DEBUG:notpip.index:Found link https://pypi.python.org/packages/2e/65/81cb1de73f001863f90981f4f5a0cea8da08bf7a9ed2a1d812e8f53fe822/futures-0.1.tar.gz#md5=14c2e3af0f90479792555e20061a4532 (from https://pypi.python.org/simple/futures/), version: 0.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/09/9a/5cb5882312ae289aadab9dec2bd6557b25c45b79f3de5b400aafe547f3a5/futures-0.1.win32.exe#md5=3d4dbe19986aa9c654a2294cf6280c97 (from https://pypi.python.org/simple/futures/), version: 0.1.win32
DEBUG:notpip.index:Found link https://pypi.python.org/packages/08/80/a9e000de5b7372a514add2ef614a953be8bc3d13c8d6205455739d0fb189/futures-0.2.python3.tar.gz#md5=b6f1d454aa2ba3c870a3743c154b95d5 (from https://pypi.python.org/simple/futures/), version: 0.2.python3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/b1/52/b6024136771fed73f22bb2aae612683ad3f0654af16bc2462d648917cff2/futures-0.2.python3.win32.exe#md5=242c2437e402a03034823abc91b79d3c (from https://pypi.python.org/simple/futures/), version: 0.2.python3.win32
DEBUG:notpip.index:Found link https://pypi.python.org/packages/58/da/820c674b07041df44a4bc6c062c0da3e68a5172bf0ad01312634ea39c4f4/futures-0.2.tar.gz#md5=1a913df7f2e50c2d445cbc959c70b01e (from https://pypi.python.org/simple/futures/), version: 0.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/a7/6a/a4386efd6fe91c85f97837c33eab5d3ec7ac29137f89930f15ad52865413/futures-0.2.win32.exe#md5=dc65adcd66ba6ecf0a89d8d6ec891de6 (from https://pypi.python.org/simple/futures/), version: 0.2.win32
DEBUG:notpip.index:Found link https://pypi.python.org/packages/18/ab/85f2f673ac828bc3d1c1ceb92c82382cdcbf890046c77cd74edaa63cb7d7/futures-1.0.tar.gz#md5=0171acd9e2486915ccbe3d0e2e92ec3f (from https://pypi.python.org/simple/futures/), version: 1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/17/47/1382bf17e7faa123464057df0afc69cca9c7eb14e930734ce8b5bdbfad7e/futures-2.0.tar.gz#md5=bcc58e035661b9be325b6d278005c0f2 (from https://pypi.python.org/simple/futures/), version: 2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/4b/19/93f2dd20a2e7eb72348c90b697ef7a0bd20168f973fc269f8986b8e49391/futures-2.1.tar.gz#md5=b1b9879b20e1ca45451124428ebd8157 (from https://pypi.python.org/simple/futures/), version: 2.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/10/0e/bde74dc8717243adba113ef415b4c4517c532ce18ca5c476f8f147b9f74e/futures-2.1.1.tar.gz#md5=158422d8727f148c439408a8b423f9bb (from https://pypi.python.org/simple/futures/), version: 2.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/36/0d/ff8097028893cc2ba0ad6c1a23f8aa5486728f2077f00989733978a4e289/futures-2.1.2.tar.gz#md5=a6fa247e3c5fe3d60d8e12f1b873cc88 (from https://pypi.python.org/simple/futures/), version: 2.1.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/1c/98/bc0938f1c7c46b14dae9b25fc7edd32a7c26ef78b16a8b90835971f2143b/futures-2.1.3.tar.gz#md5=3de68835c8035dff0495cbe7f5c75beb (from https://pypi.python.org/simple/futures/), version: 2.1.3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/fd/6f/3ce6a5e9e0754a02ca3f0f6027c73bcc337dbd18517920eea2db0b369ae9/futures-2.1.4.tar.gz#md5=c6116d2d8c3c1a7c386ce196a2c98a4d (from https://pypi.python.org/simple/futures/), version: 2.1.4
DEBUG:notpip.index:Found link https://pypi.python.org/packages/32/e3/1de389e9e4372d106b1644b56cc0b94226a3ad637f96f45a8c3b55fc0709/futures-2.1.5-py2.py3-none-any.whl#md5=e6763f4016c0a6e31a0edc15072cc56e (from https://pypi.python.org/simple/futures/), version: 2.1.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/6d/e6/52fa0ac964982c773087d967feb628408b9c3d278d931761afd863c176ee/futures-2.1.5.tar.gz#md5=2fc924890ccd30a5fe676fa9bbcf0ab8 (from https://pypi.python.org/simple/futures/), version: 2.1.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/59/a0/cf4cd997e1750f0c2d91c6ea5abea218251c43c3581bcc2f118b00baf5cf/futures-2.1.6-py2.py3-none-any.whl#md5=9327a3b0bd315594d755180045947b03 (from https://pypi.python.org/simple/futures/), version: 2.1.6
DEBUG:notpip.index:Found link https://pypi.python.org/packages/38/25/85ec21efa813e4158dcea8bc676d1f81510af0ca3e2ba32ec47247d4857d/futures-2.1.6.tar.gz#md5=cfab9ac3cd55d6c7ddd0546a9f22f453 (from https://pypi.python.org/simple/futures/), version: 2.1.6
DEBUG:notpip.index:Found link https://pypi.python.org/packages/d7/1d/68874943aa37cf1c483fc61def813188473596043158faa6511c04a038b4/futures-2.2.0-py2.py3-none-any.whl#md5=12159c04b91abe5d26769f3ed4e01cc8 (from https://pypi.python.org/simple/futures/), version: 2.2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/c0/12/927b89a24dcb336e5af18a8fbf581581c36e9620ae963a693a2522b2d340/futures-2.2.0.tar.gz#md5=310e446de8609ddb59d0886e35edb534 (from https://pypi.python.org/simple/futures/), version: 2.2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/10/1c/182c9e959ca708ce611a7bf6b0ab6022d4a0e7edad79e5145c220431b028/futures-3.0.0-py2-none-any.whl#md5=d64edfffae0bbda1f28ceef944c1d7cc (from https://pypi.python.org/simple/futures/), version: 3.0.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/ea/c9/35287369718fc05059e7a9d0d73c53745fe981010b4185b3858e7d46eff1/futures-3.0.0.tar.gz#md5=ed8cd52e316ad1ec1ed3fd1f1f622961 (from https://pypi.python.org/simple/futures/), version: 3.0.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/5c/27/2f22e96c596b7cd83a3c1adceec4609eebd57ba3f8a061f993b4f84e592c/futures-3.0.1-py2-none-any.whl#md5=5abb7b2cdf2cc9f727b513c9bbaf415e (from https://pypi.python.org/simple/futures/), version: 3.0.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/b2/2c/6b6a57379e47031c6f52e625e0e2b8f6702a8d1f61b6e0daee391e82c187/futures-3.0.1.tar.gz#md5=c872d96e128fb79371409f68f8c17f74 (from https://pypi.python.org/simple/futures/), version: 3.0.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/87/77/e02574de90ec2944113447106e3be417af2d4b3dd21a9a050c04b007cd29/futures-3.0.2-py2-none-any.whl#md5=56b6b9c77a9488de90f4b81978753870 (from https://pypi.python.org/simple/futures/), version: 3.0.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/f8/e7/fc0fcbeb9193ba2d4de00b065e7fd5aecd0679e93ce95a07322b2b1434f4/futures-3.0.2.tar.gz#md5=42aaf1e4de48d6e871d77dc1f9d96d5a (from https://pypi.python.org/simple/futures/), version: 3.0.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/26/7d/a7e1130b63514cd7192f0ba0b53bdda7f96df88641ee0c97bfed8477f324/futures-3.0.3-py2-none-any.whl#md5=347b9df805d31b3edea63731ea79cb54 (from https://pypi.python.org/simple/futures/), version: 3.0.3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/4c/dc/f9473006d4c9c52d4a4e977173fbcbfb1a8ef3a57e32e885edf994fd4a45/futures-3.0.3.tar.gz#md5=32171f72af7e80c266310794adc4db46 (from https://pypi.python.org/simple/futures/), version: 3.0.3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/9b/3a/da5dd42fb24e577d7cbb13b6f3a1bd466b7f11ff67facd670583d6bb6931/futures-3.0.4-py2-none-any.whl#md5=0b6343283c10a6e3b9eb0453739ee84d (from https://pypi.python.org/simple/futures/), version: 3.0.4
DEBUG:notpip.index:Found link https://pypi.python.org/packages/8d/73/b5fff618482bc06c9711e7cdc0d5d7eb1904d35898f48f2d7f9696b08bef/futures-3.0.4.tar.gz#md5=27f0941502b3852ac78f3384e94f544e (from https://pypi.python.org/simple/futures/), version: 3.0.4
DEBUG:notpip.index:Found link https://pypi.python.org/packages/9c/3f/1d818ea03fb2956a2bdfa8f8a3b1319590f0f151a5584a8a3ae45085066c/futures-3.0.5-py2-none-any.whl#md5=968375970768ad7b7838cb07a0d60b44 (from https://pypi.python.org/simple/futures/), version: 3.0.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/55/db/97c1ca37edab586a1ae03d6892b6633d8eaa23b23ac40c7e5bbc55423c78/futures-3.0.5.tar.gz#md5=ced2c365e518242512d7a398b515ff95 (from https://pypi.python.org/simple/futures/), version: 3.0.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/d5/ea/a77d7379219f717333c7726bcaafa7839f11f475a3d3691ec9ed5b4add0e/futures-3.1.0-py2-none-any.whl#md5=a2e7fbede87d71aee50caaa44b8966b8 (from https://pypi.python.org/simple/futures/), version: 3.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/25/83/113da7c7832a4efa80ec7fd5d25b2ea431d9a847cd78f1fa98ddd99d591a/futures-3.1.0.tar.gz#md5=ab78b3ed854a38b82af19f3d617d29eb (from https://pypi.python.org/simple/futures/), version: 3.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/a6/1c/72a18c8c7502ee1b38a604a5c5243aa8c2a64f4bba4e6631b1b8972235dd/futures-3.1.1-py2-none-any.whl#md5=61a88f749eb3655042f95d198f783ef3 (from https://pypi.python.org/simple/futures/), version: 3.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/cc/26/b61e3a4eb50653e8a7339d84eeaa46d1e93b92951978873c220ae64d0733/futures-3.1.1.tar.gz#md5=77f261ab86cc78efa2c5fe7be27c3ec8 (from https://pypi.python.org/simple/futures/), version: 3.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl#md5=cfd62ab6c9852b04bb6048480fefaa75 (from https://pypi.python.org/simple/futures/) (requires-python:>=2.6, <3), version: 3.2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/1f/9e/7b2ff7e965fc654592269f2906ade1c7d705f1bf25b7d469fa153f7d19eb/futures-3.2.0.tar.gz#md5=d1b299a06b96ccb59f70324716dc0016 (from https://pypi.python.org/simple/futures/) (requires-python:>=2.6, <3), version: 3.2.0
  found candidate futures==3.2.0 (constraint was <any>)

Finding secondary dependencies:
  background==0.1.1         requires futures
  futures==3.2.0            requires -
------------------------------------------------------------
Result of round 2: stable, done
DEBUG:notpip.index:1 location(s) to search for versions of background:
DEBUG:notpip.index:* https://pypi.python.org/simple/background/
DEBUG:notpip.index:Getting page https://pypi.python.org/simple/background/
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/simple/background/" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 9
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from request max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:600 > 9
DEBUG:notpip.index:Analyzing links from page https://pypi.python.org/simple/background/
DEBUG:notpip.index:Found link https://pypi.python.org/packages/86/be/9de7386afe732d0e9a3972741b712a100bb706bc2fc7e0526f558739da93/background-0.1.0-py2.py3-none-any.whl#md5=c200d77f83b51637ee7bafaf9b6bad7c (from https://pypi.python.org/simple/background/), version: 0.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/39/4c/f2602b10b469a95caf2b601ab0bb5671adb77bfe21364816205e29f43d47/background-0.1.0.tar.gz#md5=a42c4edc5a83a0471919d655e3ee133a (from https://pypi.python.org/simple/background/), version: 0.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/d5/91/5bdb02c03859e835d2eacfa5b3f1d39a5d24cad2f3b30525e212ae3618b9/background-0.1.1-py2.py3-none-any.whl#md5=0bcb8095a8a8ab12c5e32b0676a6aa0a (from https://pypi.python.org/simple/background/), version: 0.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/70/aa/3f05d4b9af2ffceff988d54e68217d511ef629d61aac99094d526054c416/background-0.1.1.tar.gz#md5=a95ea2464137f49d134e70444ba496ad (from https://pypi.python.org/simple/background/), version: 0.1.1
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/packages/70/aa/3f05d4b9af2ffceff988d54e68217d511ef629d61aac99094d526054c416/background-0.1.1.tar.gz" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 6
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 31557600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:31557600 > 6
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/packages/d5/91/5bdb02c03859e835d2eacfa5b3f1d39a5d24cad2f3b30525e212ae3618b9/background-0.1.1-py2.py3-none-any.whl" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 5895212
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 31557600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:31557600 > 5895212
DEBUG:notpip.index:1 location(s) to search for versions of futures:
DEBUG:notpip.index:* https://pypi.python.org/simple/futures/
DEBUG:notpip.index:Getting page https://pypi.python.org/simple/futures/
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/simple/futures/" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 9
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from request max-age: 600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:600 > 9
DEBUG:notpip.index:Analyzing links from page https://pypi.python.org/simple/futures/
DEBUG:notpip.index:Found link https://pypi.python.org/packages/2e/65/81cb1de73f001863f90981f4f5a0cea8da08bf7a9ed2a1d812e8f53fe822/futures-0.1.tar.gz#md5=14c2e3af0f90479792555e20061a4532 (from https://pypi.python.org/simple/futures/), version: 0.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/09/9a/5cb5882312ae289aadab9dec2bd6557b25c45b79f3de5b400aafe547f3a5/futures-0.1.win32.exe#md5=3d4dbe19986aa9c654a2294cf6280c97 (from https://pypi.python.org/simple/futures/), version: 0.1.win32
DEBUG:notpip.index:Found link https://pypi.python.org/packages/08/80/a9e000de5b7372a514add2ef614a953be8bc3d13c8d6205455739d0fb189/futures-0.2.python3.tar.gz#md5=b6f1d454aa2ba3c870a3743c154b95d5 (from https://pypi.python.org/simple/futures/), version: 0.2.python3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/b1/52/b6024136771fed73f22bb2aae612683ad3f0654af16bc2462d648917cff2/futures-0.2.python3.win32.exe#md5=242c2437e402a03034823abc91b79d3c (from https://pypi.python.org/simple/futures/), version: 0.2.python3.win32
DEBUG:notpip.index:Found link https://pypi.python.org/packages/58/da/820c674b07041df44a4bc6c062c0da3e68a5172bf0ad01312634ea39c4f4/futures-0.2.tar.gz#md5=1a913df7f2e50c2d445cbc959c70b01e (from https://pypi.python.org/simple/futures/), version: 0.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/a7/6a/a4386efd6fe91c85f97837c33eab5d3ec7ac29137f89930f15ad52865413/futures-0.2.win32.exe#md5=dc65adcd66ba6ecf0a89d8d6ec891de6 (from https://pypi.python.org/simple/futures/), version: 0.2.win32
DEBUG:notpip.index:Found link https://pypi.python.org/packages/18/ab/85f2f673ac828bc3d1c1ceb92c82382cdcbf890046c77cd74edaa63cb7d7/futures-1.0.tar.gz#md5=0171acd9e2486915ccbe3d0e2e92ec3f (from https://pypi.python.org/simple/futures/), version: 1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/17/47/1382bf17e7faa123464057df0afc69cca9c7eb14e930734ce8b5bdbfad7e/futures-2.0.tar.gz#md5=bcc58e035661b9be325b6d278005c0f2 (from https://pypi.python.org/simple/futures/), version: 2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/4b/19/93f2dd20a2e7eb72348c90b697ef7a0bd20168f973fc269f8986b8e49391/futures-2.1.tar.gz#md5=b1b9879b20e1ca45451124428ebd8157 (from https://pypi.python.org/simple/futures/), version: 2.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/10/0e/bde74dc8717243adba113ef415b4c4517c532ce18ca5c476f8f147b9f74e/futures-2.1.1.tar.gz#md5=158422d8727f148c439408a8b423f9bb (from https://pypi.python.org/simple/futures/), version: 2.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/36/0d/ff8097028893cc2ba0ad6c1a23f8aa5486728f2077f00989733978a4e289/futures-2.1.2.tar.gz#md5=a6fa247e3c5fe3d60d8e12f1b873cc88 (from https://pypi.python.org/simple/futures/), version: 2.1.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/1c/98/bc0938f1c7c46b14dae9b25fc7edd32a7c26ef78b16a8b90835971f2143b/futures-2.1.3.tar.gz#md5=3de68835c8035dff0495cbe7f5c75beb (from https://pypi.python.org/simple/futures/), version: 2.1.3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/fd/6f/3ce6a5e9e0754a02ca3f0f6027c73bcc337dbd18517920eea2db0b369ae9/futures-2.1.4.tar.gz#md5=c6116d2d8c3c1a7c386ce196a2c98a4d (from https://pypi.python.org/simple/futures/), version: 2.1.4
DEBUG:notpip.index:Found link https://pypi.python.org/packages/32/e3/1de389e9e4372d106b1644b56cc0b94226a3ad637f96f45a8c3b55fc0709/futures-2.1.5-py2.py3-none-any.whl#md5=e6763f4016c0a6e31a0edc15072cc56e (from https://pypi.python.org/simple/futures/), version: 2.1.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/6d/e6/52fa0ac964982c773087d967feb628408b9c3d278d931761afd863c176ee/futures-2.1.5.tar.gz#md5=2fc924890ccd30a5fe676fa9bbcf0ab8 (from https://pypi.python.org/simple/futures/), version: 2.1.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/59/a0/cf4cd997e1750f0c2d91c6ea5abea218251c43c3581bcc2f118b00baf5cf/futures-2.1.6-py2.py3-none-any.whl#md5=9327a3b0bd315594d755180045947b03 (from https://pypi.python.org/simple/futures/), version: 2.1.6
DEBUG:notpip.index:Found link https://pypi.python.org/packages/38/25/85ec21efa813e4158dcea8bc676d1f81510af0ca3e2ba32ec47247d4857d/futures-2.1.6.tar.gz#md5=cfab9ac3cd55d6c7ddd0546a9f22f453 (from https://pypi.python.org/simple/futures/), version: 2.1.6
DEBUG:notpip.index:Found link https://pypi.python.org/packages/d7/1d/68874943aa37cf1c483fc61def813188473596043158faa6511c04a038b4/futures-2.2.0-py2.py3-none-any.whl#md5=12159c04b91abe5d26769f3ed4e01cc8 (from https://pypi.python.org/simple/futures/), version: 2.2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/c0/12/927b89a24dcb336e5af18a8fbf581581c36e9620ae963a693a2522b2d340/futures-2.2.0.tar.gz#md5=310e446de8609ddb59d0886e35edb534 (from https://pypi.python.org/simple/futures/), version: 2.2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/10/1c/182c9e959ca708ce611a7bf6b0ab6022d4a0e7edad79e5145c220431b028/futures-3.0.0-py2-none-any.whl#md5=d64edfffae0bbda1f28ceef944c1d7cc (from https://pypi.python.org/simple/futures/), version: 3.0.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/ea/c9/35287369718fc05059e7a9d0d73c53745fe981010b4185b3858e7d46eff1/futures-3.0.0.tar.gz#md5=ed8cd52e316ad1ec1ed3fd1f1f622961 (from https://pypi.python.org/simple/futures/), version: 3.0.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/5c/27/2f22e96c596b7cd83a3c1adceec4609eebd57ba3f8a061f993b4f84e592c/futures-3.0.1-py2-none-any.whl#md5=5abb7b2cdf2cc9f727b513c9bbaf415e (from https://pypi.python.org/simple/futures/), version: 3.0.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/b2/2c/6b6a57379e47031c6f52e625e0e2b8f6702a8d1f61b6e0daee391e82c187/futures-3.0.1.tar.gz#md5=c872d96e128fb79371409f68f8c17f74 (from https://pypi.python.org/simple/futures/), version: 3.0.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/87/77/e02574de90ec2944113447106e3be417af2d4b3dd21a9a050c04b007cd29/futures-3.0.2-py2-none-any.whl#md5=56b6b9c77a9488de90f4b81978753870 (from https://pypi.python.org/simple/futures/), version: 3.0.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/f8/e7/fc0fcbeb9193ba2d4de00b065e7fd5aecd0679e93ce95a07322b2b1434f4/futures-3.0.2.tar.gz#md5=42aaf1e4de48d6e871d77dc1f9d96d5a (from https://pypi.python.org/simple/futures/), version: 3.0.2
DEBUG:notpip.index:Found link https://pypi.python.org/packages/26/7d/a7e1130b63514cd7192f0ba0b53bdda7f96df88641ee0c97bfed8477f324/futures-3.0.3-py2-none-any.whl#md5=347b9df805d31b3edea63731ea79cb54 (from https://pypi.python.org/simple/futures/), version: 3.0.3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/4c/dc/f9473006d4c9c52d4a4e977173fbcbfb1a8ef3a57e32e885edf994fd4a45/futures-3.0.3.tar.gz#md5=32171f72af7e80c266310794adc4db46 (from https://pypi.python.org/simple/futures/), version: 3.0.3
DEBUG:notpip.index:Found link https://pypi.python.org/packages/9b/3a/da5dd42fb24e577d7cbb13b6f3a1bd466b7f11ff67facd670583d6bb6931/futures-3.0.4-py2-none-any.whl#md5=0b6343283c10a6e3b9eb0453739ee84d (from https://pypi.python.org/simple/futures/), version: 3.0.4
DEBUG:notpip.index:Found link https://pypi.python.org/packages/8d/73/b5fff618482bc06c9711e7cdc0d5d7eb1904d35898f48f2d7f9696b08bef/futures-3.0.4.tar.gz#md5=27f0941502b3852ac78f3384e94f544e (from https://pypi.python.org/simple/futures/), version: 3.0.4
DEBUG:notpip.index:Found link https://pypi.python.org/packages/9c/3f/1d818ea03fb2956a2bdfa8f8a3b1319590f0f151a5584a8a3ae45085066c/futures-3.0.5-py2-none-any.whl#md5=968375970768ad7b7838cb07a0d60b44 (from https://pypi.python.org/simple/futures/), version: 3.0.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/55/db/97c1ca37edab586a1ae03d6892b6633d8eaa23b23ac40c7e5bbc55423c78/futures-3.0.5.tar.gz#md5=ced2c365e518242512d7a398b515ff95 (from https://pypi.python.org/simple/futures/), version: 3.0.5
DEBUG:notpip.index:Found link https://pypi.python.org/packages/d5/ea/a77d7379219f717333c7726bcaafa7839f11f475a3d3691ec9ed5b4add0e/futures-3.1.0-py2-none-any.whl#md5=a2e7fbede87d71aee50caaa44b8966b8 (from https://pypi.python.org/simple/futures/), version: 3.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/25/83/113da7c7832a4efa80ec7fd5d25b2ea431d9a847cd78f1fa98ddd99d591a/futures-3.1.0.tar.gz#md5=ab78b3ed854a38b82af19f3d617d29eb (from https://pypi.python.org/simple/futures/), version: 3.1.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/a6/1c/72a18c8c7502ee1b38a604a5c5243aa8c2a64f4bba4e6631b1b8972235dd/futures-3.1.1-py2-none-any.whl#md5=61a88f749eb3655042f95d198f783ef3 (from https://pypi.python.org/simple/futures/), version: 3.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/cc/26/b61e3a4eb50653e8a7339d84eeaa46d1e93b92951978873c220ae64d0733/futures-3.1.1.tar.gz#md5=77f261ab86cc78efa2c5fe7be27c3ec8 (from https://pypi.python.org/simple/futures/), version: 3.1.1
DEBUG:notpip.index:Found link https://pypi.python.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl#md5=cfd62ab6c9852b04bb6048480fefaa75 (from https://pypi.python.org/simple/futures/) (requires-python:>=2.6, <3), version: 3.2.0
DEBUG:notpip.index:Found link https://pypi.python.org/packages/1f/9e/7b2ff7e965fc654592269f2906ade1c7d705f1bf25b7d469fa153f7d19eb/futures-3.2.0.tar.gz#md5=d1b299a06b96ccb59f70324716dc0016 (from https://pypi.python.org/simple/futures/) (requires-python:>=2.6, <3), version: 3.2.0
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 5012701
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 31557600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:31557600 > 5012701
DEBUG:pip9._vendor.cachecontrol.controller:Looking up "https://pypi.python.org/packages/1f/9e/7b2ff7e965fc654592269f2906ade1c7d705f1bf25b7d469fa153f7d19eb/futures-3.2.0.tar.gz" in the cache
DEBUG:pip9._vendor.cachecontrol.controller:Current age based on date: 858057
DEBUG:pip9._vendor.cachecontrol.controller:Freshness lifetime from max-age: 31557600
DEBUG:pip9._vendor.cachecontrol.controller:The response is "fresh", returning cached response
DEBUG:pip9._vendor.cachecontrol.controller:31557600 > 858057
RESULTS:
[{"name": "background", "version": "0.1.1", "hashes": ["sha256:8f64df9b1f1d4f91603f16d25f79691fa87eff62244d631b8b69cf121396b725", "sha256:b2fb684c150aaf1c4716686e7bd0e81a5c13db1852e7af48c01b98a3486a84c6"]}, {"name": "futures", "version": "3.2.0", "hashes": ["sha256:ec0a6cb848cc212002b9828c3e34c675e0c9ff6741dc445cab6fdd4e1085d1f1", "sha256:9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265"]}]

@jacebrowning this is a resolver bug which hasn’t been fixed in a release yet -part of the resolver changes now include otherwise excluded files, it’s including .exe files here. Will try to get it released ASAP

An ugly workaround is to change the virtualenv to Python 2.7, then freeze your requirements file pipenv run pip freeze > requirements.txt and manually change futures version number to 3.1.1.

I am also getting this when I try to install a py3 virtualenv with pipenv, the only way to get around it seems to be to change the python version being required to py2.7 but this of course breaks because the syntax is py3. Is there a better workaround somewhere?

@LasseGravesen We’ve since removed dependency to futures altogether. You might want to consider purge your environment (i.e. uninstall everything until pip list shows nothing but pip and setuptools) and install a fresh copy of Pipenv. And it might be useful to clear your Pipenv cache (location available in the documentation).

This is still an issue. at least with brew installed pipenv

$ pipenv --version
pipenv, version 2018.05.18
$ which pipenv 
/usr/local/bin/pipenv

Also pip3 install --user pipenv finds the same version, with the same issue.

Can you be more clear about "purge your environment" ?

Can we have a link to the "unfixed bug"? @techalchemy

Given you use --user but which finds Pipenv globally in /usr/local, I’d guess you have a mismatch in versions in PATH and sys.path. With --use pip should install the executable in ~/.local, so there is something going very wrong in your setup.

I'm running into this same issue when installing the azure package.

Installing the package using pip install works fine.

It seems that the following line is not interpeted correctly; (https://github.com/Azure/azure-cosmosdb-python/blob/master/requirements.txt)

futures;python_version<="2.7"

My environment:

λ python --version
Python 3.6.5

λ pip list
Package          Version
---------------- ---------
certifi          2018.4.16
pip              10.0.1
pipenv           2018.5.18
setuptools       39.2.0
virtualenv       16.0.0
virtualenv-clone 0.3.0

The graph output: https://pastebin.com/wAqZZ9Ez

You can add this to your lock file before "version": "3.2.0"

"markers": "python_version == '2.6' or python_version == '2.7'",

I am still seeing this issue with pipenv, version 2018.05.18

Grow does not install with the default python downloaded today (3.6.5) due to this same error.

I feel like this particular issue is probably addressed and I just can't tell, but I have an odd futures issue that seems to be related to the pipenv lock file (but only seems to be an issue on a redhat system, not my mac where I have things using homebrew):
https://gist.github.com/Drin/13784a703319d48dcca79ef7a36ce458

In the above gist, I have tried to have a simple layout with commands and outputs and errors grouped reasonably logically. For all of my environment/software information, see the gist.

The summary of the issue I'm seeing is:

  • When I don't have futures installed, things seem to work well.
  • When I pipenv install futures, pipenv grabs and installs the correct futures version (3.1.1) that seems to be available for Python 3.6 (specifically, 3.6.3 from the yum repos):

    • However, it seems that pipenv does not correctly update the Pipfile.lock file--although a lock file is seemingly created (I see a hash in the output), pipenv does not seem to actually swap it with the old Pipfile.lock file (see gist - "Futures Problem")

  • When I pipenv install pyarrow, it seems to have a different, related problem with futures, though I'm not sure what that is and I will document with their bug tracker.

Anyways, I'm not entirely sure where the source of this error is, and I don't have the time to dig in much more today. I am able to work around the issue by specifying versions that I know will work in Pipfile:

  • futures=3.1.1
  • pyarrow=0.9.0

but I thought it might be reasonable to mention this issue here, for someone to follow up at some point.

Thanks for any help anyone can provide! I will update here if I find any relevant info, including issues that are still open.

can get around this for now with pipenv install --skip-lock which is less than ideal.

I wanted to maintain the Pipe.lock file which is used in my docker orchestration because of this issue, It fails entire application to be stable.
$ pipenv lock Locking [dev-packages] dependencies… Locking [packages] dependencies… Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies. You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation. Could not find a version that matches futures==3.1.1,==3.2.0 Tried: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.5, 2.1.6, 2.1.6, 2.2.0, 2.2.0, 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.0.2, 3.0.2, 3.0.3, 3.0.3, 3.0.4, 3.0.4, 3.0.5, 3.0.5, 3.1.0, 3.1.0, 3.1.1, 3.1.1

I resolved the issue by upgrading the pip and pipenv.

$ sudo pip install --upgrade pip
$ sudo pip install --upgrade pipenv

Still a problem on OS X. What the heck?

getting this error on OS X as well, on a Python 3.6.6 virtual environment with pipenv install zappa

Adding zappa to Pipfile's [packages]...
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Updated Pipfile.lock (38062f)!
Installing dependencies from Pipfile.lock (38062f)...
An error occurred while installing futures==3.2.0! Will try again.
  ��   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 33/33 — 00:00:09
Installing initially failed dependencies...
Collecting futures==3.2.0 ▉▉▉▉▉▉▉▉▉▉▉ 0/1 — 00:00:00

  Could not find a version that satisfies the requirement futures==3.2.0 (from -r /var/folders/sw/3hvw1zqj1ssfbslpcd66fwq53h18cy/T/pipenv-3l5pi3pj-requirements/pipenv-y15vbzja-requirement.txt (line 1)) (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
No matching distribution found for futures==3.2.0 (from -r /var/folders/sw/3hvw1zqj1ssfbslpcd66fwq53h18cy/T/pipenv-3l5pi3pj-requirements/pipenv-y15vbzja-requirement.txt (line 1))
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I'm having the same problem with zappa as well.

After digging through pipenv 2018.7.1 I found that the issue is in how markers are handled. The and condition in the case where 2 'python_version' conditions were defined wasn't being properly handled.

This is already resolved in the current master branch (just not released yet).

You can use this command to install pipenv from the repo:
sudo python3.6 -m pip install git+git://github.com/pypa/pipenv.git@541b87abd5baa1b6528ab5938fc275b6e982d7e0 --user

I've confirmed here that zappa 0.46.2 installs properly with this version.

@LasseGravesen We’ve since removed dependency to futures altogether. You might want to consider purge your environment (i.e. uninstall everything until pip list shows nothing but pip and setuptools) and install a fresh copy of Pipenv. And it might be useful to clear your Pipenv cache (location available in the documentation).

Just want to echo this solution. We found Pipenv to be inserting futures as a top level dependency even though nothing required it in the Pipfile. This in turn causing breakage for our Python3 applications since futures is not Python3 compatible causing the app not to boot. Removing Pipenv and clearing cache solved the issue.

I was facing the same issue and getting a bunch of errors related to futures and markers. Not sure how exactly, but I did below steps and was able to successfully create the virtualenv via pipenv:

pipenv --rm
pipenv lock --clear
pipenv shell
pipenv install

This link helped me arrive at the lock --clear step. Hopefully this helps others.

Was this page helpful?
0 / 5 - 0 ratings