deep_learning_cookbook icon indicating copy to clipboard operation
deep_learning_cookbook copied to clipboard

requirements.txt problem --> pyparsing

Open huzunali opened this issue 5 years ago • 2 comments

I am getting the following error when I run "pip install -r requirements.txt"

Ubuntu 18.04 Python 3.6.9

Collecting pyparsing==2.4.1 (from -r requirements.txt (line 98)) Could not find a version that satisfies the requirement pyparsing==2.4.1 (from -r requirements.txt (line 98)) (from versions: 1.4.6, 1.4.7, 1.4.8, 1.4.11, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1.1, 2.4.2a1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6) No matching distribution found for pyparsing==2.4.1 (from -r requirements.txt (line 98))

huzunali avatar Mar 20 '20 22:03 huzunali

Hmm, that combination might not exists.

What you could try it is:

rm requirements.txt
pip install pip-tools
pip-compile
pip install -r requirements.txt

That should recalculate the dependencies.

DOsinga avatar Mar 20 '20 23:03 DOsinga

I actually commented out the 'pyparsing' line in the requirements.txt, and re-ran the command. Everything got installed - including pyparsing (2.4.6)!

On an unrelated note, "https://deeplearning4jblob.blob.core.windows.net/resources/wordvectors/" not working. I am receiving "AccountIsDisabled" error. Instead, I installed word2vec model from "https://s3.amazonaws.com/dl4j-distribution/GoogleNews-vectors-negative300.bin.gz".

You may want to update the code with this.

huzunali avatar Mar 21 '20 00:03 huzunali