cannot find usr bin

Linux:/bin/bash^M: bad interpreter: No such file or directory

因为脚本文件使用windos编辑的。 在editplus进行一下转换。双击下面的地方 ......
interpreter directory Linux bash file

mac上的find与gnu find

linux上用的find属于gnu find,如果是查找当前路径是可以省略`.`的,只需要`find -name "xxx"` 而mac上自带的find是bsd find,`.`不可以省略,否则会报错`/usr/bin/find: illegal option -- n` 可以手动安装 https: ......
find mac gnu

报错:java.lang.String cannot be cast to java.time.LocalDateTime(2022-06-28T01:53:41.000+00:00 转换成 yyyy-MM-dd HH:mm:ss格式)

时间字符串如下:2023-09-12T16:00:00.000+00:00 错误代码: LocalDateTime orderTime1 = (LocalDateTime) o1.get("create_time"); 解决办法: (1)、先转换成yyyy-MM-dd HH:mm:ss格式 Stri ......
java LocalDateTime yyyy-MM-dd 格式 String

Caused by: oracle. jdbc. OracleDatabaseException: 0RA-01653: 表USR 5.T, APP LOG无法通过8192 (在表空间T_DAG_D中)扩展

原因是表空间不足,从而导致导入表数据失败 思路: 1,查看当前使用的表空间 2,使用命令增加当前表空间 select file_name,tablespace_name from dba_data_files alter tablespace T_DAG_Dadd datafile 'D:\APP\ ......

.Net Core Or ABP 使用PgSQL迁移时Invalid Cast Exception: Cannot write DateTime with Kind=Local to PostgreSQL

解决方法 添加忽略:AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true); using Acme.BookStore.EntityFrameworkCore; using System; using Volo.Abp.A ......
PostgreSQL Exception DateTime Invalid Cannot

Cannot deserialize value of type `com.xx.xxxx` from Array value (token `JsonToken.START_ARRAY`)<LF> at [Source: (PushbackInputStream); line: 1, column: 1177] (through reference chain

点击提交按钮的时候,直接服务器端报上面的错,意思是json不能解析。 因为程序中用到了递归,就是自己引用了自己(实体类)。 原因: 实体类中children定义的是对象的形式,但是前端定义的是数组[]的形式。 解决: 前端改成对象形式,{},这样前后端一致就可以正常传值了。 上面children赋值 ......

class-dump使用报错 Cannot find offset for address 0x88000000010af973 in stringAtAddress:

从链接https://github.com/AloneMonkey/MonkeyDev/blob/master/bin/class-dump中重新下载class-dump拖入到路径:/usr/local/bin ......

Xcode & cocoapods错误:File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a解决方法

问题描述: 引入了一个新的cocoapods依赖之后,启动运行,显示Fail,报错File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/li ......

【Python&GIS】GDAL、OGR报错ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db

解决gdal、ogr报错信息:         ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db         ERROR 1: PROJ: proj_identify: Cannot find proj.db       ... ......

解决命令行提示“cannot create temp file for here-document: No space left on device”但磁盘使用率并未满的问题

问题如题,出现“cannot create temp file for here-document: No space left on device”,且部分应用出现故障,比如重启后Docker容器无法启动 先使用 df -h 检查磁盘使用率,显示使用率50%还不到 继续排查,使用 lsof | g ......

[LeetCode] 2433. Find The Original Array of Prefix Xor

You are given an integer array pref of size n. Find and return the array arr of size n that satisfies: pref[i] = arr[0] ^ arr[1] ^ ... ^ arr[i]. Note ......
LeetCode Original Prefix Array 2433

SpringBoot项目报java.lang.IllegalStateException: Cannot load configuration class: com.imooc.demo.DemoApplication

报错摘要: java.lang.IllegalStateException: Cannot load configuration class: com.imooc.demo.DemoApplication, Caused by: java.lang.ExceptionInInitializerErr ......

Linux 安装 fd , 替代 find 命令

# 【一】引言 - 今天给大家推荐一个好用+开源的文件搜索工具 ![](https://img2023.cnblogs.com/blog/2322215/202309/2322215-20230904163025799-36045769.png) - fd 支持大多数主流操作系统,快来更新你的工具箱 ......
命令 Linux find fd

删除文件报错rm: cannot remove `auditcommand.log': Operation not permitted

删除文件报错 [root@db1 log]# rm -rf auditcommand.log rm: cannot remove `auditcommand.log': Operation not permitted lsattr查看属性 [root@db1 log]# rm -rf auditco ......

LOOKUP函数和FIND函数套用实例

LOOKUP函数和FIND函数套用,主要是通过LOOKUP函数的查找区域是模糊查找,找到小于或等于查找值的最大值,且忽略错误数据,再用0除以FIND函数查找到的结果数组,使其成为一组包含0和错误值的数组。这样LOOKUP函数查找值只需要比0大或者等于0都能够匹配到FIND函数找到的那行数据,然后通过 ......
函数 实例 LOOKUP FIND

idea 创建maven项目出现 Cannot resolve plugin org.apache.maven.plugins:maven-jar-plugin:3.3.0

idea 创建maven项目出现 Cannot resolve plugin org.apache.maven.plugins:maven-jar-plugin:3.3.0 如下图所示: ![image](https://img2023.cnblogs.com/blog/3233016/202309 ......

解决Ubuntu 安装出现E: Sub-process /usr/bin/dpkg returned an error code (1)异常(轮子)

cd /var/lib/dpkg/ sudo mv info/ info.bak # 现将info文件夹更名 sudo mkdir info # 再新建一个新的info文件夹 sudo apt-get update # 更新 sudo apt-get -f install # 修复 sudo mv ......
轮子 Sub-process returned process Ubuntu

configure: error: Can't find GL/gl.h. Look for Mesa devel packages for your distro.

1. 安装文件查询工具 sudo apt install plocate 2. 查询头文件地址,shell命令: locate GL/gl.h 3. 为编译时指定其他的头文件查询地址: export CPLUS_INCLUDE_PATH=/usr/include ......
configure for packages distro error

OGG_Linux_x64_BigData启动ggsci时报错:error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory

问题描述: [root@hadoop03 ggs]$ ./ggsci ./ggsci: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory ......
shared file OGG_Linux_x directory libraries

python 安装虚拟环境报错:source venv/bin/activate

python激活虚拟环境env报错:no such file or directory: env/Scripts/activate解决方案 一、问题描述 搭建接口自动化测试平台时执行一下命令激活虚拟环境报错: source env/Scripts/activate 二、出现原因 报错原因:因为pyt ......
activate 环境 python source venv

class-dump无法复制到系统目录usr/bin目录下

第一步,打开Terminal,输入mkdir ~/bin,在当前用户根目录下创建一个bin目录; 命令: mkdir ~/bin 第二步,把class-dump给拷贝到这个目录里,并赋予其可执行权限; 命令一: mv /.../class-dump ~/bin (/.../class-dump是指的 ......
目录 class-dump 系统 class dump

使用 Docker 部署的 MySQL 启动失败 su: warning: cannot change directory to /nonexistent: No such file or directory

# 使用 Docker 部署的 MySQL 启动失败 报错:su: warning: cannot change directory to /nonexistent: No such file or directory 这种错误一般是 mysql 服务器异常关机导致的[2],解决方案如下: ```s ......
directory nonexistent warning Docker cannot

Mybatis Plus报错: can not find lambda cache...

使用mybatisplus 时使用Lambda 表达式做查询条件会遇到mybatis拿不到缓存问题: > 错误1:com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: can not find lambda cache for ......
Mybatis lambda cache Plus find

numpy转pillow图像报错TypeError: Cannot handle this data type: (1, 1, 134), <f4 TypeError: Cannot handle this data type:

报错TypeError: Cannot handle this data type: (1, 1, 134), <f4,我猜你很可能是在将array数据转换成图片,使用的是函数 Image.fromarray() 而这个函数处理的是uint8类型,所以你可以使用: print(image.dtype ......
TypeError Cannot handle data this

实用指令_搜索查找类_find_locate_grep

##### 搜索查找类 ###### find指令 find指令将从指定目录向下递归遍历各个子目录,将满足条件的文件或者目录显示在终端。 - 基本语法 ~~~shell find [搜索范围] [选项] ~~~ | 选项 | 功能 | | | | | -name | 按照指定的文件名查找模式查找文件 ......
find_locate_grep 指令 locate find grep

运行命令出现错误 /bin/bash^M: bad interpreter: No such file or directory

在系统上运行一个 Linux 的命令的时候出现下面的错误信息: -bash: ./build.sh: /bin/bash^M: bad interpreter: No such file or directory 这个是在 Windows 作为 WSL 的时候出的错误。 原因和解决 出现问题的原因在 ......
interpreter directory 命令 错误 bash

Cannot read property 'clearValidate' of undefined

Cannot read property 'clearValidate' of undefined ![](https://img2023.cnblogs.com/blog/1119068/202308/1119068-20230827143618946-1052389559.png) 这个错误是因 ......
clearValidate undefined property Cannot 39

报错ValueError: Can't find 'adapter_config.json'

# 前言 在做组内2030项目时,我具体做的一个工作是对大模型进行LoRA微调,在整个过程中有许多坑,其中有些值得记录的问题,于是便产生了这篇博客。 # 问题 我在得到微调好的模型后,需要对模型进行性能测评。在加载模型时,遇到如下报错 ``` ValueError: Can't find 'adap ......
adapter_config ValueError 39 adapter config

主从复制环境下的安全选项、及错误:ERROR 1418 (HY000):log_bin_trust_function_creators

【防止mysql例程的 “不确定性” 造成数据主从不一致】 SET GLOBAL log_bin_trust_function_creators = 1; -- do somethine ... SET GLOBAL log_bin_trust_function_creators = 0; --默认 ......

Java maven 工程报错:cannot be read or is not a valid ZIP file

原因:这个报错,其实jar包是个异常的jar。我是通过maven下载的后缀.lastupdate,然后我就直接把.lastupdate改成了.jar。 但是其实这个并不是实际意义上的jar包。 解决办法:找到匹配的jar包替换掉这个无效的jar包就可以了 ......
cannot 工程 maven valid Java