安装 webitor 报错:

  • error: subprocess-exited-with-error
  • error: metadata-generation-failed
PS E:\joinkwang\Documents\appium_Ui> pip install weditor
Collecting weditorUsing cached weditor-0.6.7.tar.gz (2.2 MB)Preparing metadata (setup.py) ... errorerror: subprocess-exited-with-error× python setup.py egg_info did not run successfully.│ exit code: 1╰─> [23 lines of output]WARNING: The wheel package is not available.ERROR:root:Error parsingTraceback (most recent call last):File "c:\users\make\appdata\local\temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\.eggs\pbr-5.11.0-py3.10.egg\pbr\core.py", line 111, in pbrattrs = util.cfg_to_args(path, dist.script_args)File "c:\users\make\appdata\local\temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\.eggs\pbr-5.11.0-py3.10.egg\pbr\util.py", line 272, in cfg_to_argspbr.hooks.setup_hook(config)File "c:\users\make\appdata\local\temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\__init__.py", line 25, in setup_hookmetadata_config.run()File "c:\users\make\appdata\local\temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\base.py", line 27, in runFile "c:\users\make\appdata\local\temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\metadata.py", line 25, in hookself.config['version'] = packaging.get_version(File "c:\users\make\appdata\local\temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\.eggs\pbr-5.11.0-py3.10.egg\pbr\packaging.py", line 862, in get_versionversion = _get_version_from_pkg_metadata(package_name)File "c:\users\make\appdata\local\temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\.eggs\pbr-5.11.0-py3.10.egg\pbr\packaging.py", line 830, in _get_version_from_pkg_metadatapkg_metadata = email.message_from_file(pkg_metadata_file)File "D:\Python\lib\email\__init__.py", line 54, in message_from_filereturn Parser(*args, **kws).parse(fp)File "D:\Python\lib\email\parser.py", line 53, in parseUnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 829: illegal multibyte sequenceerror in setup command: Error parsing C:\Users\make\AppData\Local\Temp\pip-install-l52aei08\weditor_8b6041442bdf48fdbe262087342a14fc\setup.cfg: UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 829: illegal mu
ltibyte sequence[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed× Encountered error while generating package metadata.
╰─> See above for output.note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
PS E:\joinkwang\Documents\appium_Ui> pip install setuptools==50.3.2
Collecting setuptools==50.3.2Downloading setuptools-50.3.2-py3-none-any.whl (785 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 785.2/785.2 kB 670.4 kB/s eta 0:00:00
Installing collected packages: setuptoolsAttempting uninstall: setuptoolsFound existing installation: setuptools 45.2.0Uninstalling setuptools-45.2.0:Successfully uninstalled setuptools-45.2.0
Successfully installed setuptools-50.3.2
PS E:\joinkwang\Documents\appium_Ui> pip install weditor
Collecting weditorUsing cached weditor-0.6.7.tar.gz (2.2 MB)Preparing metadata (setup.py) ... errorerror: subprocess-exited-with-error× python setup.py egg_info did not run successfully.│ exit code: 1╰─> [23 lines of output]WARNING: The wheel package is not available.ERROR:root:Error parsingTraceback (most recent call last):File "c:\users\make\appdata\local\temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\.eggs\pbr-5.11.0-py3.10.egg\pbr\core.py", line 111, in pbrattrs = util.cfg_to_args(path, dist.script_args)File "c:\users\make\appdata\local\temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\.eggs\pbr-5.11.0-py3.10.egg\pbr\util.py", line 272, in cfg_to_argspbr.hooks.setup_hook(config)File "c:\users\make\appdata\local\temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\__init__.py", line 25, in setup_hookmetadata_config.run()File "c:\users\make\appdata\local\temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\base.py", line 27, in runFile "c:\users\make\appdata\local\temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\metadata.py", line 25, in hookself.config['version'] = packaging.get_version(File "c:\users\make\appdata\local\temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\.eggs\pbr-5.11.0-py3.10.egg\pbr\packaging.py", line 862, in get_versionversion = _get_version_from_pkg_metadata(package_name)File "c:\users\make\appdata\local\temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\.eggs\pbr-5.11.0-py3.10.egg\pbr\packaging.py", line 830, in _get_version_from_pkg_metadatapkg_metadata = email.message_from_file(pkg_metadata_file)File "D:\Python\lib\email\__init__.py", line 54, in message_from_filereturn Parser(*args, **kws).parse(fp)File "D:\Python\lib\email\parser.py", line 53, in parsedata = fp.read(8192)UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 829: illegal multibyte sequenceerror in setup command: Error parsing C:\Users\make\AppData\Local\Temp\pip-install-y0_5e8xo\weditor_78821a72f286484ba285e458dfd2bb7c\setup.cfg: UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 829: illegal mu
ltibyte sequence[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed× Encountered error while generating package metadata.
╰─> See above for output.note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

解决 webitor 安装不了的办法:改个版本!

pip install -v weditor==0.6.4 -i https://pypi.douban.com/simple

验证:

PS E:\join\Documents\appium_Ui> weditor --help
usage: weditor [-h] [-v] [-q] [-p PORT] [-f] [--debug] [--shortcut] [--quit]options:-h, --help            show this help message and exit-v, --version         show version (default: False)-q, --quiet           quite mode, no open new browser (default: False)-p PORT, --port PORT  local listen port for weditor (default: 17310)-f, --force-quit      force quit before start (default: False)--debug               open debug mode (default: False)--shortcut            create shortcut in desktop (default: False)--quit                stop weditor (default: False)

error: subprocess-exited-with-error完美解决Weditor安装不了问题相关推荐

  1. phpstudy mysql端口_完美解决phpstudy安装后mysql无法启动(无需删除原数据库,无需更改任何配置,无需更改端口)直接共存...

    今天学习php,当然是要先安装好运行环境了,phpstyudy是一个运行php的集成环境, 一键安装对新手很友好,与时作为一个新手,便跟着教程安装了phpstudy集成环境. 很快安装好了,嗯.对新手 ...

  2. mysql删除端口配置文件_完美解决phpstudy安装后mysql无法启动(无需删除原数据库,无需更改任何配置,无需更改端口)直接共存...

    今天学习php,当然是要先安装好运行环境了,phpstyudy是一个运行php的集成环境, 一键安装对新手很友好,与时作为一个新手,便跟着教程安装了phpstudy集成环境. 很快安装好了,嗯.对新手 ...

  3. 完美解决Macbook安装win 10调节亮度的问题

    如果条件亮度失败,则可以将设备停止后,再启动即可. 完美解决Macbook安装win 10调节亮度的问题 听语音 浏览:8181 | 更新:2017-11-08 17:06 1 2 3 4 5 分步阅 ...

  4. 完美解决MSSQL安装问题“Polybase要求安装Oracle JRE 7更新51(64位)”方案

    阅文时长 | 0.72分钟 字数统计 | 1164.8字符 主要内容 | 1.问题起因及解决方案 2.安装jdk-8u241-windows-x64 3.取消PolyBase查询服务 4.四.声明与参 ...

  5. 【独家】完美解决appium安装app时,需要手动确认安装的问题

    [独家]完美解决appium安装app时,需要手动确认安装的问题 参考文章: (1)[独家]完美解决appium安装app时,需要手动确认安装的问题 (2)https://www.cnblogs.co ...

  6. 虚拟机安装mac注意事项(完美解决虚拟机安装mac的分辨率问题)

    磁盘需要抹掉 分配内存资源大于2G 其中commond + R 键可以使用VM中虚拟机->电源选项->打开电源时进入固件 然后进入boos系统 选择Enter setup-> Boo ...

  7. 【已解决】完美解决 ROS 安装 rosdep update(timed out)报错超时问题

    目录&索引 前言 解决方案 1. 修改 /etc/hosts 文件 2. GitHub Proxy 代理加速 2.1 修改 sources_list.py 文件 2.2 修改 __init__ ...

  8. 完美解决Windows10安装HCL模拟器各种疑难问题!!!

    第一种问题:安装成功后,启动HCL模拟器提示:请检查VirtualBox API是否安装正确"? 这种情况下是由于HCL模拟器与VirtualBox不兼容导致,正常情况下如果你的电脑在安装H ...

  9. 完美解决office安装程序失败提示:错误 1402无法打开键UNKNOWN\Components\xxx

    最近自己的office不知道为什么崩了,然后就需要重新装office,在安装过程中实在是遇到很多问题,比如: 问题1.说找不到Office.zh_cn\officeMUI.mis officemui. ...

最新文章

  1. Spring Boot 整合 Elasticsearch,实现 function score query 权重分查询
  2. 正式环境docker部署hyperf_Hyperf使用docker-compose集群部署
  3. Linux ubuntu 修改终端【普通用户、root用户】命令(命令行)配色(颜色)(命令行自动计数)(/etc/profile)(~/bashrc)(source命令)
  4. 40.Node.js Web 模块
  5. 金蝶BOS开发中Edit编辑界面和List叙事薄界面需要写的代码
  6. HTML+CSS+JS实现 ❤️经典霓虹灯英文字母特效❤️
  7. kk6.0 服务器信息 端口,KK的服务器改了端口以后 为什么我进不去
  8. 基于linux的服务有哪些内容,linux基础(一)服务分类与管理
  9. 互联网运营数据分析(1):流量分析
  10. linux 搜索文件后缀名,Linux -find、文件后缀名
  11. Tkinter教程之Frame篇
  12. 乘法鉴相器的matlab仿真,种用MATLAB仿真锁相环方法.PDF
  13. 《生物化学与分子生物学》----绪论----听课笔记(一)
  14. Keras LSTM教程
  15. Git 学习笔记:6 GitHub
  16. PHP 7.1 新特性
  17. OSI七层网络模型 TCP五层网络模型
  18. 为什么iPhone手机微信信息老是出现延误?原来是这5大原因搞的鬼
  19. python中string和bool的转换
  20. Excel建立股票资产定价模型,寻找最佳投资组合

热门文章

  1. 做人要低调,别把自己太当回事
  2. 【UML】交互图(顺序图、合作图\协作图)
  3. 玩全栈,做自己喜欢做的事,写自己喜欢写的代码
  4. 图像语义分割(3)- Dilated Convolutions
  5. 微信因为图片分享不成功
  6. 校园跑腿/校园任务平台源码
  7. 171-有趣的OpenAI的chatGPT小实验
  8. 从0-1 - 一道Android题目逆向动态调试
  9. sth. about tarjan
  10. NSArray截取元素