美文网首页
Python建立虚拟环境并编译打包

Python建立虚拟环境并编译打包

作者: Armlinux | 来源:发表于2022-10-27 13:57 被阅读0次

最后再复习一下正确流程 (前提是安装好pipenv):

建立虚拟环境

pipenv install

进入虚拟环境(上一步可省略,因为没有虚拟环境的话会自动建立一个)

pipenv shell

安装模块

pip install requests pyquery pysimplegui fake_useragent

打包的模块也要安装

pip install pyinstaller

开始打包

pyinstaller -Fw E:\test\url_crawler.py

相关文章

网友评论

      本文标题:Python建立虚拟环境并编译打包

      本文链接:https://www.haomeiwen.com/subject/fksttdtx.html