安装命令

  1. # -i指定下载地址,此处采用清华大学镜像
  2. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package pyinstaller

错误信息

  1. ERROR: Complete output from command 'C:\Users\依风\AppData\Local\Programs\Python\Python37\python.exe' 'C:\Users\依风\AppData\Local\Programs\Python\Python37\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\依风\AppData\Local\Temp\tmp1kb5w73z':
  2. ERROR: running dist_info
  3. creating C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info
  4. writing C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO
  5. writing dependency_links to C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.txt
  6. writing entry points to C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt
  7. writing requirements to C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt
  8. writing top-level names to C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt
  9. writing manifest file 'C:\Users\依风\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
  10. reading manifest file 'C:\Users\依风\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
  11. reading manifest template 'MANIFEST.in'
  12. Error in sitecustomize; set PYTHONVERBOSE for traceback:
  13. SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xd2 in position 0: invalid continuation byte (sitecustomize.py, line 7)
  14. no previously-included directories found matching 'bootloader\build'
  15. no previously-included directories found matching 'bootloader\.waf-*'
  16. no previously-included directories found matching 'bootloader\.waf3-*'
  17. no previously-included directories found matching 'bootloader\waf-*'
  18. no previously-included directories found matching 'bootloader\waf3-*'
  19. no previously-included directories found matching 'bootloader\_sdks'
  20. no previously-included directories found matching 'bootloader\.vagrant'
  21. warning: no previously-included files found matching 'bootloader\.lock-waf*'
  22. no previously-included directories found matching 'doc\source'
  23. no previously-included directories found matching 'doc\_build'
  24. warning: no previously-included files matching '*.tmp' found under directory 'doc'
  25. warning: no files found matching 'news\_template.rst'
  26. no previously-included directories found matching 'news'
  27. no previously-included directories found matching 'old'
  28. no previously-included directories found matching 'scripts'
  29. no previously-included directories found matching 'tests\scripts'
  30. no previously-included directories found matching '.github'
  31. warning: no previously-included files found matching '.*'
  32. warning: no previously-included files found matching '*.yml'
  33. warning: no previously-included files found matching '*~'
  34. warning: no previously-included files found matching '.directory'
  35. writing manifest file 'C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
  36. creating 'C:\Users\依\AppData\Local\Temp\pip-install-oejownhr\pyinstaller\pip-wheel-metadata\PyInstaller.dist-info'
  37. error: invalid command 'bdist_wheel'
  38. ----------------------------------------
  39. ERROR: Command "'C:\Users\依\AppData\Local\Programs\Python\Python37\python.exe' 'C:\Users\依\AppData\Local\Programs\Python\Python37\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\依\AppData\Local\Temp\tmp1kb5w73z'" failed with error code 1 in C:\Users\依风\AppData\Local\Temp\pip-install-oejownhr\pyinstaller

解决方案

  1. pip install -U setuptools # 更新工具
  2. pip install pywin32 #可能是缺少pywin32,如果没有安装将其安装
  3. pip install wheel #可能是缺少wheel,如果没有安装将其安装

安装pystaller的更多相关文章

  1. docker——容器安装tomcat

    写在前面: 继续docker的学习,学习了docker的基本常用命令之后,我在docker上安装jdk,tomcat两个基本的java web工具,这里对操作流程记录一下. 软件准备: 1.jdk-7 ...

  2. 网络原因导致 npm 软件包 node-sass / gulp-sass 安装失败的处理办法

    如果你正在构建一个基于 gulp 的前端自动化开发环境,那么极有可能会用到 gulp-sass ,由于网络原因你可能会安装失败,因为安装过程中部分细节会到亚马逊云服务器上获取文件.本文主要讨论在不变更 ...

  3. Sublime Text3安装JsHint

    介绍 Sublime Text3使用jshint依赖Nodejs,SublimeLinter和Sublimelinter-jshint. NodeJs的安装省略. 安装SublimeLinter Su ...

  4. Fabio 安装和简单使用

    Fabio(Go 语言):https://github.com/eBay/fabio Fabio 是一个快速.现代.zero-conf 负载均衡 HTTP(S) 路由器,用于部署 Consul 管理的 ...

  5. gentoo 安装

    加载完光驱后 1进行ping命令查看网络是否通畅 2设置硬盘的标识为GPT(主要用于64位且启动模式为UEFI,还有一个是MBR,主要用于32位且启动模式为bois) parted -a optima ...

  6. Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级

    Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级 环境:OEL 5.7 + Oracle 10.2.0.5 RAC 5.安装Database软件 5. ...

  7. Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part1:准备工作

    Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part1:准备工作 环境:OEL 5.7 + Oracle 10.2.0.5 RAC 1.实施前准备工作 1.1 服务器安装操 ...

  8. 【原】nodejs全局安装和本地安装的区别

    来微信支付有2年多了,从2年前的互联网模式转变为O2O模式,主要的场景是跟线下的商户去打交道,不像以往的互联网模式,有产品经理提需求,我们帮忙去解决问题. 转型后是这样的,团队成员更多需要去寻找业务的 ...

  9. tLinux 2.2下安装Mono 4.8

    Tlinux2.2发行版基于CentOS 7.2.1511研发而成,内核版本与Tlinux2.0发行版保持完全一致,更加稳定,并保持对Tlinux2.0的完全兼容.Mono 4版本要求CentOS 7 ...

随机推荐

  1. Go 框架学习之旅 ① 深入解析 net/http 启动服务的层级逻辑

    Web Server. net/http 标准库怎么学. 库函数. 结构定义. 结构函数. 思维导图解析HTTP服务端. 层级逻辑. 创建框架的Server结构. OSI参考模型. TCP/IP五层模 ...

  2. 腾讯云服务器ssh登录老是自动断开链接的解决办法

    vim /etc/ssh/sshd_config 找到下面两行 #ClientAliveInterval 0 #ClientAliveCountMax 3 去掉注释,改成 ClientAliveInt ...

  3. 2021.11.11 EXKMP

    2021.11.11 EXKMP https://www.luogu.com.cn/problem/P5410 下标以1开头: #include<cstdio> #include<i ...

  4. 基于pgrouting的路径规划处理

    对于GIS业务来说,路径规划是非常基础的一个业务,一般公司如果处理,都会直接选择调用已经成熟的第三方的接口,比如高德.百度等.当然其实路径规划的算法非常多,像比较著名的Dijkstra.A*算法等.当 ...

  5. k8s面试1-27

    目录 1.k8s常用命令有哪些? 2.报错查看各种日志方法? 3.k8s的组建有哪些? 4.k8s中安全机制是什么? 5.常用的控制器有哪些? 6.service类型有哪些? 7.ingress-Ng ...

  6. 一种O(n)时间复杂度的计数排序算法和Top N热词算法

    排序算法是研究非常广泛且超级经典的算法,主流排序算法的时间复杂度基本都在O(nlogn). 今天就介绍一种以hash表为基础的,时间复杂度能够达到O(n)的排序算法--计数排序: 同时基于它的思想,完 ...

  7. VMware虚拟机中安装Linux操作系统(ubuntu)

    一.准备工作: 1.下载VMware虚拟机 下载地址:https://www.vmware.com/cn/products/workstation-pro/workstation-pro-evalua ...

  8. UML类图六种关系的总结

    在UML类图中,常见的有以下几种关系: 泛化(Generalization):继承的关系,实线带三角形箭头,指向父类. 实现(Realization):实现的关系,虚线带三角形箭头,指向接口. 关联( ...

  9. 主管发话:一周搞不定用友U8 ERP跨业务数据分析,明天就可以“毕业”了

    随着月末来临,又到了汇报总结的时刻. (图片来自网络) 到了这个特殊时期,你的老板就一定想要查看企业整体的运转情况.销售业绩.客户实况分析.客户活跃度.Top10 sales. 产品情况.订单处理情况 ...

  10. [KDTree]数列

    NKOJ传送门 describtion 给你一个序列,每个序列有编号(它本身的位置),标识符,数值. 有4种操作 op=0:l,r,x,y将编号在[l,r]的数值x+y op=1:l,r,x,y将标识 ...