Skip to content

tobiassalem/CreativePython

Repository files navigation

Creative Python

Simple experiments with Python, probably the most awesome programming language! ^^

Working with pip

Activate your virtual environment. Install packages listed in the requirements file:

pip install -r requirements.txt

This will work for Mac, Windows, and Linux systems. To get the list of all pip packages in the requirements.txt file (Note: This will overwrite requirements.txt if exist else will create the new one).

pip freeze > requirements.txt

Now to remove one by one:

pip uninstall -r requirements.txt

If we want to remove all at once:

pip uninstall -r requirements.txt -y

If you're working on an existing project that has a requirements.txt file and your environment has diverged, simply replace requirements.txt from the above examples with toberemoved.txt. Then, once you have gone through the steps above, you can use the requirements.txt to update your now clean environment.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages