Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirements.txt is incorrect #14

Open
glatard opened this issue Jul 15, 2019 · 1 comment
Open

Requirements.txt is incorrect #14

glatard opened this issue Jul 15, 2019 · 1 comment

Comments

@glatard
Copy link
Contributor

glatard commented Jul 15, 2019

For instance:

$ pip install -r requirements.txt 
Collecting sklearn==0.20.3 (from -r requirements.txt (line 1))
  ERROR: Could not find a version that satisfies the requirement sklearn==0.20.3 (from -r requirements.txt (line 1)) (from versions: 0.0)
ERROR: No matching distribution found for sklearn==0.20.3 (from -r requirements.txt (line 1))

requirements.txt should be generated from pip freeze.

@HamidHeyde
Copy link
Contributor

I fixed the "requirements.txt"

I created a virtual environment, and installed all dependencies and then using "pip freeze" i exported the requirements.

After that, (to test the output) i created a new virtual environment and installed the dependencies from requirements.txt using following command and it all got installed.

"pip3 install -r path/to/requirement.txt"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants