ERROR: Could not find a version that satisfies the requirement kenlm==0.2 code example

Example 1: ERROR: Could not find a version that satisfies the requirement torch===1.4.0

The most likely reason is a 32-bit installation of python, while 
the torch libraries rely on having a 64-bit version. 
Just start python from command line and observe

C:\Users\user>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) 
[MSC v.1916 64 bit (AMD64)] on win32

If it shows 32, then install 64-bit python

Example 2: pip error could not find a version that satisfies the requirement

$ curl https://pypi.org

The requestors Network has been blacklisted due to excessive request volume. 
If you are a hosting customer, please contact your hosting company's support. 
If you are the hosting company, please contact [email protected] to resolve

Tags:

Misc Example