Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

How to use requirements.txt to install all dependencies in a python project

Asked by Ranjana Admin Apr 16, 2021 1.5K views 1 answer
Share

About this question

 I am new to python. Recently I got a project written by python and it requires some installation. I run the below command to install but got an error.


# pip install requirements.txt 
Collecting requirements.txt 
Could not find a version that satisfies the requirement requirements.txt (from versions: ) 
No matching distribution found for requirements.txt
Below is my requirements.txt file:
# cat requirements.txt 
ordereddict==1.1 
argparse==1.2.1 
python-dateutil==2.2 
matplotlib==1.3.1 
nose==1.3.0 
numpy==1.8.0 
pymongo==3.3.0 
psutil>=2.0

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.