<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>依赖管理 on 数字花园 | Mlosun.com</title><link>https://mlosun.com/tags/%E4%BE%9D%E8%B5%96%E7%AE%A1%E7%90%86/</link><description>Recent content in 依赖管理 on 数字花园 | Mlosun.com</description><generator>Hugo</generator><language>zh-cn</language><managingEditor>mlosun@qq.com (mlosun)</managingEditor><webMaster>mlosun@qq.com (mlosun)</webMaster><copyright>© 数字花园 | Mlosun.com</copyright><lastBuildDate>Wed, 07 Oct 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://mlosun.com/tags/%E4%BE%9D%E8%B5%96%E7%AE%A1%E7%90%86/index.xml" rel="self" type="application/rss+xml"/><item><title>Python库：pipreqs 生成项目依赖文件</title><link>https://mlosun.com/tech/python/python%E5%BA%93pipreqs-%E7%94%9F%E6%88%90%E9%A1%B9%E7%9B%AE%E4%BE%9D%E8%B5%96%E6%96%87%E4%BB%B6/</link><pubDate>Sun, 27 Oct 2024 00:00:00 +0800</pubDate><author>mlosun@qq.com (mlosun)</author><guid>https://mlosun.com/tech/python/python%E5%BA%93pipreqs-%E7%94%9F%E6%88%90%E9%A1%B9%E7%9B%AE%E4%BE%9D%E8%B5%96%E6%96%87%E4%BB%B6/</guid><description>&lt;p&gt;&lt;code&gt;pipreqs&lt;/code&gt; 是一个 Python 库，它的主要功能是根据项目代码中的 &lt;code&gt;import&lt;/code&gt; 语句自动生成 &lt;code&gt;requirements.txt&lt;/code&gt; 文件。这个文件列出了项目所依赖的第三方库和版本，便于环境的重现和部署。&lt;/p&gt;&#10;&lt;h2 id="安装"&gt;安装&#10;&lt;/h2&gt;&#10;&lt;p&gt;你可以通过以下命令来安装 &lt;code&gt;pipreqs&lt;/code&gt;：&lt;/p&gt;</description></item></channel></rss>