## 环境的安装 ```bash pip install -i https://mirrors.aliyun.com/pypi/simple/ freegames pyinstaller ``` ## 打包 ```bash pyinstaller --onefile --noconsole snake.py ```