module 'pandas' has no attribute ‘XXX’
今天想装pytorch,懒了一下没有建新环境,直接装在了deepchem环境下面,开始了修修补补之路
①pyqt和spyder的恩怨情仇我实在是搞不懂,总之
conda uninstall pyqt
conda install spyder
可以解决
②pandas无情的报错了
module 'pandas' has no attribute 'XXXXXX'
查了一下,说是和dask版本冲突,升级降级一通操作能解决
然而我并没有装过dask啊……kidding me?
卸载重装pandas也不行(还把我的rdkit卸了,招你惹你了)
一通操作都不行,最后
conda install -f pandas
pandas的模块倒是不报错了,现在变成
module 'matplotlib' has no attribute 'artist'
再来一次
conda install -f matplotlib
pandas OK!
③conda install 刚才删pandas被连累的rdkit
我勒个去又给我装pyqt
再来一次①
conda uninstall pyqt 又把matplotlib删了……夭寿啦再也不用conda了……
④import deepchem 提示没有simdna
conda install simdna
⑤总之deepchem是彻底凉了,这就是懒惰的代价……
conda install -c deepchem -c rdkit -c conda-forge -c omnia deepchem=2.1.0
⑥重装完
No module named 'six'
此时我的内心已经崩溃,想要回滚到旧版本
瞅一眼
conda list --revisions >> revisions.txt
然后
conda install --revision 6
CondaRevisionError: Cannot revert to 5, since https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge::matplotlib-3.0.0-2 is not in repodata.
查了半天不知道怎么解决,放弃
头痛医头脚痛医脚吧
conda install six
居然成功了!
deepchem, torch,pandas,spyder……全都OK
行8………………用conda安装就像一个逻辑游戏……一个没有逻辑的人,就只能头痛医头脚痛医脚了
module 'pandas' has no attribute ‘XXX’相关推荐
- 深度学习踩坑系列之一 Error: module 'pandas' has no attribute 'core'
Error: module 'pandas' has no attribute 'core' 解决方法:重装pandas pip uninstall pandas pip install pandas
- AttributeError: partially initialized module ‘pandas‘ has no attribute ‘set_option‘(报错处理)
AttributeError: partially initialized module 'pandas' has no attribute 'set_option' (most likely due ...
- module ‘pandas‘ has no attribute ‘read_csv‘
(博主小白,本贴仅用于个人记录问题,欢迎友好友好友好交流) 问题描述: 在使用pd.read_csv读取.csv文件时,在 data = pd.read_csv("./a.csv" ...
- Python中使用pandas报错“module 'pandas' has no attribute 'ewma'”,问题原因及解决方法
系统报错:module 'pandas' has no attribute 'ewma' 报错语句:pd.ewma(stock_data['close'], span=ma) 解决方式:将语句改为pd ...
- AttributeError: ‘module’ object has no attribute’xxx 问题解决
报错:AttributeError: 'module' object has no attribute'xxx 原来是,你创建的py脚本名字不能与python预留字,模块名等相同.比如包叫abcsat ...
- 【Python 脚本报错】AttributeError: 'module 'yyy' has no attribute 'xxx'的解决方法
先参考这篇记录大概理解了原因, 再深入了解下python的import机制, 发现自己的模块之间存在互相import. 比如,A.py中import B,而B.py中也import A了, 现在执行模 ...
- module ‘tensorflow‘ has no attribute xxx tensorflow版本问题类导致API函数的报错
目录 1. module 'tensorflow' has no attribute 'Session' 2. The Session graph is empty. Add operations t ...
- module ‘open3d‘ has no attribute ‘xxx‘
open3d文档: Open3D: A Modern Library for 3D Data Processing - Open3D 0.13.0 documentationhttp://www.op ...
- python导入自定义模块报attributeerror_Python脚本报错AttributeError: ‘module’ src has no attribute’xxx’解决方法...
在跑论文源码时报出的错误,其中"src"是源码中的一个文件夹,同时是一个包(因为有_init_.py文件)整个项目文件组织如下: 出错的py文件在utils文件夹下,追踪定位出错代 ...
最新文章
- 华为不造车,广汽合作智能驾驶
- 求二叉树指定结点到根的路径c语言,二叉树根节点到叶子结点和为指定值的路径...
- Python高阶函数和函数嵌套
- 微软宣布公开预览Dev Spaces for AKS
- vue组件中嵌套html,vue2.0怎么用组件自定义标签实现组件的嵌套?
- osi7层协议源代码_捍卫开放源代码的17年:立即加入OSI
- linux的O的字体让我满意那些
- [Java集合源码阅读]-ArrayList扩容机制
- 2022最新短视频去水印解析API接口支持各大小程序平台分享
- LTE学习笔记二:扁平化的组网架构
- 路在何方 路在脚下 -- !!
- python executescript_Python(SQLite)executescript用法(
- (ECCV 2022)E-NeRV: Expedite Neural Video Representation with Disentangled Spatial-Temporal Context
- 解决“the security certificate for this site has been revoked.the site should not be trusted.”
- 亚信科技:新业务成高速增长源动力,吹响全栈式数智化转型号角
- Java获取代理地址和端口
- 关于python内置雅虎内置财经接口
- U盘+无媒体+容量0+无法格式化+U盘量产+U盘芯片型号为CBM2099E+使用ChipGenius查看芯片型号
- ppt模板动画效果怎么合并?
- iso认证规则是什么,iso认证项目有哪些?