modulenotfounderror module named 39

Plugin 'maven-clean-plugin:3.1.0' not found

解决方案 增加如下代码: <groupId>org.apache.maven.plugins</groupId> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifact ......
maven-clean-plugin Plugin plugin maven clean

python flask 启动报错 'utf-8' codec can't decode byte 0xb2 in position 4: invalid start byte

原因:在python下lib文件夹里的socket.py文件中的name=gethostname()代码执行获取本机电脑名称时,遇到中文导致乱码报错。 解决方法: 1.将电脑“设备名称”中中文改为英文; 2.修改socket.py代码,如下(参考 https://blog.csdn.net/weix ......
byte 39 position invalid python

day 39 素数

1.给出start与end; 2.有数i,遍历start~end中的素数; 3.输出; #include <iostream>#include<cmath> using namespace std; int main(void){ int m,n; int flag; printf("请输入star ......
素数 day 39

Python - matplotlib 不显示中文 && findfont: Font family ['simsun'] not found

# 一.发现问题 python matplotlib.plt 使用 plt.title 写标题时,标题显示为方框,无法正常显示中文,遂开始修复之旅。 ![](https://img2023.cnblogs.com/blog/2864832/202305/2864832-202305261554041 ......
matplotlib amp findfont Python family

x509: cannot validate certificate for xxx because it doesn't contain any IP SANs

项目中有时候需要访问https网站,但如果该网站使用的是自建证书,那client端验证server端证书时,有时候会报错: > x509: cannot validate certificate for xxx because it doesn't contain any IP SANs 碰到这种情 ......
certificate validate because contain cannot

Module '"element-plus"' has no exported member 'ElMessage'

tsconfig.json,tsconfig.app.json,tsconfig.node.json都要加 "compilerOptions.moduleResolution":"node", 然后重启vscode ......
39 quot element-plus ElMessage exported

c++打卡练习(39)

验证2000以内哥德巴赫猜想 2000以内,大于4的所有偶数都可以由两个素数a,b相加得到,求出a最小的那个的结果 流程图: 伪代码: 源代码: #include<iostream>using namespace std;int judge(int a){ int j,k=0; for(j=2;j< ......

dataFrame['col_name'].str.contains(str_name,case=False)用法

#### dataFrame['col_name'].str.contains(str_name,case=False)用法 主要功能:在`dataframe`某一列中找到包含特定字符串的`dataframe` 例如: ![](https://img2023.cnblogs.com/blog/258 ......
name dataFrame str col_name contains

在本地运行spark程序,出现Scala module 2.13.4 requires Jackson Databind version >= 2.13.0 and < 2.14.0 - Found jackson-databind version 2.12.7

这是jackson多版本题 , 我们需要屏蔽所有hadoop 组件中的Jackson,在pom.xml文件里修改: 添加 <exclusions> <exclusion> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>*</a ......

python:Error: EPERM: operation not permitted, mkdir 'F:\Program Files\nodejs\node_global\node_modules'报错

可以发现文件没有权限 npm ERR! Error: EPERM: operation not permitted, mkdir 'F:\Program Files\nodejs\node_global\node_modules' 将nodejs的文件权限改为完全控制 之后操作即可 ......

A Knight's Journey

[ 提交 ] [状态] 题目描述 The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the w ......
Journey Knight 39

Named Return Value Optimization (NRVO)

Named Return Value Optimization (NRVO) 是一种编译器优化技术,可以避免在函数返回时创建临时对象和调用拷贝构造函数。它的条件是函数返回的对象有一个名字,而且和目标对象的类型相同。例如: ```cpp class A { public: A(); A(const A ......
Optimization Return Named Value NRVO

codeforces#1829H.Don't Blame Me(dp)

题解 ``` #include #define io ios::sync_with_stdio(false); #define off cin.tie(0), cout.tie(0); #define all(x) x.begin(),x.end() #define inf 0x3f3f3f3f3f ......
codeforces Blame 1829 Don 39

ModuleNotFoundError: No module named 'Crypto', Python 3.9, PyCharm

https://stackoverflow.com/questions/65389275/modulenotfounderror-no-module-named-crypto-python-3-9-pycharm ......

git 报错:fatal: unable to access 'https://XXXX.../': Failed to connect to github.com port 443 after 21023 ms: Timed out

问题: 下载github开源项目时报错 原因: 以前用过代理,这里取消代理就可以了 git config --global --unset http.proxy 结果: ......
to connect access Failed unable

k8s pod之间DNS解析问题:Temporary failure in name resolution

1.ubuntu 系统重启, k8s 网关需要 # 允许所有数据包通过 iptables -P FORWARD ACCEPT 2.查看coredns是否正常 kubectl get po -n kube-system | grep coredns kubectl get service -n kub ......
resolution Temporary 之间 failure 问题

Linux-find: missing argument to `-exec'

报错提示:find: missing argument to `-exec' 今天写一个清理脚本,用到了find命令。本来是这么写的: find . -type f -mtime +7 -name "*.log" -exec rm -rf {} \ 结果报错,find: missing argume ......
Linux-find argument missing Linux find

IDEA配置jdk(或者IDEA代码报错The SDK is not specified for module)

参考:https://blog.csdn.net/mask_boys/article/details/117385087 今天敲代码时,出现一个错误,那就是The SDK is not specified for module,意思是没有为模块添加SDK,所以会出现如下错误 如何解决这个问题呢: 首 ......
IDEA specified 代码 module jdk

python:Error: EPERM: operation not permitted, mkdir 'F:\Program Files\nodejs\node_global\node_modules'报错

可以发现文件没有权限 npm ERR! Error: EPERM: operation not permitted, mkdir 'F:\Program Files\nodejs\node_global\node_modules' 将nodejs的文件权限改为完全控制 之后操作即可 ......

UE Build System:Target and Module

Module 是构成 Unreal 的基本元素,每一个 Module 封装和实现了一组功能,并且可以供其他的 Module 使用,整个 Unreal Engine 就是靠各个 Module 组合驱动的,连我们创建的游戏项目本身,都是一个单独的 Module。 那么 UE 又是怎么创建和构建这这些 M ......
System Module Target Build and

MYSQL设置密码时显示Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication d

​ 用这个命令进入mysql sudo mysql 在sql命令行输入以下命令回车,你就可以把密码改成mynewpassword ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'mynewpassword ......

MYSQL设置密码时显示Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication d

​ 用这个命令进入mysql sudo mysql 在sql命令行输入以下命令回车,你就可以把密码改成mynewpassword ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'mynewpassword ......

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)

``` org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.sql.SQLException: Access denied for user 'root'@'local ......
39 SQLException localhost password Access

Code39详细介绍

Code39码是条形码的一种,也被称为3 of 9 code、USD-3或者LOGMARS,因为其编制简单、能够对任意长度的数据进行编码、支持设备广泛等特性,所以成为使用最为广泛的条形码格式之一。 Code 39码仅有两种单元宽度——分别为宽单元和窄单元。宽单元的宽度为窄单元的1到3倍,一般多选用2 ......
Code 39

.net6中数据库查询报错:'OFFSET' 附近有语法错误。 在 FETCH 语句中选项 NEXT 的用法无效。

错误语句: 在数据库查询中使用skip() 问题原因: 数据库版本为SQL Server 2008,不支持'Fetch'和'Next'语句 SQL Server 2012及后续版本才支持相关语句 解决方法: 1. 引用包: System.Data.SqlClient和EntityFrameworkC ......
语句 语法 错误 数据库 数据

Git拉取代码报错:Can't Update No tracked branch configured for branch dev or the branch doesn't exist.To make your branch track a remote branch call

错误: 解决方法: 第一步: git pull origin(远程仓库名称) develop(远程分支名称) --allow-unrelated-histories 第二步: git branch --set-upstream-to origin(远程仓库名称)/develop(远程分支名称) de ......
branch configured tracked 代码 Update

open("0.txt",'w') 打开后文件指针在开头,即使不执行写操作,也会清空原内容

f = open('a.txt', 'w+') data = f.read() data = f.readline() w、w+、wb、wb+ 模式都会默认清空文件 file = open("0.txt",'w') file.close() 打开后文件指针在开头,即使不执行写操作,也会清空原内容 ......
quot 指针 开头 文件 内容

SQLServer 报错:用户、组或角色'XXX' 在当前数据库中已存在. 错误:15023解决方法

分析: 将数据库恢复到其他服务器时,数据库中包含一组用户和权限,但可能没有相应的登录或者登录所关联的用户可能不是相同的用户。 这种情况被称为存在“孤立用户”。此时是不能通过新建登录或者是对同名登录授予对应数据库的“用户”权限来解决登录问题, 因为SQLServer会报出“错误15023:当前数据库中 ......
SQLServer 角色 错误 数据库 方法

if __ name __ == ’ __ main __'的意思

案例:编写一个测试模块test.py #!/usr/bin/env python3# -*- coding: utf-8 -*- ' a test module ' def addFunc(a,b): return a+b print('test :1+1的计算结果:',addFunc(1,1)) ......
意思 name main if 39

SpringBoot项目启动失败报错Annotation-specified bean name ‘xx‘ for bean class [xxx] conflicts with existing

Annotation-specified bean name 'datahubServiceImpl' for bean class [com.peony.common.service.impl.DatahubServiceImpl] conflicts with existing, non-com ......