dillard edi 39

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager......

pip install -r requirements.txt 报错"WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system ......

MySQL连接失败解决方法can't connect to local MySQL server through socket '/tmp/mysql.sock'(111)

【报错信息】 can't connect to local MySQL server through socket '/tmp/mysql.sock'(111) 【问题描述】 新服务器上安装MySQL后无法正常启动,提示连接失败。 【问题分析】 出现这个问题主要是mysql配置错误,找不到mysql ......
MySQL 39 connect through 方法

How to use Linux command or Python code get Raspberry PI's Temperature All In One

How to use Linux command or Python code get Raspberry PI's Temperature All In One 如何使用 Linux 命令或 Python 代码获取 Raspberry PI 的温度 ......
Temperature Raspberry command Python Linux

java泛型'T'与'?'基本知识

结论:'T'指的是某一类具体的对象,'?'可以表示成占位符,表明多种数据类型; 示例:可以看到show1方法中我们使用了T,大家都知道这是泛型的常见写法,那么这里的T指的是某一类具体的对象,list集合里只能存放同一类型数据,如果插入不同类型数据则会报错。那么show2方法中我们使用的是?,可以看到 ......
39 基本知识 知识 java

[ERROR] [MY-012263] [InnoDB] The Auto-extending innodb_system data file './ibdata1' is of a different sizethan specified in the .cnf file: initial 65536 pages, max 0 (relevant if non-zero) pages!

实际my.cnf发现里面的innodb_data_file_path = ibdata1:1G:autoextend 设置得太大,我这机器容量小,所以调到12M , innodb_data_file_path = ibdata1:12M:autoextend ......

[Warning] World-writable config file '/etc/my.cnf' is ignored

告警信息,全局读写配置文件,那么就把权限调整小。 ......

无法解析符号 'Date'

在程序运行的过程中无法导入,请关闭程序后正在导入 ......
符号 39 Date

运行pycharm报错ModuleNotFoundError: No module named 'psutil'

解决办法: psutil库要和电脑的python版本还有系统匹配才可以,我个人是不建议直接用pycharm的插件库来安装第三方包的,他是直接用pycharm安装所以不成功,我去官网下载了匹配他系统的版本再安装就成功了 1、upgrade进行升级 ......

django-datatable-view==0.9.0 Django 3.1.3: ImportError:无法导入名称'FieldDoesNotExist‘

问题答案来自于:https://cloud.tencent.com/developer/ask/sof/891274源码: from django.db.models.fields import FieldDoesNotExist 替换: from django.core.exceptions im ......

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts

报错原因: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the f ......
dependency the currently behaviour conflicts

'hello'.split('e')[::-1] # ['llo', 'h']

'hello'.split('e')[::-1] # ['llo', 'h'] lst = [1,2,3] lst.append(4,5) # append() takes exactly one argument (2 given) a = 2 ; b = 3 print(eval('a*b')) ......
39 hello split llo

关于Kubernetes-v1.23.6-初始化时报错[kubelet-check] It seems like the kubelet isn't running or healthy

笔者今天在对k8s,v1.23.6版本的的master节点使用如下命令进行初始化时 [root@k8s-master qq-5201351]# kubeadm init \ > --apiserver-advertise-address 192.18.106.87 \ > --image-repos ......

TypeError: 'numpy.float64' object cannot be interpreted as an integer

报错内容: Traceback (most recent call last): File "C:\Users\xuan\.conda\envs\pytorch1-6\lib\site-packages\scipy\sparse\_sputils.py", line 225, in isintlik ......
interpreted TypeError integer cannot object

onclick="document.location.hash='form';return false;"

onclick="document.location.hash='form';return false;" 这是一个JavaScript代码段,它绑定了一个单击事件(onclick)到某个HTML元素上,当该元素被单击时,它会将当前页面的哈希值(hash)设置为 "form",并返回 false,以 ......
quot amp document location onclick

Error: <path> attribute d: Expected arc flag ('0' or '1'), "…a6.226 6.226 0 vhb bvg gvfb011.…".

Error: attribute d: Expected arc flag ('0' or '1'), "…a6.226 6.226 0 vhb bvg gvfb011.…". 这是一个SVG(可缩放矢量图形)中元素的错误消息。在SVG中,元素用于定义形状的轮廓,通常使用一个或多个路径命令来描述路径 ......
39 quot 226 attribute Expected

使用nacos配置,启动服务时一直报 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. APPLICATION FAILED TO START

报错日志如下: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.-2023-05-05 09:46:02.328 [TID ......

浅谈(0,eval)('window')

浅谈(0,eval)('window') 最近研究qiankun 源码,在import-html-entry 包中看到这个,一脸懵,研究了一下,记录一下。参考了这篇博客 这个干啥用的 // 通过这种方式获取全局 window,因为 script 也是在全局作用域下运行的,所以我们通过 window. ......
window eval 39

AttributeError: module 'dgl.function' has no attribute 'copy_src'

报错: AttributeError: module 'dgl.function' has no attribute 'copy_src' 错误解析: copy_src(来源,输出)使用源节点功能计算消息的内置消息函数。 这个函数在包里面没有,本应该是有这个功能函数的 解决方法: 自己构造一个对应的 ......

The plugin distribution bundles IDE packages 'com.intellij.uiDesigner.core',

错误描述: The plugin distribution bundles IDE packages 'com.intellij.uiDesigner.core', 'com.intellij.uiDesigner'. Bundling IDE packages is considered bad ......

日程报告39

代码时间(包括上课):6h 代码量(行):0 博客数(篇):1 今天在课堂上了解到preparestatement和statement的区别 preparestatement 可以接受参数,例如新增数据的SQL语句中新增内容可以用?代替 但是statement中SQL语句中新增内容需要用具体内容,注 ......
日程 报告

mysql8.0 使用navicat报caching_sha2_password' cannot be loaded解决方法

安装 8.0版本的mysql后,使用navicat连接时,报caching_sha2_password' cannot be loaded的异常。 原因为:8.0版本的mysq用户密码加密方式为caching_sha2_password,navicat暂不支持,需要修改下mysql的加密方式。 解决 ......
caching_sha password caching navicat 方法

mv: cannot move '/usr/local/lib/R/site-library/00LOCK-Biobase/00new/Biobase' to '/usr/local/lib/R/site-library/Biobase': Permission denied

01、安装Biobase 包的时候遇到如下问题 mv: cannot move '/usr/local/lib/R/site-library/00LOCK-Biobase/00new/Biobase' to '/usr/local/lib/R/site-library/Biobase': Permi ......
Biobase site-library library local 39

VeriSilicon's Vivante® Neural Network Processor (NPU) IP

高度可扩展、可编程的计算机视觉和人工智能处理器 芯原Vivante的神经网络处理器 (NPU) IP是高度可扩展、可编程的计算机视觉和人工智能处理器,支持终端、边缘端及云端设备的人工智能运算升级。Vivante NPU IP可满足多种芯片尺寸和功耗预算,是具成本效益的优质神经网络加速引擎解决方案。 ......
VeriSilicon Processor Network Vivante Neural

Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and no embedded data

导入一个新的springboot maven项目启动一直报这个错,查出来的答案都说是加注解把数据库扫描给排除掉,这种方式其实有点鸵鸟,项目原先是没问题的,现在导入到自己的环境启动不起来,那肯定是不能去改动代码的。 排查了一遍,发现是项目中的resources文件没有指定成资源文件,所以找不到数据库的 ......

npm命令报错:error Unexpected token '.'; error A complete log of this run can be found in:

如果你的npm报错是这样的 error Unexpected token '.' error A complete log of this run can be found in: 并且你你尝试过了网上各种方法不得行。那么会不会是管控版本vnm的问题呢? 弄了一早上不得行;最后尝试了下nvm版本。 ......
error Unexpected complete 命令 found

Access to XMLHttpRequest at 'file:///xxx/%C3%A7%C2%9C' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes:

Access to XMLHttpRequest at 'file:///xxx/%C3%A7%C2%9C' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported fo ......
origin 39 XMLHttpRequest supported requests

Java关于Resource leak: 'sc' is never closed的问题

问题:编写Java时出现了Resource leak: 'sc' is never closed的问题,也就是对象sc下面的波浪线产生的警告,鼠标放上去之后就可以知道详情。 原因:Scanner sc = new Scanner(System.in)申明了名为s的数据输入扫描仪(Scanner),系 ......
Resource closed 问题 never Java

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 2198: invalid start byte

这个错误通常出现在使用 utf-8 编码解码包含非法字节(invalid byte sequence)的字符串时。 在 utf-8 编码中,每个字符的编码用一个或多个字节表示,如果字节序列不符合 utf-8 编码规则,则会引发 UnicodeDecodeError 异常。 要解决这个问题,可以尝试使 ......
UnicodeDecodeError byte 39 position invalid

sed -i 's/^ko://' eggnog.KO.raw.txt

这个命令是在linux系统中运行的sed命令,用于编辑文件 eggnog.ko.raw.txt,其中的-i选项表示直接修改原文件。该命令匹配每一行的开始位置(^)后面跟着"ko:"字符串的内容,并将其替换为空字符串,即删除该字符串。 在宏基因组分析过程中,可能需要对原始数据文件进行预处理和清洗,比如 ......
eggnog 39 sed raw txt

fatal: unable to access 'xxx': Failed to connect to 127.0.0.1 port xxx: Connection refused

Git 拉取Gitee仓库报错:“fatal: unable to access 'xxx': Failed to connect to 127.0.0.1 port xxx: Connection refused” 之前使用了代理导致git访问错乱 1.本地查看是否Git使用了代理 git con ......
Connection xxx to connect refused