今天想装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. python 信号模块 signal
  3. WPF MVVM模式下的无阻塞刷新
  4. 非关系型数据库mongodb的打开与连接
  5. php实现购物车 redis,redis 哈希数据类型简单操作(实现购物车案例)
  6. Springboot整合netty实战
  7. mysql实现不同电脑间局域网连接
  8. iOS自定义UITableViewRowAction
  9. 主干光缆线路的组网结构
  10. 考研政治——刷题看课流程
  11. react二级路由配置正确不显示页面的问题解决
  12. 解决u盘图标显示异常
  13. 车载诊断数据库ODX——初步了解ODX
  14. rk3288芯片简介
  15. USB_HID协议基础
  16. MySQL环境变量的配置mysqldump环境变量的配置
  17. 暑期项目实训——08
  18. JAVA钓鱼游戏_5个小时写一个扑克牌游戏——金钩钓鱼
  19. brat报错:The server encountered a serious error, please contact the administrators at ____ and give th
  20. 苏州大学应用技术学院计算机二级,苏州大学应用技术学院怎么样_苏州大学一本与二本有什么差别...

热门文章

  1. 大数据技术原理与应用——NoSQL数据库
  2. C语言面试准备(基础知识)
  3. 机器学习实例matlab,【学习】Matlab14个机器学习实例
  4. 人工智能会影响测试工程师吗
  5. Flume实时采集mysql数据到kafka中并输出
  6. Java笔记——11.房屋出租系统
  7. 中点Bresenham画圆算法|MFC|计算机图形学
  8. iDTronic推出紧凑型桌面RFID读卡器,适用于门禁控制、考勤及会员注册应用
  9. 泛型委托Action和一些常见用法
  10. Ubuntu系统中安装maven详细教程