当前位置:网站首页>AttributeError: ‘Version‘ object has no attribute ‘major‘
AttributeError: ‘Version‘ object has no attribute ‘major‘
2022-06-30 09:36:00 【农民小飞侠】
今天在使用paddlenlp的时候出现了下面的问题:
.......
File "/root/anaconda3/lib/python3.7/site-packages/datasets/__init__.py", line 26, in <module>
if version.parse(pyarrow.__version__).major < 6:
AttributeError: 'Version' object has no attribute 'major'
解决方法
pip install packaging==20.9
参考文献
[1].‘Version’ object has no attribute ‘major’. https://github.com/HIT-SCIR/ltp/issues/509
边栏推荐
- 【AGC】构建服务3-认证服务示例
- C語言實現掃雷遊戲,附詳解及完整代碼
- Work notes: SendTo failed errno 22
- Machine learning note 9: prediction model optimization (to prevent under fitting and over fitting problems)
- How do databases go to the enterprise cloud? Click to view the answer
- Oracle cross database replication data table dblink
- 1, 基本配置
- ABAP-时间函数
- Cobbler Automated Deployment
- Add / delete query of topic
猜你喜欢

机械臂速成小指南(五):末端执行器

C语言实现扫雷游戏,附详解及完整代码
![[new book recommendation] cleaning data for effective data science](/img/42/1258694fc55a178a666391669a67ad.png)
[new book recommendation] cleaning data for effective data science
![Train an image classifier demo in pytorch [learning notes]](/img/a5/fc14ee9dda1ec3e17b0ae2bda84d86.png)
Train an image classifier demo in pytorch [learning notes]

机器学习笔记 九:预测模型优化(防止欠拟合和过拟合问题发生)
![[new book recommendation] mongodb performance tuning](/img/2c/e5a814df4412a246c703ca548a4f68.png)
[new book recommendation] mongodb performance tuning

训练一个图像分类器demo in PyTorch【学习笔记】

Cobbler Automated Deployment

Installing Oracle database process in windows2007 on VM

单片机 MCU 固件打包脚本软件
随机推荐
How to reduce the delay in live broadcast in the development of live broadcast source code with goods?
Plan the IT technology route for the new year? Let's learn about Gartner infrastructure hype cycle
正则表达式基础
Eight sorts (I)
Read the difference and connection between hyperfusion and private cloud
utils session&rpc
The present situation and challenge of the infrastructure of Yiwen parsing database
Shell script multi loop experiment
[new book recommendation] mongodb performance tuning
MySQL index and data storage structure foundation
Is the jar package for the project or the project for the jar package
[new book recommendation] cleaning data for effective data science
直播带货源码开发中,如何降低直播中的延迟?
G 代码解释|最重要的 G 代码命令列表
Techtarget: Interpretation of the basic concept of super fusion cloud
将小程序容器技术应用到物联网IoT生态建设中
Brève description du collecteur d'ordures G1
Train an image classifier demo in pytorch [learning notes]
无人机项目跟踪记录八十三---pcb图完成
Dart development skills