0

I am a beginner in python. I have done a website using django, flask, xml, wtforms and also i have used some API python modules too. The website was successfully created and working well in local machine.

But if i want to run in an another python available machine, i am in the need of install all my above mentioned modules manually.

Do we have something similar to gradle, maven or ant which will download/install the required modules during my first run?

Kindly help me.

1

1 Answer 1

1

One way is to freeze your current local python installations into a requirements.txt file and then install everything in one go in another machine.

$ pip freeze > requirements.txt

copy the requirements file into another machine, install python and then ...

$ pip install -r requirements.txt
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.