logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Python 报错 Could not find a version that satisfies the requirement (from versions: ) No matching dist

在安装某些依赖包时,Python 出现如下的报错:Could not find a version that satisfies the requirement XXX (from versions: )No matching distribution found for XXX当时没截图,找一张网络上的图:解决方法一:更新pip版本到最新版。(但问题没解决,仍报同样的错)python -m pi

#python#pip
Windows10查看电脑的USB接口是2.0还是3.0

同事要拷贝资料给我,问我电脑的USB接口是2.0还是3.0。之前不知道,在网上查了一下方法。打开电脑的设备管理器 --》通用串行总线控制器。出现了USB 3.0可扩展主机控制器,说明电脑有3.0的接口~...

Pandas 报错ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.an

执行数据比较的时候,pandas出现报错:ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().错误意思是:所选的真值不明确,也就是给的值和作比较的值的类型不同。应该是由于将一个值与多个值或一个列表中的值相比较、匹配,导致的问题...

Python 报错 TypeError: 'type' object is not subscriptable

输入代码,结果出现以下报错:TypeError: 'type' object is not subscriptable翻译成中文就是“类型”对象不可下标。检查报错时的代码:def decapitalize(string):return str[:1].lower() + str[1:]问题产生原因分析:在定义函数的时候,使用的名称是string;而后面调用...

Spark报错It appears that you are attempting to broadcast an RDD or reference an RDD from an action

Spark报错:Exception: It appears that you are attempting to broadcast an RDD or reference an RDD from an action or transformation. RDD transformations and actions can only be invoked by the driver, not..

暂无文章信息