北语网站app,阳谷网站建设费用,滕州外贸软件公司,工程公司名称系列文章目录 文章目录 系列文章目录前言一、pyinstaller ????????1.报错如下2.安装pyinstaller3.报错如下#xff1a;4.封装py文件为exe成功5.国内源 总结 前言
一、pyinstaller ???
1.报错如下
PS D:\Users\gxcaoty\Desktop\性能覆盖率 pyinstaller37.exe…系列文章目录 文章目录 系列文章目录前言一、pyinstaller ????????1.报错如下2.安装pyinstaller3.报错如下4.封装py文件为exe成功5.国内源 总结 前言
一、pyinstaller ???
1.报错如下
PS D:\Users\gxcaoty\Desktop\性能覆盖率 pyinstaller37.exe -F MTF.py
Fatal error in launcher: Unable to create process using E:\py\python3.7\Python37\python.exe E:\py\python3.7\Python37\Scripts\pyinstaller37.exe -F MTF.py: ???????????2.安装pyinstaller
代码如下示例
python3 -m pip install --upgrade pyinstaller -i https://pypi.mirrors.ustc.edu.cn/simple/3.报错如下
The typing package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Plea E:\py\python3.7\Python37\python3.exe -m pip uninstall typing
then try again.The typing package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Please remove this package (located in E:\py\python3.7\Python37\lib\site-packages) usingE:\py\python3.7\Python37\python3.exe -m pip uninstall typingThe typing package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Please remove this package (located in E:\py\python3.7\Python37\lib\site-packages) usingE:\py\python3.7\Python37\python3.exe -m pip uninstall typing备注python typing’包是一个标准库包的过时的后端与PyInstaller不兼容
The pathlib package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Please remove this package (located in E:\py\python3.7\Python37\lib\site-packages) usingE:\py\python3.7\Python37\python3.exe -m pip uninstall pathlib原因分析 以上安装包与pyinstaller不兼容需移除
python3 -m pip uninstall typing
python3 -m pip uninstall pathlib
……4.封装py文件为exe成功
PS D:\Users\gxcaoty\Desktop\性能覆盖率 pyinstaller.exe -F MTF.py
3164 INFO: PyInstaller: 5.13.2
3164 INFO: Python: 3.7.0
3165 INFO: Platform: Windows-10-10.0.18362-SP0
3182 INFO: wrote D:\Users\gxcaoty\Desktop\性能覆盖率\MTF.spec
3214 INFO: Extending PYTHONPATH with paths
[D:\\Users\\gxcaoty\\Desktop\\性能覆盖率]
10945 INFO: checking Analysis
10945 INFO: Building Analysis because Analysis-00.toc is non existent
10945 INFO: Initializing module dependency graph...
11023 INFO: Caching module graph hooks...
………………5.国内源
1)http://mirrors.aliyun.com/pypi/simple/ 阿里云2)https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学3) http://pypi.douban.com/simple/ 豆瓣4) https://pypi.tuna.tsinghua.edu.cn/simple/ 清华大学总结
分享
原谅可以驱散那些一直萦绕在我们内心的怨气、憎恨、消极态度和抑郁不安这些情绪使我们失去了爱的能力并且破坏了我们内心的平静