user8531240
user8531240

Reputation:

Double requirement error when installing requirements.txt

I was trying to install requirements for package : I opened console and went to path with downloaded package & entered pip install -r requirements.txt, but error was given back:

ERROR: Double requirement given: numpy==1.17.3 (from -r requirements.txt (line 36)) (already in numpy==1.16.2 (from -r requirements.txt (line 2)), name='numpy')

I was trying to enter pip install -r requirements.txt --isolated but it didn't helped me.

What should I do to aviod such an error?

Upvotes: 1

Views: 1935

Answers (1)

xkcdjerry
xkcdjerry

Reputation: 983

It isn't your fault,they included numpy twice in the requirements.txt file. You can try to delete one of the lines (36/2). Or you can contact the devlopers to fix this bug.

Upvotes: 5

Related Questions