今天想装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’相关推荐

  1. 深度学习踩坑系列之一 Error: module 'pandas' has no attribute 'core'

    Error: module 'pandas' has no attribute 'core' 解决方法:重装pandas pip uninstall pandas pip install pandas

  2. AttributeError: partially initialized module ‘pandas‘ has no attribute ‘set_option‘(报错处理)

    AttributeError: partially initialized module 'pandas' has no attribute 'set_option' (most likely due ...

  3. module ‘pandas‘ has no attribute ‘read_csv‘

    (博主小白,本贴仅用于个人记录问题,欢迎友好友好友好交流) 问题描述: 在使用pd.read_csv读取.csv文件时,在 data = pd.read_csv("./a.csv" ...

  4. Python中使用pandas报错“module 'pandas' has no attribute 'ewma'”,问题原因及解决方法

    系统报错:module 'pandas' has no attribute 'ewma' 报错语句:pd.ewma(stock_data['close'], span=ma) 解决方式:将语句改为pd ...

  5. AttributeError: ‘module’ object has no attribute’xxx 问题解决

    报错:AttributeError: 'module' object has no attribute'xxx 原来是,你创建的py脚本名字不能与python预留字,模块名等相同.比如包叫abcsat ...

  6. 【Python 脚本报错】AttributeError: 'module 'yyy' has no attribute 'xxx'的解决方法

    先参考这篇记录大概理解了原因, 再深入了解下python的import机制, 发现自己的模块之间存在互相import. 比如,A.py中import B,而B.py中也import A了, 现在执行模 ...

  7. module ‘tensorflow‘ has no attribute xxx tensorflow版本问题类导致API函数的报错

    目录 1. module 'tensorflow' has no attribute 'Session' 2. The Session graph is empty. Add operations t ...

  8. module ‘open3d‘ has no attribute ‘xxx‘

    open3d文档: Open3D: A Modern Library for 3D Data Processing - Open3D 0.13.0 documentationhttp://www.op ...

  9. python导入自定义模块报attributeerror_Python脚本报错AttributeError: ‘module’ src has no attribute’xxx’解决方法...

    在跑论文源码时报出的错误,其中"src"是源码中的一个文件夹,同时是一个包(因为有_init_.py文件)整个项目文件组织如下: 出错的py文件在utils文件夹下,追踪定位出错代 ...

最新文章

  1. 华为不造车,广汽合作智能驾驶
  2. 求二叉树指定结点到根的路径c语言,二叉树根节点到叶子结点和为指定值的路径...
  3. Python高阶函数和函数嵌套
  4. 微软宣布公开预览Dev Spaces for AKS
  5. vue组件中嵌套html,vue2.0怎么用组件自定义标签实现组件的嵌套?
  6. osi7层协议源代码_捍卫开放源代码的17年:立即加入OSI
  7. linux的O的字体让我满意那些
  8. [Java集合源码阅读]-ArrayList扩容机制
  9. 2022最新短视频去水印解析API接口支持各大小程序平台分享
  10. LTE学习笔记二:扁平化的组网架构
  11. 路在何方 路在脚下 -- !!
  12. python executescript_Python(SQLite)executescript用法(
  13. (ECCV 2022)E-NeRV: Expedite Neural Video Representation with Disentangled Spatial-Temporal Context
  14. 解决“the security certificate for this site has been revoked.the site should not be trusted.”
  15. 亚信科技:新业务成高速增长源动力,吹响全栈式数智化转型号角
  16. Java获取代理地址和端口
  17. 关于python内置雅虎内置财经接口
  18. U盘+无媒体+容量0+无法格式化+U盘量产+U盘芯片型号为CBM2099E+使用ChipGenius查看芯片型号
  19. ppt模板动画效果怎么合并?
  20. iso认证规则是什么,iso认证项目有哪些?

热门文章

  1. Linux程序编译的过程
  2. 使用python的scapy库,提供一个发送nbns询问包的一个示例代码
  3. [NOP404]网站入口
  4. rtklib三之relpos rtkpo庖丁解牛
  5. 一文了解WebSocket(实战)----python篇
  6. 追赶法求解方程组备忘
  7. IDEA从零到精通(37)之导入IDEA开发的web项目
  8. 微信小程序常用CSS总结
  9. 信息技术c语言试题及答案,信息技术基础测试题及参考答案
  10. 搭建Exchange 2010