SkalskiP / ILearnDeepLearning.py

This repository contains small projects related to Neural Networks and Deep Learning in general. Subjects are closely linekd with articles I publish on Medium. I encourage you both to read as well as to check how the code works in the action.
https://medium.com/@skalskip
MIT License
1.33k stars 466 forks source link

"pkg-resources==0.0.0" error #8

Closed davidsaroff closed 5 years ago

davidsaroff commented 5 years ago

Trying to follow your "hit the ground running"

install all required packages

pip install -r requirements.txt

produces the error

Could not find a version that satisfies the requirement pkg-resources==0.0.0 (from -r requirements.txt (line 54)) (from versions: ) No matching distribution found for pkg-resources==0.0.0 (from -r requirements.txt (line 54))

taking a look at requirements.txt, line 54 in fact indicates a 0.0.0 version for pkg-resources.

SkalskiP commented 5 years ago

Hello. Thank you so much for bringing this bug to my attention. After doing some research I came to the conclusion that this is an error caused by Ubuntu, which gives PIP incorrect data - you can read more about it here and here. It seems that the correct solution in this situation is to supplement this line with requirements.txt - and that's what I did. If this operation causes any further errors I will reopen the issue, but in the meantime I consider the bug resolved.