- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 cmake安装
1. cmake是什么CMake 可以编译源代码、制作程序库、产生适配器(wrapper)、还可以用任意的顺序建构执行档。CMake 支持 in-place 建构(二进档和源代码在同一个目录树中)和 out-of-place 建构(二进档在别的目录里),因此可以很容易从同一个源代码目录树中建构出多个二进档。CMake 也支持静态与动态程式库的建构。“CMake”这个名字是“cross platform make”的缩写。虽然名字中含有“make”,但是CMake和Unix上常见的“make”系统是分开的
2021-02-05 11:30:40
229
原创 mysql配置
c盘重置,mysq需要重新配置下cmd进入mysql/bin下>mysql install弹出‘丢失msvcp120.dll’错误安装VC redist packages for x64下载网址:https://www.microsoft.com/en-us/download/confirmation.aspx?id=40784再次执行,提示’Install/Remove of the Service Denied!’使用管理员cmd,执行成功...
2020-12-14 18:41:13
140
原创 redis配置
redis配置下载安装redis进入redis目录文件名简要redis-benchmark.exe基准测试redis-check-aof.exeaofredischeck-dump.exedumpredis-cli.exe客户端redis-server.exe服务器credis.windows.conf配置文件在此目录下打开cmd,输入命令打开服务器>redis-server.exe redis.windows.conf
2020-12-14 17:27:57
111
原创 python路径
python 路径当前文件的路径pwd = os.getcwd()当前文件的父路径father_path=os.path.abspath(os.path.dirname(pwd)+os.path.sep+".")当前文件的前两级目录grader_father=os.path.abspath(os.path.dirname(pwd)+os.path.sep+"..")
2020-11-30 20:42:25
93
原创 conda使用本地文件安装package
conda使用本地文件安装package命令conda install --use-local <包文件名> -n <环境名>举例下载包至本地:pytorch-1.7.0-py3.7_cuda110_cudnn8_0.tar.bz2cd 至包下载目录下执行命令conda install --use-local pytorch-1.7.0-py3.7_cuda110_cudnn8_0.tar.bz2 -n my_env...
2020-11-26 23:15:55
2231
原创 python警告FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated;
问题描述: python运行结果有以下警告:FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.问题原因: python与numpy版本不对应问题解决: 更改numpy版本查询当前python版本:3.6.12conda
2020-11-24 21:43:38
211
原创 坑边小记之特殊字符
JAVA坑之读取文件1.发生情景File file = new File("C:/test.txt");C:/test.txt文件路径正确,但始终无法获得文件2.原因C:/test.txt含有特殊不可见字符: \u202awindows下文件信息->安全标签->复制文件完整路径可能会复制该特殊字符3.解决手动输入字符串可避免输入特殊字符或者排除这个特殊字符S...
2019-05-02 20:14:19
161
原创 2018.10.20 学习内容-未归档
1.一行代码实现ArraryList元素去重list = new ArraryList<>(new HashSet<>(list));2.使用FileWriter写普通文本//读写文本格式文件@Testpublic void test2() throws Exception { //使用FileWrite写文本 File file = new Fil...
2018-10-20 22:50:10
131
XJad2.2解压即用
2018-04-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人