python安装环境及打包
安装
- 勾选 Add Python 3.9 to PATH,再点击 Customize installation
- 勾选 Install for all users
- cmd -> python
- com -> pip
安装依赖
pip insstall pandas
打包exe
打包不会打包配置文件及日志目录
pip install pyinstaller
pyinstaller --onefile text.py
pip insstall pandas
打包不会打包配置文件及日志目录
pip install pyinstaller
pyinstaller --onefile text.py