简体   繁体   English

我正在尝试导入这个 simpletransformers 得到了错误

[英]I am trying to import this simpletransformers got the error

from simpletransformers.question_answering import QuestionAnsweringModel

got this attribute error:得到这个属性错误:

AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS' AttributeError:模块 'urllib3.util' 没有属性 'PROTOCOL_TLS'

Using !pip freeze solved the issue使用!pip freeze解决了这个问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我应该如何安装和导入 simpletransformers? - How should I install and import simpletransformers? ModuleNotFoundError,我正在尝试安装 pandas 但我遇到了一些错误 - ModuleNotFoundError, i am trying to install pandas but i got some error 尝试导入keras,但出现错误 - Trying to import keras but got an error 我正在尝试导入破折号 - I am trying to import dash 尝试在Anaconda中导入Tensorflow时出错 - Got an error when trying to import Tensorflow in Anaconda 我是使用 mysql 的新手-当我尝试创建表时,出现以下错误 - I am new to using mysql - as i was trying to create a table i got the error below 我正在尝试将 Google Sign 集成到我的 python、flask web 应用程序中,但出现以下错误 - I am trying to integrate Google Sign into my python, flask web application and i got the following error 我正在尝试在python 3.4中的django中创建一个新项目,并收到以下错误 - i am trying to create a new project in django in python 3.4 and got the error below 我正在尝试训练模型但收到错误消息(ValueError:Shapes (16, 16) and (16, 2) are incompatible) - I am trying to train a model but got an error says (ValueError: Shapes (16, 16) and (16, 2) are incompatible) 我正在尝试使用 Django 测试与 Inspection and Defect 的关系,并在 tests.py 中出错 - I am trying to test a relationship with Inspection and Defect using Django and got an error in tests.py
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM