The essence of the problem: I study Django, when installing the package with the command:

pipenv install django-crispy-forms==1.7.2 

This error crashes:

 Installing django-crispy-forms… Adding django-crispy-forms to Pipfile's [dev-packages]… Installation Succeeded Pipfile.lock (11da7f) out of date, updating to (30ae14)… Locking [dev-packages] dependencies… Success! Locking [packages] dependencies… Locking Failed! [pipenv.exceptions.ResolutionFailure]: File "c:/users/admin.lib/appdata/local/programs/python/python37-32/lib/site-packages/pipenv/resolver.py", line 69, in resolve [pipenv.exceptions.ResolutionFailure]: req_dir=requirements_dir [pipenv.exceptions.ResolutionFailure]: File "C:\Users\admin.LIB\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pipenv\utils.py", line 726, in resolve_deps [pipenv.exceptions.ResolutionFailure]: req_dir=req_dir, [pipenv.exceptions.ResolutionFailure]: File "C:\Users\admin.LIB\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pipenv\utils.py", line 480, in actually_resolve_deps [pipenv.exceptions.ResolutionFailure]: resolved_tree = resolver.resolve() [pipenv.exceptions.ResolutionFailure]: File "C:\Users\admin.LIB\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pipenv\utils.py", line 395, in resolve [pipenv.exceptions.ResolutionFailure]: raise ResolutionFailure(message=str(e)) [pipenv.exceptions.ResolutionFailure]: pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches bootstrap [pipenv.exceptions.ResolutionFailure]: No versions found [pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies. First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again. Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation. Hint: try $ pipenv lock --pre if it is a pre-release dependency. ERROR: ERROR: Could not find a version that matches bootstrap No versions found Was https://pypi.org/simple reachable? 

Exactly the same error crashed when trying to install gunicorn in the past project. Cured by simply creating a project again, but this is not the case if each time with such an error it is necessary to reassemble the project. Please explain the reason and how it is treated, thank you.

    1 answer 1

    I decided in the following way: I deleted pipfile and pipfile.lock, left pipenv using the exit command. Then I recreated the files with pipenv install django == 2.1, then I added the dependency pipenv install dgango-crispy-forms == 1.7.2 The package was installed, everything works.

    True, the cause of the error is not clear. If anyone knows - please write because of what it generally arises. Thank.