美文网首页
Python使用过程中报错集锦

Python使用过程中报错集锦

作者: yytester | 来源:发表于2020-03-11 08:30 被阅读0次

pip相关

从自己搭的源下载flask-wtf时,提示ERROR: Cannot unpack file /private/var/folders/89/t90wx2gs44dbv4_sx6vdj2mw0000gn/T/pip-unpack-gmrl3v_9/simple.htm (downloaded from /private/var/folders/89/t90wx2gs44dbv4_sx6vdj2mw0000gn/T/pip-req-build-5znzrjo3, content-type: text/html); cannot detect archive format ERROR: Cannot determine archive format of /private/var/folders/89/t90wx2gs44dbv4_sx6vdj2mw0000gn/T/pip-req-build-5znzrjo3

解决: 安装命令由-i改为--index-url :
pip3 install --index-url http://xx.xx.xx.xx:8081/repository/my_group/simple flask-wtf --trusted-host xx.xx.xx.xx


websocket相关

提示: ImportError: cannot import name 'create_connection' from 'websocket'
原因: 在使用create_connection之前要安装 websocket_client
解决: pip install websocket_client


相关文章

  • 【python】收藏链接

    python requests 报错解决集锦

  • Python使用过程中报错集锦

    pip相关 从自己搭的源下载flask-wtf时,提示ERROR: Cannot unpack file /pri...

  • Python 报错集锦

    1.Python3 报错AttributeError: module 'enum' has no attribut...

  • python报错集锦

    No module named 'tqdm.auto'pip3 install -U tqdm No module...

  • 报错集锦

    module 'pandas' has no attribute 'computation' or 'expres...

  • 报错集锦

    问题一: 解决: 问题二: 解决: 问题三: 解决: 问题四: 解决: 问题五: 解决:

  • 报错集锦

    1 WXSS文件编译错误 在控制台输入openVendor(); 然后会跳转到开发工具所在目录,删除掉一下两个文件

  • 报错集锦

    1、列的数目比列的名字要多 分析原因:表头列数小于实际列数。如下图 修改方法:读取的时候去掉表头 还有一种原因说是...

  • Java学习笔记之Class.forName()

    使用过程中一直报错,Unhandled exception type ClassNotFoundException...

  • Python 项目实践目录

    Python编程从入门到实践 Python项目开发案例集锦 GitHub链接:https://github.com...

网友评论

      本文标题:Python使用过程中报错集锦

      本文链接:https://www.haomeiwen.com/subject/ggyfjhtx.html