Option in pip freeze operation to exclude version info??
See original GitHub issue- Pip version: Latest
- Python version: 3.5.2, 3.6.0
- Operating system: Android ( via Termux), Ubuntu, Arch Linix, Fedora,
Please add a option in pip freeze to prevent adding of Version info
When running pip freeze
the default output shows all the package names along with the current installed version. Please add a flag like –no-version so that the generated requirements file doesn’t have any version locks for any packages
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Ignore certain packages and their dependencies with pip freeze
Use pipfreezeignore > requirements.txt (in the same folder where ignore_requirements.txt is) so I just get in requirements.txt the installed ...
Read more >pip freeze - pip documentation v22.3.1
Restrict to the specified installation path for listing packages (can be used multiple times). Exclude editable package from output.
Read more >conda install
Conda attempts to install the newest versions of the requested packages. ... To prevent existing packages from updating, use the --freeze-installed option.
Read more >pip install — pip 10.0.0.dev0 documentation
The pip freeze subcommand will record the VCS requirement specifier (referencing a specific commit) if and only if the install is done using...
Read more >Pipenv: A Guide to the New Python Packaging Tool
The typical solution to this problem is to use pip freeze . This command allows you to get exact versions for all 3rd...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s pretty trivial to edit the generated file - On Unix, for example, pipe it through
sed s/=.*//
. What’s the use case here?This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.