pipenv graph is empty
python version : 3.5.2
pipenv, version 2018.10.13
Here is my requirements.txt
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
pip freeze show something..
pip freeze is empty
I also tried --skip-lock. But pip freeze was empty
sudo pipenv install -r requirements.txt
Related closed issues : #1598 #2258
here is my sudo -H pipenv install --verbose
log for round 2
ROUND 2
Current constraints:
absl-py>=0.1.6
alabaster<0.8,>=0.7
apscheduler~=3.0
astor>=0.6.0
attrs>=16.1.0
automat
babel!=2.0,>=1.3
backports.functools-lru-cache
backports.weakref
beautifulsoup4>=4.3.2,>=4.4.1
bleach
boto3
botocore<1.13.0,<2.0.0,>=1.12.40,>=1.3.0
bz2file
cachecontrol>=0.12.4
cachetools>=2.0.0
celery>=4.0
certifi>=2017.4.17
chardet<3.1.0,>=3.0.2
cloudpickle
colorclass~=2.2
coloredlogs~=10.0
colorhash~=1.0
configargparse~=0.13.0
configparser
constantly
coreapi>=2.3.0
cssselect>=0.9.2
cycler
cymem<2.1.0,<3.0.0,>=2.0.2
cytoolz<0.10,>=0.9.0
dateparser>=0.7.0
decorator>=4.3.0
defusedxml
dill<0.3,<0.3.0,>=0.2,>=0.2.7
django>=1.11,>=1.2.5,>=1.8,>=1.8.0
django-allauth
django-appconf>=0.5
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>=3.1.3,>=3.5.4
djangorestframework-jwt
docopt>=0.6.2
docutils>=0.10,>=0.11
entrypoints>=0.2.2
enum34
fakeredis~=0.10.0
fbmessenger~=5.0
feedfinder2>=0.0.4
feedparser>=5.2.1
firebase-admin
flask~=1.0
flask-cors~=3.0
flask-jwt-simple~=0.0.3
freeze
ftfy
future~=0.16
gast>=0.2.0
gevent~=1.2
google-api-python-client
google-auth>=1.3.0,>=1.4.1
google-auth-httplib2>=0.0.3
google-cloud-firestore>=0.27.0
google-cloud-storage>=1.2.0
graphviz~=0.9.0
greenlet>=0.4.14
grpcio>=1.8.6
h5py~=2.0
html2text
html5lib>=0.999999999
httplib2<1dev,>=0.9.1,>=0.9.2
humanize
idna<2.8,>=2.5
imagesize
incremental
ipython-genutils
jieba3k>=0.35.1
jinja2>=2.3
jmespath<1.0.0,>=0.7.1
jsonpickle~=0.9.0
jsonschema!=2.5.0,>=2.4,~=2.6
jupyter-core
keras~=2.0
keras-applications>=1.0.6
keras-preprocessing>=1.0.5
lxml>=3.6.0
markdown
markupsafe>=0.23
mattermostwrapper~=2.0
maya
metadata-parser
microdata
mistune>=0.8.1
mock
mongoengine
msgpack<1.0.0,>=0.5.2,>=0.5.6
msgpack-numpy<0.4.4,<0.4.4.0
msgpack-python
murmurhash<1.1.0,>=0.28.0
nbconvert!=5.4
nbformat>=4.4
nbsphinx
networkx~=2.0
newsapi-python
newspaper3k
nltk>=3.2.1
nose
numpy>=1.13.3,>=1.15.0,>=1.7,>=1.7.0,>=1.8.2,>=1.9.0,>=1.9.1,~=1.14
oauth2client
oauthlib>=0.6.2
openapi-codec>=1.3.1
packaging~=17.0
pandoc
pandocfilters>=1.4.1
pathlib
pbr>=0.11
pendulum<=1.5.1,>=1.0
pika~=0.11.2
pilkit>=0.2.0
pillow>=3.3.0
plac<1.0.0,>=0.9.6
ply
prawcore
preshed<2.1.0,<3.0.0,>=2.0.1
protobuf>=3.6.1
pyasn1<0.5.0,>=0.1.3,>=0.1.7,>=0.4.1
pyasn1-modules>=0.0.5,>=0.2.1
pycrypto
pyfav
pygments>=2.0
pyinquirer~=1.0
pyjwt<2.0.0,>=1.5.2
pykwalify<=1.6.0
pyld
pymessenger
pymongo>=2.7.1,~=3.5
pyparsing
python-dateutil<3.0.0,>=2.1,>=2.4.2,>=2.5.3,~=2.7
python-dotenv
python-socketio~=2.0
python-telegram-bot~=10.0
python3-openid>=3.0.8
pytz>=0a,~=2018.4
pyyaml>=3.11,~=3.12
rasa-core
rasa-core-sdk~=0.11.0
rasa-nlu~=0.13.0
rauth
redis~=2.0
regex==2018.01.10
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
requests-oauthlib>=0.3.0
requests-toolbelt>=0.8.0
rocketchat-api~=0.6.0
rsa>=3.1.4
ruamel.yaml~=0.15.0
s3transfer<0.2.0,>=0.1.10
schedule
scikit-learn~=0.19.0
scipy>=0.14
simplejson
six<2.0.0,<2dev,>=1.10.0,>=1.4.0,>=1.5,>=1.6.1,>=1.9,>=1.9.0,~=1.0
slackclient~=1.0
snaptime
snowballstemmer>=1.1
spacy
sphinx>=1.3.2
sphinxcontrib-websupport
sse>=1.2
tensorboard<1.13.0,>=1.12.0
tensorflow==1.10.0
termcolor>=1.1.0
terminaltables~=3.1
testpath
thinc<6.13.0,>=6.12.0
tinysegmenter==0.3
tldextract>=2.0.1
toolz>=0.8.0
tqdm<5.0.0,>=4.10.0,~=4.0
traitlets>=4.1,>=4.2
twilio~=6.0
typing~=3.0
tzlocal>=1.2
ujson>=1.35
unicodecsv>=0.14.1
update-checker
uritemplate<4dev,>=3.0.0
urllib3<1.25,>=1.20,>=1.21.1
virtualenv
wcwidth
webencodings
werkzeug
wheel>=0.26
wrapt<1.11.0,>=1.10.0
xmltodict
zope.interface
Finding the best candidates:
found candidate absl-py==0.6.1 (constraint was >=0.1.6)
found candidate alabaster==0.7.12 (constraint was >=0.7,<0.8)
found candidate apscheduler==3.5.3 (constraint was ~=3.0)
found candidate astor==0.7.1 (constraint was >=0.6.0)
found candidate attrs==18.2.0 (constraint was >=16.1.0)
found candidate automat==0.7.0 (constraint was <any>)
found candidate babel==2.6.0 (constraint was >=1.3,!=2.0)
found candidate backports.functools-lru-cache==1.5 (constraint was <any>)
found candidate backports.weakref==1.0.post1 (constraint was <any>)
found candidate beautifulsoup4==4.6.3 (constraint was >=4.3.2,>=4.4.1)
found candidate bleach==3.0.2 (constraint was <any>)
found candidate boto3==1.9.40 (constraint was <any>)
found candidate botocore==1.12.40 (constraint was >=1.12.40,<1.13.0,>=1.3.0,<2.0.0)
found candidate bz2file==0.98 (constraint was <any>)
found candidate cachecontrol==0.12.5 (constraint was >=0.12.4)
found candidate cachetools==3.0.0 (constraint was >=2.0.0)
found candidate celery==4.2.1 (constraint was >=4.0)
found candidate certifi==2018.10.15 (constraint was >=2017.4.17)
found candidate chardet==3.0.4 (constraint was >=3.0.2,<3.1.0)
found candidate cloudpickle==0.6.1 (constraint was <any>)
found candidate colorclass==2.2.0 (constraint was ~=2.2)
found candidate coloredlogs==10.0 (constraint was ~=10.0)
found candidate colorhash==1.0.2 (constraint was ~=1.0)
found candidate configargparse==0.13.0 (constraint was ~=0.13.0)
found candidate configparser==3.5.0 (constraint was <any>)
found candidate constantly==15.1.0 (constraint was <any>)
found candidate coreapi==2.3.3 (constraint was >=2.3.0)
found candidate cssselect==1.0.3 (constraint was >=0.9.2)
found candidate cycler==0.10.0 (constraint was <any>)
found candidate cymem==2.0.2 (constraint was >=2.0.2,<2.1.0,<3.0.0)
found candidate cytoolz==0.9.0.1 (constraint was <0.10,>=0.9.0)
found candidate dateparser==0.7.0 (constraint was >=0.7.0)
found candidate decorator==4.3.0 (constraint was >=4.3.0)
found candidate defusedxml==0.5.0 (constraint was <any>)
found candidate dill==0.2.8.2 (constraint was >=0.2,>=0.2.7,<0.3,<0.3.0)
found candidate django==2.1.3 (constraint was >=1.11,>=1.2.5,>=1.8,>=1.8.0)
found candidate django-allauth==0.38.0 (constraint was <any>)
found candidate django-appconf==1.0.2 (constraint was >=0.5)
found candidate django-celery-email==2.0.1 (constraint was <any>)
found candidate django-cors-headers==2.4.0 (constraint was <any>)
found candidate django-environ==0.4.5 (constraint was <any>)
found candidate django-imagekit==4.0.2 (constraint was <any>)
found candidate django-nested-inline==0.3.7 (constraint was <any>)
found candidate django-queryset-csv==1.0.1 (constraint was <any>)
found candidate django-rest-auth==0.9.3 (constraint was <any>)
found candidate django-rest-swagger==2.2.0 (constraint was <any>)
found candidate django-sse-wrapper==0.0.4 (constraint was <any>)
found candidate djangorestframework==3.9.0 (constraint was >=3.1.3,>=3.5.4)
found candidate djangorestframework-jwt==1.11.0 (constraint was <any>)
found candidate docopt==0.6.2 (constraint was >=0.6.2)
found candidate docutils==0.14 (constraint was >=0.10,>=0.11)
found candidate entrypoints==0.2.3 (constraint was >=0.2.2)
found candidate enum34==1.1.6 (constraint was <any>)
found candidate fakeredis==0.10.3 (constraint was ~=0.10.0)
found candidate fbmessenger==5.3.2 (constraint was ~=5.0)
found candidate feedfinder2==0.0.4 (constraint was >=0.0.4)
found candidate feedparser==5.2.1 (constraint was >=5.2.1)
found candidate firebase-admin==2.13.0 (constraint was <any>)
found candidate flask==1.0.2 (constraint was ~=1.0)
found candidate flask-cors==3.0.6 (constraint was ~=3.0)
found candidate flask-jwt-simple==0.0.3 (constraint was ~=0.0.3)
found candidate freeze==1.0.10 (constraint was <any>)
found candidate ftfy==5.5.0 (constraint was <any>)
found candidate future==0.17.1 (constraint was ~=0.16)
found candidate gast==0.2.0 (constraint was >=0.2.0)
found candidate gevent==1.3.7 (constraint was ~=1.2)
found candidate google-api-python-client==1.7.4 (constraint was <any>)
found candidate google-auth==1.5.1 (constraint was >=1.3.0,>=1.4.1)
found candidate google-auth-httplib2==0.0.3 (constraint was >=0.0.3)
found candidate google-cloud-firestore==0.30.0 (constraint was >=0.27.0)
found candidate google-cloud-storage==1.13.0 (constraint was >=1.2.0)
found candidate graphviz==0.9 (constraint was ~=0.9.0)
found candidate greenlet==0.4.15 (constraint was >=0.4.14)
found candidate grpcio==1.16.0 (constraint was >=1.8.6)
found candidate h5py==2.8.0 (constraint was ~=2.0)
found candidate html2text==2018.1.9 (constraint was <any>)
found candidate html5lib==1.0.1 (constraint was >=0.999999999)
found candidate httplib2==0.11.3 (constraint was >=0.9.1,>=0.9.2,<1dev)
found candidate humanize==0.5.1 (constraint was <any>)
found candidate idna==2.7 (constraint was >=2.5,<2.8)
found candidate imagesize==1.1.0 (constraint was <any>)
found candidate incremental==17.5.0 (constraint was <any>)
found candidate ipython-genutils==0.2.0 (constraint was <any>)
found candidate jieba3k==0.35.1 (constraint was >=0.35.1)
found candidate jinja2==2.10 (constraint was >=2.3)
found candidate jmespath==0.9.3 (constraint was >=0.7.1,<1.0.0)
found candidate jsonpickle==0.9.6 (constraint was ~=0.9.0)
found candidate jsonschema==2.6.0 (constraint was >=2.4,!=2.5.0,~=2.6)
found candidate jupyter-core==4.4.0 (constraint was <any>)
found candidate keras==2.2.4 (constraint was ~=2.0)
found candidate keras-applications==1.0.6 (constraint was >=1.0.6)
found candidate keras-preprocessing==1.0.5 (constraint was >=1.0.5)
found candidate lxml==4.2.5 (constraint was >=3.6.0)
found candidate markdown==3.0.1 (constraint was <any>)
found candidate markupsafe==1.1.0 (constraint was >=0.23)
found candidate mattermostwrapper==2.1 (constraint was ~=2.0)
found candidate maya==0.5.0 (constraint was <any>)
found candidate metadata-parser==0.9.21 (constraint was <any>)
found candidate microdata==0.6.1 (constraint was <any>)
found candidate mistune==0.8.4 (constraint was >=0.8.1)
found candidate mock==2.0.0 (constraint was <any>)
found candidate mongoengine==0.16.0 (constraint was <any>)
found candidate msgpack==0.5.6 (constraint was >=0.5.2,>=0.5.6,<1.0.0)
found candidate msgpack-numpy==0.4.3.2 (constraint was <0.4.4,<0.4.4.0)
found candidate msgpack-python==0.5.6 (constraint was <any>)
found candidate murmurhash==1.0.1 (constraint was >=0.28.0,<1.1.0)
found candidate nbconvert==5.3.1 (constraint was !=5.4)
found candidate nbformat==4.4.0 (constraint was >=4.4)
found candidate nbsphinx==0.3.5 (constraint was <any>)
found candidate networkx==2.2 (constraint was ~=2.0)
found candidate newsapi-python==0.2.3 (constraint was <any>)
found candidate newspaper3k==0.2.8 (constraint was <any>)
found candidate nltk==3.3.0 (constraint was >=3.2.1)
found candidate nose==1.3.7 (constraint was <any>)
found candidate numpy==1.15.4 (constraint was >=1.13.3,~=1.14,>=1.15.0,>=1.7,>=1.7.0,>=1.8.2,>=1.9.0,>=1.9.1)
found candidate oauth2client==4.1.3 (constraint was <any>)
found candidate oauthlib==2.1.0 (constraint was >=0.6.2)
found candidate openapi-codec==1.3.2 (constraint was >=1.3.1)
found candidate packaging==17.1 (constraint was ~=17.0)
found candidate pandoc==1.0.2 (constraint was <any>)
found candidate pandocfilters==1.4.2 (constraint was >=1.4.1)
found candidate pathlib==1.0.1 (constraint was <any>)
found candidate pbr==5.1.1 (constraint was >=0.11)
found candidate pendulum==1.5.1 (constraint was >=1.0,<=1.5.1)
found candidate pika==0.11.2 (constraint was ~=0.11.2)
found candidate pilkit==2.0 (constraint was >=0.2.0)
found candidate pillow==5.3.0 (constraint was >=3.3.0)
found candidate plac==0.9.6 (constraint was >=0.9.6,<1.0.0)
found candidate ply==3.11 (constraint was <any>)
found candidate prawcore==1.0.0 (constraint was <any>)
found candidate preshed==2.0.1 (constraint was >=2.0.1,<2.1.0,<3.0.0)
found candidate protobuf==3.6.1 (constraint was >=3.6.1)
found candidate pyasn1==0.4.4 (constraint was >=0.1.3,>=0.1.7,>=0.4.1,<0.5.0)
found candidate pyasn1-modules==0.2.2 (constraint was >=0.0.5,>=0.2.1)
found candidate pycrypto==2.6.1 (constraint was <any>)
found candidate pyfav==0.1 (constraint was <any>)
found candidate pygments==2.2.0 (constraint was >=2.0)
found candidate pyinquirer==1.0.2 (constraint was ~=1.0)
found candidate pyjwt==1.6.4 (constraint was >=1.5.2,<2.0.0)
found candidate pykwalify==1.6.0 (constraint was <=1.6.0)
found candidate pyld==1.0.3 (constraint was <any>)
found candidate pymessenger==0.0.7.0 (constraint was <any>)
found candidate pymongo==3.7.2 (constraint was >=2.7.1,~=3.5)
found candidate pyparsing==2.3.0 (constraint was <any>)
found candidate python-dateutil==2.7.5 (constraint was >=2.1,>=2.4.2,>=2.5.3,~=2.7,<3.0.0)
found candidate python-dotenv==0.9.1 (constraint was <any>)
found candidate python-socketio==2.0.0 (constraint was ~=2.0)
found candidate python-telegram-bot==10.1.0 (constraint was ~=10.0)
found candidate python3-openid==3.1.0 (constraint was >=3.0.8)
found candidate pytz==2018.7 (constraint was >=0a,~=2018.4)
found candidate pyyaml==3.13 (constraint was >=3.11,~=3.12)
found candidate rasa-core==0.11.12 (constraint was <any>)
found candidate rasa-core-sdk==0.11.5 (constraint was ~=0.11.0)
found candidate rasa-nlu==0.13.7 (constraint was ~=0.13.0)
found candidate rauth==0.7.3 (constraint was <any>)
found candidate redis==2.10.6 (constraint was ~=2.0)
found candidate regex==2018.01.10 (constraint was ==2018.01.10)
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
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
The version constraints conflict in some of your dependencies or sub-dependencies. Pipenv won't downgrade your top deps automatically. Please find out the conflicting deps and pin the version in Pipfile
to make them compatible(It is a long list to go).
Change the title to reflect the real problem.
The real problem is that pipenv graph is empty. Why is it empty. If it is not empty, I can play around and try to fix the requirements.txt file. Without that I cannot find the package that's requiring these versions of requests. Please change the title back
Because pipenv will try to lock deps when the virtualenv is first created, and fail there. No dep is installed at all. So pipenv graph
is expected to be empty.
You can do pipenv install --skip-lock
to bypass the step and you will get output from pipenv graph
, but with problematic dep versions installed.
I already mentioned that as well.. --skip-lock followed by graph was empty too
If you can just identify and tell me out off all these packages what packages need 'requests' as their sub dependency and what version of requests then I will be able to fix my requirements.txt
newsapi-python
@cegprakash
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
I need
metadata-parser
newsapi-python and
numpy
is there anything that I can do?
I have managed to make this requirements.txt work but I had to install using --skip-lock. Any way I can utilize the lock?
absl-py==0.6.1
alabaster==0.7.12
amqp==2.3.2
APScheduler==3.5.3
astor==0.7.1
attrs==18.2.0
Automat==0.7.0
Babel==2.6.0
backports.functools-lru-cache==1.5
backports.weakref==1.0.post1
beautifulsoup4==4.6.3
billiard==3.5.0.4
bleach==3.0.2
boto3==1.9.44
botocore==1.12.44
bz2file==0.98
CacheControl==0.12.5
cachetools==3.0.0
celery==4.2.1
certifi==2018.10.15
chardet==3.0.4
Click==7.0
cloudpickle==0.6.1
colorclass==2.2.0
coloredlogs==10.0
colorhash==1.0.2
ConfigArgParse==0.13.0
configparser==3.5.0
constantly==15.1.0
coreapi==2.3.3
coreschema==0.0.4
cssselect==1.0.3
cycler==0.10.0
cymem==2.0.2
cytoolz==0.9.0.1
dateparser==0.7.0
decorator==4.3.0
defusedxml==0.5.0
dill==0.2.8.2
Django==2.1.3
django-allauth==0.38.0
django-appconf==1.0.2
django-celery-email==2.0.1
django-cors-headers==2.4.0
django-environ==0.4.5
django-imagekit==4.0.2
django-nested-inline==0.3.7
django-queryset-csv==1.0.1
django-rest-auth==0.9.3
django-rest-swagger==2.2.0
django-sse-wrapper==0.0.4
djangorestframework==3.9.0
djangorestframework-jwt==1.11.0
docopt==0.6.2
docutils==0.14
entrypoints==0.2.3
enum34==1.1.6
fakeredis==0.15.0
fbmessenger==5.3.2
feedfinder2==0.0.4
feedparser==5.2.1
firebase-admin==2.13.0
Flask==1.0.2
Flask-Cors==3.0.7
Flask-JWT-Simple==0.0.3
freeze==1.0.10
ftfy==5.5.0
future==0.17.1
gast==0.2.0
gevent==1.3.7
google-api-core==1.5.2
google-api-python-client==1.7.4
google-auth==1.6.1
google-auth-httplib2==0.0.3
google-cloud-core==0.28.1
google-cloud-firestore==0.30.0
google-cloud-storage==1.13.0
google-resumable-media==0.3.1
googleapis-common-protos==1.5.5
graphviz==0.10.1
greenlet==0.4.15
grpcio==1.16.0
h5py==2.8.0
html2text==2018.1.9
html5lib==1.0.1
httplib2==0.12.0
humanfriendly==4.17
humanize==0.5.1
hyperlink==18.0.0
idna==2.5
imagesize==1.1.0
incremental==17.5.0
ipython-genutils==0.2.0
itsdangerous==1.1.0
itypes==1.1.0
jieba3k==0.35.1
Jinja2==2.10
jmespath==0.9.3
jsonpickle==1.0
jsonschema==2.6.0
jupyter-core==4.4.0
Keras==2.2.4
Keras-Applications==1.0.6
Keras-Preprocessing==1.0.5
kiwisolver==1.0.1
klein==17.10.0
kombu==4.2.1
lxml==4.2.5
Markdown==3.0.1
MarkupSafe==1.1.0
matplotlib==2.2.3
mattermostwrapper==2.1
maya==0.5.0
metadata-parser==0.9.21
microdata==0.6.1
mistune==0.8.4
mock==2.0.0
mongoengine==0.16.1
msgpack==0.5.6
msgpack-numpy==0.4.3.2
msgpack-python==0.5.6
murmurhash==1.0.1
nbconvert==5.4.0
nbformat==4.4.0
nbsphinx==0.3.5
networkx==2.2
newsapi-python==0.2.3
newspaper3k==0.2.8
nltk==3.3
nose==1.3.7
numpy==1.15.4
oauth2client==4.1.3
oauthlib==2.1.0
openapi-codec==1.3.2
packaging==17.1
pandas==0.23.4
pandoc==1.0.2
pandocfilters==1.4.2
pathlib==1.0.1
pbr==5.1.1
pendulum==1.5.1
pika==0.11.2
pilkit==2.0
Pillow==5.3.0
plac==0.9.6
ply==3.11
prawcore==1.0.0
preshed==2.0.1
prompt-toolkit==1.0.14
protobuf==3.6.1
pyasn1==0.4.4
pyasn1-modules==0.2.2
pycrypto==2.6.1
pydot==1.2.4
pyfav==0.1
Pygments==2.2.0
PyHamcrest==1.9.0
PyInquirer==1.0.2
PyJWT==1.6.4
pykwalify==1.6.0
PyLD==1.0.3
pymessenger==0.0.7.0
pymongo==3.7.2
pyparsing==2.3.0
PySocks==1.6.8
python-dateutil==2.7.5
python-dotenv==0.9.1
python-engineio==2.3.2
python-socketio==2.0.0
python-telegram-bot==10.1.0
python3-openid==3.1.0
pytz==2018.7
pytzdata==2018.7
PyYAML==3.13
rasa-core==0.12.0
rasa-core-sdk==0.12.1
rasa-nlu==0.13.7
rauth==0.7.3
redis==2.10.6
regex==2018.1.10
requests==2.20.1
requests-file==1.4.3
requests-oauthlib==1.0.0
requests-toolbelt==0.8.0
rocketchat-API==0.6.22
rsa==4.0
ruamel.yaml==0.15.77
s3transfer==0.1.13
schedule==0.5.0
scikit-learn==0.19.2
scipy==1.1.0
simplejson==3.16.0
six==1.11.0
slackclient==1.3.0
snaptime==0.2.4
snowballstemmer==1.2.1
spacy==2.0.16
Sphinx==1.8.2
sphinxcontrib-websupport==1.1.0
sse==1.2
tensorboard==1.12.0
tensorflow==1.12.0
termcolor==1.1.0
terminaltables==3.1.0
testpath==0.4.2
thinc==6.12.0
tinysegmenter==0.3
tldextract==2.2.0
toolz==0.9.0
tqdm==4.28.1
traitlets==4.3.2
twilio==6.19.2
Twisted==18.9.0
typing==3.6.6
tzlocal==1.5.1
ujson==1.35
unicodecsv==0.14.1
update-checker==0.16
uritemplate==3.0.0
urllib3==1.21.1
vine==1.1.4
virtualenv==16.1.0
wcwidth==0.1.7
webencodings==0.5.1
webexteamssdk==1.0.3
websocket-client==0.54.0
Werkzeug==0.14.1
wrapt==1.10.11
xmltodict==0.11.0
zope.interface==4.6.0
may be with a pipenv lock --skip-verision-check or something?
No, it just _appears_ to work. Without the resolution process you will be likely get incompatible version of sub-dependency installed. For your case, requests==2.20.1
will be installed while requests==2.17.1
is required for newsapi-python
, depending on the installation order, you may get requests==2.17.1
installed then it doesn't fit metadata-parser
's constraints. You can do pipenv gragh
for a proof.
For the locking to work, you have to pin metadata-parser
to a lower version so that it is compatible with requests==2.17.1
. By the way, newsapi-python
shouldn't have a fixed version of dep. The same goes for other conflicts.
@cegprakash I just updated my comment and I hope it helps.
what is the recommended solution to this if I need all these libraries?
it's not just these 3 libraries causing the issues, there are many more
@cegprakash A minimum set of dependencies in your requirements.txt
which will not have any conflict if the following:
alabaster==0.7.12
APScheduler==3.5.3
attrs==18.2.0
Automat==0.7.0
Babel==2.6.0
backports.functools-lru-cache==1.5
backports.weakref==1.0.post1
beautifulsoup4==4.6.3
bleach==3.0.2
boto3==1.9.44
botocore==1.12.44
bz2file==0.98
cachetools==3.0.0
certifi==2018.10.15
chardet==3.0.4
cloudpickle==0.6.1
configparser==3.5.0
constantly==15.1.0
cycler==0.10.0
cytoolz==0.9.0.1
decorator==4.3.0
dill==0.2.8.2
Django==2.1.3
django-allauth==0.38.0
django-appconf==1.0.2
django-celery-email==2.0.1
django-cors-headers==2.4.0
django-environ==0.4.5
django-imagekit==4.0.2
django-nested-inline==0.3.7
django-queryset-csv==1.0.1
django-rest-auth==0.9.3
django-rest-swagger==2.2.0
django-sse-wrapper==0.0.4
djangorestframework==3.9.0
djangorestframework-jwt==1.11.0
docopt==0.6.2
docutils==0.14
entrypoints==0.2.3
enum34==1.1.6
fakeredis==0.15.0
feedparser==5.2.1
firebase-admin==2.4.0
freeze==1.0.10
ftfy==5.5.0
future==0.17.1
gevent==1.3.7
google-api-python-client==1.7.4
google-auth==1.6.1
google-auth-httplib2==0.0.3
google-cloud-storage==1.3.1
graphviz==0.10.1
greenlet==0.4.15
h5py==2.8.0
html2text==2018.1.9
html5lib==1.0.1
httplib2==0.12.0
idna==2.5
imagesize==1.1.0
incremental==17.5.0
ipython-genutils==0.2.0
Jinja2==2.10
jmespath==0.9.3
jsonpickle==1.0
jsonschema==2.6.0
jupyter-core==4.4.0
Keras==2.2.4
Markdown==3.0.1
MarkupSafe==1.1.0
maya==0.5.0
metadata-parser==0.9.20
microdata==0.6.1
mistune==0.8.4
mock==2.0.0
mongoengine==0.16.1
msgpack==0.5.6
msgpack-numpy==0.4.4.2
msgpack-python==0.5.6
murmurhash==1.0.1
nbconvert==5.4.0
nbformat==4.4.0
nbsphinx==0.3.4
networkx==2.2
newsapi-python==0.2.3
newspaper3k==0.2.8
nose==1.3.7
numpy==1.15.4
oauth2client==4.1.3
oauthlib==2.1.0
pandoc==1.0.2
pandocfilters==1.4.2
pathlib==1.0.1
pbr==5.1.1
plac==1.0.0
ply==3.11
prawcore==1.0.0
preshed==2.0.1
protobuf==3.6.1
pyasn1==0.4.4
pyasn1-modules==0.2.2
pycrypto==2.6.1
pyfav==0.1
Pygments==2.2.0
pykwalify==1.7.0
pyLD==1.0.3
pymessenger==0.0.7.0
pyparsing==2.3.0
python-dateutil==2.7.5
python-dotenv==0.9.1
pytz==2018.7
pyYAML==3.13
rasa-core==0.8.3
rauth==0.7.3
redis==2.10.6
regex==2018.11.07
requests==2.17.1
requests-oauthlib==1.0.0
requests-toolbelt==0.8.0
rsa==4.0
s3transfer==0.1.13
schedule==0.5.0
scipy==1.1.0
simplejson==3.16.0
six==1.11.0
snowballstemmer==1.2.1
spacy==0.97
Sphinx==1.8.2
sphinxcontrib-websupport==1.1.0
tensorflow==1.12.0
termcolor==1.1.0
testpath==0.4.2
thinc==3.3
toolz==0.9.0
tqdm==4.28.1
traitlets==4.3.2
typing==3.6.6
tzlocal==1.5.1
update-checker==0.16
uritemplate==3.0.0
urllib3==1.21.1
virtualenv==16.1.0
wcwidth==0.1.7
webencodings==0.5.1
werkzeug==0.14.1
wrapt==1.10.11
xmltodict==0.11.0
zope.interface==4.6.0
Note that there are pinned versions in there that are way outdated but this is due to the fact that there are a lot of conflicts in these packages, so you should revise your dependencies and see if all are needed.
I was able to pull this off by using the Poetry's dependency resolver for information.
Thanks for that, I think we can stop here.