---
title: "Discussion on \"python项目打包exe\" | Hashnode"
description: "Discussion on \"python项目打包exe\". 1.创建打包环境\nconda create -n tool python=3.8\n\nconda activate tool\n\n\n\n2.安装项目所需要的库\npip install pandas\n\n# 必须安装pyinstaller打包工具\npip install pyinstaller\n\n\n\n\n出现上面黄色的报错原因是，我在本地挂着VPN，在安装库的过程当中要把VPN关掉\n\n因为我使用的是miniconda所以还要多安装一个库openpyxl\n3.测试项目\n测试项目在创建的conda环境当中已经可..."
url: "https://hashnode.com/posts/pythonexe/68d9f1c2b1e3fc3cd6770172"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [python项目打包exe](https://yangyongbiao.hashnode.dev/pythonexe?utm_source=hashnode&utm_medium=feed)

1.创建打包环境 conda create -n tool python=3.8 conda activate tool 2.安装项目所需要的库 pip install pandas # 必须安装pyinstaller打包工具 pip install pyinstaller 出现上面黄色的报错原因是，我在本地挂着VPN，在安装库的过程当中要把VPN关掉 因为我使用的是miniconda所以还要多安装一个库openpyxl 3.测试项目 测试项目在创建的conda环境当中已经可...

Sep 29, 2025 · 1 min read · yangyongbiao.hashnode.dev  
Read the article

-   [#exe](https://hashnode.com/tag/exe)

## Written by

[MealHunter](https://hashnode.com/@MealHunter)

@MealHunter

  
[View profile](https://hashnode.com/@MealHunter)

Mars collides with Earth

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
