ERROR: ERROR: Could not find a version that matches requirements-txt
See original GitHub issue$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/Users/ghalyahalansari/anaconda3/lib/python3.7/site-packages/pipenv'
Python location: '/Users/ghalyahalansari/anaconda3/bin/python'
Python installations found:
3.7.1:/Users/ghalyahalansari/anaconda3/bin/python33.7.0:/Users/ghalyahalansari/anaconda3/bin/pythonw3.7.0:/usr/local/bin/python33.7.0:/usr/local/bin/python3.7m3.5.5://anaconda/bin/python33.5.4://anaconda/bin/pythonw2.7.15:/usr/local/bin/python2.7.15:/usr/local/bin/pythonw2.7.10:/usr/bin/python2.7.10:/usr/bin/pythonw2.7.10:/usr/bin/python2.7
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.7.1',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '18.2.0',
'platform_system': 'Darwin',
'platform_version': 'Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST '
'2018; root:xnu-4903.241.1~1/RELEASE_X86_64',
'python_full_version': '3.7.1',
'python_version': '3.7',
'sys_platform': 'darwin'}
System environment variables:
TERM_SESSION_IDSSH_AUTH_SOCKApple_PubSub_Socket_RenderCOLORFGBGITERM_PROFILEXPC_FLAGSLANGPWDSHELLTERM_PROGRAM_VERSIONTERM_PROGRAMPATHCOLORTERMTERMHOMETMPDIRUSERXPC_SERVICE_NAMELOGNAME__CF_USER_TEXT_ENCODINGITERM_SESSION_IDSHLVLOLDPWDZSHPAGERLESSLSCOLORSLC_CTYPECONDA_SHLVLCONDA_DEFAULT_ENVCONDA_EXECONDA_PREFIXCONDA_PROMPT_MODIFIERCONDA_PYTHON_EXE_PIP_DISABLE_PIP_VERSION_CHECKPYTHONDONTWRITEBYTECODEPIP_SHIMS_BASE_MODULEPIP_PYTHON_PATHPYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH:/Users/ghalyahalansari/anaconda3/bin:/anaconda3/bin://anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbinSHELL:/bin/zshLANG:en_US.UTF-8PWD:/Users/ghalyahalansari/Development/env11/task_11
Contents of Pipfile (‘/Users/ghalyahalansari/Development/env11/task_11/Pipfile’):
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
certifi = "==2018.4.16"
chardet = "==3.0.4"
defusedxml = "==0.5.0"
django-allauth = "==0.36.0"
django-crispy-forms = "==1.7.2"
idna = "==2.7"
oauthlib = "==2.1.0"
python3-openid = "==3.1.0"
pytz = "==2018.3"
requests = "==2.19.1"
requests-oauthlib = "==1.0.0"
urllib3 = "==1.23"
Django = "==2.0.4"
Pillow = "==6.0.0"
requirements-txt = "*"
[requires]
python_version = "3.7"
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to fix pipenv error: Could not find a version that matches?
2 Answers 2 · remove Pipefile.lock · run pipenv --rm (to remove the pipenv shell I was in) · run pip install pipenv...
Read more >Could not find a version that satisfies the requirement X
The error "Could not find a version that satisfies the requirement" is commonly caused when we try to pip install a built-in Python...
Read more >inveniosoftware/invenio-saml - Gitter
Hint: try $ pipenv lock --pre if it is a pre-release dependency. ERROR: ERROR: Could not find a version that matches invenio-saml No...
Read more >Fix the pip error: Couldn't find a version that satisfies the ...
The package is not present on PyPI server. In this case pip will not work. So you'll have to download and install the...
Read more >Build failed using pipenv - Binder - Jupyter Community Forum
For a reason that I don't understand, I'm unable to build the Binder … ... 'ERROR: Could not find a version that satisfies...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

So i had typed pipenv install requirements.txt instead of pipenv install -r requirements.txt which installed requirements-txt and that does not exist. I simply forgot the -r Flag.
SOLUTION: To fix this i removed the environment.
and deleted the Pipfile and Pipfile.lock from my Workspace. There should be no “requirements-txt = “*”” in your requirements.txt file.
pipenv shell
Hope this helps anyone 😉
I had installed Python 3.7.4 using pyenv and I don’t fully understand the reason but my Pipfile had this line in package list
Removing the 3-7-4 line fixed the issue for me.