question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pipenv can't find a matched version of dependency

See original GitHub issue

Issue description

pipenv graph is empty

python version : 3.5.2 pipenv, version 2018.10.13

Here is my requirements.txt

alabaster
APScheduler
attrs
Automat
Babel
backports.functools-lru-cache
backports.weakref
beautifulsoup4
bleach
boto3
botocore
bz2file
cachetools
certifi
chardet
cloudpickle
configparser
constantly
cycler
cytoolz
decorator
dill
Django
django-allauth
django-appconf
django-celery-email
django-cors-headers
django-environ
django-imagekit
django-nested-inline
django-queryset-csv
django-rest-auth
django-rest-swagger
django-sse-wrapper
djangorestframework
djangorestframework-jwt
docopt
docutils
entrypoints
enum34
fakeredis
feedparser
firebase-admin
freeze
ftfy
future
gevent
google-api-python-client
google-auth
google-auth-httplib2
graphviz
greenlet
h5py
html2text
html5lib
httplib2
idna
imagesize
incremental
ipython-genutils
Jinja2
jmespath
jsonpickle
jsonschema
jupyter-core
Keras
Markdown
MarkupSafe
maya
metadata-parser
microdata
mistune
mock
mongoengine
msgpack
msgpack-numpy
msgpack-python
murmurhash
nbconvert
nbformat
nbsphinx
networkx
newsapi-python
newspaper3k
nose
numpy
oauth2client
oauthlib
pandoc
pandocfilters
pathlib
pbr
plac
ply
prawcore
preshed
protobuf
pyasn1
pyasn1-modules
pycrypto
pyfav
Pygments
pykwalify
PyLD
pymessenger
pyparsing
python-dateutil
python-dotenv
pytz
PyYAML
rasa-core
rauth
redis
regex
requests
requests-oauthlib
requests-toolbelt
rsa
s3transfer
schedule
scipy
simplejson
six
snowballstemmer
spacy
Sphinx
sphinxcontrib-websupport
tensorflow
termcolor
testpath
thinc
toolz
tqdm
traitlets
typing
tzlocal
update-checker
uritemplate
urllib3
virtualenv
wcwidth
webencodings
Werkzeug
wrapt
xmltodict
zope.interface

Describe the issue briefly here.

I get

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.
Could not find a version that matches requests<3.0,<3.0.0,==2.17.1,>=1.2.3,>=2.0.0,>=2.0.1,>=2.1.0,>=2.10.0,>=2.13.0,>=2.19.1,>=2.3.0,>=2.6.0,~=2.15

Expected result

pip freeze show something…

Actual result

pip freeze is empty

I also tried --skip-lock. But pip freeze was empty

Steps to replicate

sudo pipenv install -r requirements.txt

Related closed issues : #1598 #2258

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cegprakashcommented, Nov 14, 2018

I removed both of them but now I get

Could not find a version that matches numpy<=1.14.5,>=1.12.0,>=1.13,>=1.13.3,>=1.15.0,>=1.7,>=1.7.0,>=1.8.2,>=1.9.0,>=1.9.1,~=1.14

1reaction
frostmingcommented, Nov 12, 2018
metadata-parser
newsapi-python

@cegprakash

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Could not find a version that matches", but ... - GitHub
With pipenv lock, I get a message that I can't decipher. It lists valid constraints, and then versions that fit within those constraints, ......
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
☤ My pyenv-installed Python is not found​​ Make sure you have PYENV_ROOT set correctly. Pipenv only supports CPython distributions, with version name like...
Read more >
Common Pipenv Errors and How to Solve Them: Why Won't it ...
The second most common reason locking fails is that we attempt to install a package that is a pre-release version. You can resolve...
Read more >
pipenv Documentation - Read the Docs
Generates and checks file hashes for locked dependencies when installing from Pipfile.lock. • Automatically install required Python version when pyenv is ...
Read more >
Dependency Management With Python Poetry
While this tutorial focuses on dependency management, Poetry can also ... It should match the Python version constraint you can find in your ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found