Tutorial Example

Fix pip freeze @ file:// in Python – Python Tutorial

We can use pip freeze to create a requirements.txt to contain all python packages we have installed. Here is the tutorial:

Pip Create requirements.txt and Install Python Packages – Python Tutorial

However, we may find some packages ends with @ file. For example:

How to make all packages end with version?

We can do as follows:

pip list --format=freeze > requirements.txt

Finally, we will find all @ file is missing.