Skip to content

how to install pip3 -r requirements.txt in a bash file #8

Description

@MJ-One

sudo pip3 install virtualenv
cd /home/ec2-user/app
virtualenv environment
source environment/bin/activate
sudo pip3 freeze > requirements.txt
sudo pip3 install -r requirements.txt

this is the code i have written in a bash file and i get the error like no file names requirements.txt found. What should i do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions