ERROR: Could not find a version that matches requests
See original GitHub issueI ran:
$ mkdir test
$ cd test
$ pipenv install requests
but this caused the following error:
ERROR: ERROR: Could not find a version that matches requests
No versions found
Was https://pypi.org/simple reachable?
I thought this problem is due to proxy, but the following successfully run.
$ pip install requests
Please help me…
$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/home/tamura/.local/lib/python3.5/site-packages/pipenv'
Python location: '/usr/bin/python3'
Python installations found:
3.5.2:/usr/bin/python32.7.12:/usr/bin/python2.73.6.8:/home/tamura/my_path/anaconda3/envs/smiles/bin/python3.7.2:/home/tamura/my_path/anaconda3/bin/python3.7m3.5.2:/usr/bin/python3.5m
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.5.2',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '4.4.0-21-generic',
'platform_system': 'Linux',
'platform_version': '#37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016',
'python_full_version': '3.5.2',
'python_version': '3.5',
'sys_platform': 'linux'}
System environment variables:
https_proxySHLVLBYOBU_ULIMITno_proxyPYTHONDONTWRITEBYTECODESHELL_TYPEIGNOREEOFHOMETERMUNZIPSUPPRESS_BRANCH_TIMEOUT_MESSAGEUPDATE_COMPLETIONS_ON_KEYPRESSLANGBYOBU_TIMELS_COLORSBYOBU_LIGHTUPDATE_PROMPT_ON_KEYPRESSXONSH_AUTOPAIRGTK_IM_MODULEBYOBU_SEDQT_IM_MODULEXONSH_LOGINBYOBU_READLINKLESSOPENBYOBU_DISTROBYOBU_CHARMAPBYOBU_PYTHON_PATHSSH_CLIENThttp_proxyBASH_COMPLETIONSBYOBU_WINDOW_NAMERIGHT_PROMPTZIPINFOINDENTTMUX_PANECONDA_PREFIXGTK_MODULESBYOBU_RUN_DIRTMUXSHELLBYOBU_ACCENTXONSHRC_DEFAULT_CONDA_PATHBYOBU_CONFIG_DIRLOADED_RC_FILESPYTHONFINDER_IGNORE_UNSUPPORTEDNVM_DIRXDG_RUNTIME_DIRBOTTOM_TOOLBARLOGNAMEPIP_PYTHON_PATHCONDA_DEFAULT_ENVVI_MODENVM_CD_FLAGSPIP_SHIMS_BASE_MODULENVM_BINVISUALJUPYTER_PATHPIP_DISABLE_PIP_VERSION_CHECKBYOBU_DATEBYOBU_DARKXDG_SESSION_IDBYOBU_PAGERQT_QPA_PLATFORMTHEMEXONSH_INTERACTIVESSH_CONNECTIONOLDPWDPWDUSERPYTHONPATHBYOBU_BACKENDMAILBYOBU_PREFIXXONSH_VERSIONXMODIFIERSXONSH_SHOW_TRACEBACKXDG_DATA_DIRSSSH_TTYBYOBU_TTYAUTO_CDLESSCLOSECONDA_SHLVLBYOBU_HIGHLIGHTCASE_SENSITIVE_COMPLETIONSDISPLAYCONDA_EXE
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH:/home/tamura/my_path/anaconda3/envs/smiles/bin:/home/tamura/.nvm/versions/node/v11.9.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/tamura/my_path/bin/:/usr/local/cuda/lib64/:/usr/local/cuda/bin/:/home/tamura/my_path/anaconda3/envs/main/bin/:/home/tamura/my_path/bin/:/usr/local/cuda/lib64/:/usr/local/cuda/bin/:/home/tamura/.local/bin:/home/tamura/my_path/anaconda3/binSHELL:/bin/bashLANG:ja_JP.UTF-8PWD:/home/tamura/work/test
Contents of Pipfile (‘/home/tamura/work/test/Pipfile’):
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
requests = "*"
[requires]
python_version = "3.7"
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:17 (4 by maintainers)
Top 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 >5 Quick Tips for Pipenv - Medium
ResolutionFailure: ERROR: ERROR: Could not find a version that matches X you can often fix it by including the —-pre flag in 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 … ... 1.4.3 Requires-Python >=3.8', 'ERROR: Could not find a...
Read more >Frequently Encountered Pipenv Problems - Read the Docs
Make sure you're running the newest Pipenv version first! ☤ Your dependencies could not be resolved¶. Make sure your dependencies actually do resolve....
Read more >Fix broken pipenv in a virtual environment (could not find a ...
You likely have a mismatch in your sub-dependencies. First try clearing your dependency cache with $ pipenv lock –clear, then try the original ......
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

These steps solved similar issue I had recently:
Delete the virtual environment and pipfile(s)
then reinstall project dependencies
$ pipenv install package1 package2 package3Why is this issue closed? This is still an issue on Windows. Are there any fixes for WINDOWS machines? Thanks.