天宫鹤

上一页 1 ··· 5 6 7 8 9

2022年1月10日

EditPlus中运行Dart程序(*.dart)

摘要: 阅读全文

posted @ 2022-01-10 16:46 GoGrid 阅读(35) 评论(0) 推荐(0) 编辑

2021年12月17日

Android Studio复制模块

摘要: 1.进入“Project”视图2.copy模块、Pastemk3.settings.gradle 中引入 该复制模块,include ':xxxxx'4.选中新模块下的 build.gradle,把 applicationId 修改为自己新模块的名称5.修改res/values/strings.xm 阅读全文

posted @ 2021-12-17 11:48 GoGrid 阅读(200) 评论(0) 推荐(0) 编辑

2021年9月22日

安装最新版qtpandas(1.04)支持PyQt5

摘要: 1.首先安装pandaspip install pandas 2.然后安装qtpandas1) pip install qtpandas #这样安装的版本是1.03,这个版本的qtpandas依赖的是PyQt4 2)安装支持PyQt5的qtpandas的最新版1.04,下载安装包qtpandas-m 阅读全文

posted @ 2021-09-22 08:42 GoGrid 阅读(574) 评论(0) 推荐(0) 编辑

2021年9月18日

成功解决pandas报AttributeError: DataFrame object has no attribute ix错误

摘要: 在实际操作中有时候需要把采集的数据或者分析完的数据保存为excel中,列名按照执行排序,一开始我采用DataFrame的ix方式去实现是可以达到预期的,不过最近发现好像该方法函数被移除了,运行会抛出以下错误: Traceback (most recent call last): File "test 阅读全文

posted @ 2021-09-18 16:38 GoGrid 阅读(2742) 评论(0) 推荐(0) 编辑

2021年9月15日

使用pyecharts时,注意import问题!!!

摘要: 在import的时候, 不能直接from pyechart import Bar, Gauge, 要写为from pyecharts.charts import Bar, Gauge 阅读全文

posted @ 2021-09-15 11:17 GoGrid 阅读(235) 评论(0) 推荐(0) 编辑

2021年9月9日

from PyQt5.QtWebEngineWidgets import *报错,无法使用QWebEngineView控件展示HTML页面

摘要: 解决办法: 单独安装WebEngine,安装命令为:pip install PyQtWebEngine 之后,一切OK! 阅读全文

posted @ 2021-09-09 17:17 GoGrid 阅读(776) 评论(0) 推荐(0) 编辑

2021年9月7日

PyQt5程序报错:QPaintDevice: Cannot destroy paint device that is being painted/Process finished with exit code -1073740791 (0xC0000409)

摘要: QPainter QPainter类在QWidget (控件)上执行绘图操作,它是一个绘制工具,为大部分图形界面提供了高度优化的函数,使QPainter类可以绘制从简单的直线到复杂的饼图等。 绘制操作在QWidget.paintEvent()中完成。绘制方法必须放在QtGui.QPainter对象的 阅读全文

posted @ 2021-09-07 16:50 GoGrid 阅读(1023) 评论(0) 推荐(0) 编辑

2021年9月1日

Python文件(*.py)的第一行语句应该是这行语句,这样可以解决因编码导致的很多编译问题:

摘要: # -*- coding: utf-8 -*- 阅读全文

posted @ 2021-09-01 15:55 GoGrid 阅读(30) 评论(0) 推荐(0) 编辑

2021年8月25日

ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions'解决方案

摘要: 今天在使用pip命令下载模块时出现下面这个错误:ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions'产生这个错误后就无法使用pip命令了。 报错解决解决方案(2021-08 阅读全文

posted @ 2021-08-25 09:11 GoGrid 阅读(1311) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9

导航