How do I install all packages in a text file?

Asked 2 years ago, Updated 2 years ago, 106 views

You are about to install all the packages that you originally had in your virtual environment. Save the package list to requirements.txt as follows.

requirements.txt:

BeautifulSoup==3.2.0
Django==1.3
...

bin/virtualenv testing

You create a new virtual environment with and install the packages in requirements.txt as shown below It seemed to be installed properly, but nothing is actually installed.

Installation method: source bin/activate pip install -r /path/to/requirements.txt -f file:///path/to/archive/

Statement displayed at the time of installation:

Downloading/unpacking Fabric==1.2.0 (from -r ../testing/requirements.txt (line 3))
  Running setup.py egg_info for package Fabric
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no files found matching 'fabfile.py'
Downloading/unpacking South==0.7.3 (from -r ../testing/requirements.txt (line 8))
  Running setup.py egg_info for package South

python virtualenv pip

2022-09-22 22:28

1 Answers

How to install packages in a text file:


2022-09-22 22:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.