报错信息:

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting weditor
Using cachedhttps://pypi.tuna.tsinghua.edu.cn/packages/04/9b/ec6c2b8ab08fecd21d98121e2b91244632d1836669bb9c917ff01406bd1a/wedito
r-0.6.5.tar.gz (2.2 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
WARNING: Ignoring invalid distribution -pencv-python (c:\users\administrator.desktop-3488grn\appdata\roaming\python\python38
site-packages)
WARNING: Ignoring invalid distribution -ip (e:\ziyuanbao\lib\site-packages)
E:\ziyuanbao\lib\site-packages\setuptools\dist.py:738: UserWarning: Usage of dash-separated 'author-email' will not be suppor
ted in future versions. Please use the underscore name 'author_email' instead
warnings.warn(
E:\ziyuanbao\lib\site-packages\setuptools\dist.py:738: UserWarning: Usage of dash-separated 'home-page' will not be supported
in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
E:\ziyuanbao\lib\site-packages\setuptools\dist.py:738: UserWarning: Usage of dash-separated 'description-file' will not be su
pported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
E:\ziyuanbao\lib\site-packages\pkg_resources_init.py:122: PkgResourcesDeprecationWarning: 4.0.0-unsupported is an invalid
version and will not be supported in a future release
warnings.warn(
E:\ziyuanbao\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated.
Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Error parsing
Traceback (most recent call last):
File "c:\users\administrator.desktop-3488grn\appdata\local\temp\pip-install-c_1owwyj\weditor_c837051f5af04a9893def95fbce5da
7e.eggs\pbr-5.8.1-py3.8.egg\pbr\core.py", line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "c:\users\administrator.desktop-3488grn\appdata\local\temp\pip-install-c_1owwyj\weditor_c837051f5af04a9893def95fbce5da
7e.eggs\pbr-5.8.1-py3.8.egg\pbr\util.py", line 272, in cfg_to_args
pbr.hooks.setup_hook(config)
File "c:\users\administrator.desktop-3488grn\appdata\local\temp\pip-install-c_1owwyj\weditor_c837051f5af04a9893def95fbce5da
7e.eggs\pbr-5.8.1-py3.8.egg\pbr\hooks_init.py", line 25, in setup_hook
metadata_config.run()
File "c:\users\administrator.desktop-3488grn\appdata\local\temp\pip-install-c_1owwyj\weditor_c837051f5af04a9893def95fbce5da
7e.eggs\pbr-5.8.1-py3.8.egg\pbr\hooks\base.py", line 27, in run
self.hook()
File "c:\users\administrator.desktop-3488grn\appdata\local\temp\pip-install-c_1owwyj\weditor_c837051f5af04a9893def95fbce5da
7e.eggs\pbr-5.8.1-py3.8.egg\pbr\hooks\metadata.py", line 25, in hook
self.config['version'] = packaging.get_version(
File "c:\users\administrator.desktop-3488grn\appdata\local\temp\pip-install-c_1owwyj\weditor_c837051f5af04a9893def95fbce5da
7e.eggs\pbr-5.8.1-py3.8.egg\pbr\packaging.py", line 860, in get_version
version =get_version_from_pkg_metadata(package_name)
File "c:\users\administrator.desktop-3488grn\appdata\local\temp\pip-install-c_1owwyj\weditor_c837051f5af04a9893def95fbce5da
7e.eggs\pbr-5.8.1-py3.8.egg\pbr\packaging.py", line 828, in get_version_from_pkg_metadata
pkg_metadata = email.message_from_file(pkg_metadata_file)
File "E:\ziyuanbao\lib\email_init.py", line 54, in message_from_file
return Parser(*args, **kws).parse(fp)
File "E:\ziyuanbao\lib\email\parser.py", line 53, in parse
data = fp.read(8192)
UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 825: illegal multibyte sequence
error in setup command: Error parsing C:\Users\Administrator.DESKTOP-3488GRN\AppData\Local\Temp\pip-install-c_1owwyj\weditor
c837051f5af04a9893def95fbce5da7e\setup.cfg: UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 825: illegal multiby
te 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.

解决方法:

git clone https://github.com/openatx/weditor
pip3 install -e weditor

pip install weditor安装出错解决方法相关推荐

  1. npm i -g windows-build-tools安装出错解决方法

    npm i -g windows-build-tools安装出错解决方法 参考文章: (1)npm i -g windows-build-tools安装出错解决方法 (2)https://www.cn ...

  2. Python + selenium 安装问题,pip install selenium失败及解决方法

    最近想要是使用Python 访问下浏览器,网上关于这些东西都很多,Python 安装和 selenium 的下载就不赘述,这里简单总结一下第一次安装Python + selenium中遇到的问题. 1 ...

  3. pip install win32api报错解决方法

    在安装pywinauto模块,导入模块后,提示缺少:win32api 但是在使用pip install安装win32api后,居然报错 错误信息如下: Could not find a version ...

  4. ubuntu14.04源无法更新--jdk安装出错解决方法

    今天真是背...安装了一晚上的源都安装不成功,一直提示校验和有问题. 于是问了其他大神,很多人提供了方法,但都没什么用,后来用以下这种方法解决了问题,因为update不成功导致后面java jdk7安 ...

  5. Silverlight 4 Tools 4安装出错解决方法

    安装Silverlight 4 Tools 4时提示没有适应的VS开发工具,郁闷了很久,之前是通过重装系统,但一直没有找到原因,最近在网上找到了牛人们给出的答案: 我先安装了 VS2010 SP1 , ...

  6. Office2013安装出错解决方法

    安装Office 2013时,出现错误: 问题事件为: OfficeClassicSetup SETUP EXE VERSION:15.0.4420.1017 SETUP DLL NAME:OSETU ...

  7. pip install mysql-connector 安装出错

    一.MySQL Connector/Python 2.2.3 的变化: 之前 mysql 官方说MySQL Connector/Python 是纯python语言写的,但是呢! 这个问题在2.2.3中 ...

  8. Python 技术篇 - pip下载、安装慢解决方法,更改pip数据源实现秒速下载,配置阿里云国内镜像实例演示

    阿里云开源镜像站提供很多国外网站的镜像,我们直接连接国外网站速度很慢,甚至有的根本访问不了,通过镜像网站就可以快速的帮助我们访问到.既然是镜像,里面的资源跟原网站都是一样的. 阿里云开源镜像站 开始 ...

  9. pip install skimage安装skimage库出错的解决办法

    pip install skimage安装skimage库出错的解决办法 安装skimage库出错 pip install skimage 解决办法: pip install scikit-image

  10. pip install skimage安装skimage库出错问题

    目录 pip install skimage安装skimage库出错的解决方案 安装skimage库出错 错误如下: 解决方法如下: pip install skimage安装skimage库出错的解 ...

最新文章

  1. 有了jsRender,妈妈再也不用担心我用jq拼接DOM拼接的一团糟了、页面整齐了、其他伙伴读代码也不那么费劲了...
  2. 重装windows2003遇到的老问题:0X0000007B和显卡驱动安装不上。
  3. 3D中OBJ文件格式详解
  4. 数据仓库与ODS的区别
  5. MySql某一列累计查询
  6. bzoj 3209: 花神的数论题 喵哈哈村的秘境探险(四)
  7. 关于在自己的程序中使用其它窗口的菜单
  8. 类、匿名类、静态、构造、单例
  9. thinkcmf安装教程与目录结构详解 快速上手版
  10. 微信怎么at所有人_微信怎么艾特所有人 微信艾特所有人方法
  11. java开源项目-六个经典的 SpringBoot 练手项目
  12. [BJ2006] 狼抓兔子
  13. 随机森林python反欺诈_携程金融自动化迭代反欺诈模型体系
  14. 最新版Ubuntu新建文档
  15. 2021年校招,最值得加入的互联网公司有哪些?
  16. 初见Laravel框架
  17. 画图取色小工具markman
  18. 分期花呗 账户交易通知:尾号6932客户,您的申请已通过,账户余额38139元,无手续费,点t.cn/Aijsx9vq取款,回T退订。...
  19. 总结吴恩达 ChatGPT Prompt 免费课程
  20. 首都师范大学计算机考研调剂,首都师范大学2018年考研调剂信息公布

热门文章

  1. 数据结构1.1基本概念以及时间复杂度的计算
  2. 【Matter】使用chip tool在ESP32-C3上进行matter开发
  3. 通用技术教师计算机,通用技术教学论文范文
  4. 在输入时验证手机或电话 js
  5. Java项目中Excel百万级别的导入导出
  6. Day1:HTML复习(阿里云版)
  7. app端自动化POM
  8. Solidity中函数有三种装饰器
  9. 你知道几种继承方式?(结尾有彩蛋)
  10. RxJava2 操作符总结