- 博客(13)
- 收藏
- 关注
原创 start-stop-daemon: unable to set gid to 0 (Operation not permitted)
start-stop-daemon: unable to set gid to 0 (Operation not permitted)
2022-09-09 18:41:30
2191
1
原创 【OSError: [WinError 126] 找不到指定的模块】
百度网盘链接https//pan.baidu.com/s/14WyNBjahxQFamjqibl2rdA。OSError[WinError126]找不到指定的模块。如果还不行,就用360杀毒以后,在重新安装。
2022-07-25 16:36:27
217
原创 ImportError: cannot import name normalize_data_format
1.把keras换成2.2.2版本就好了pip uninstall keraspip install keras==2.2.2pip uninstall tensorflowpip install tensorflow==2.4.1
2022-02-28 18:34:52
717
原创 Ubuntu 18.04更换apt-get源的方法
备份sources.list文件sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak打开sources.list文件sudo gedit /etc/apt/sources.list删除原内容,添加下列内容#清华源 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiversedeb-src https:/.
2021-12-31 14:57:47
1072
原创 wsl实现图形界面显示
1、ubuntu安装安装 VcXsrvsudo apt-get install ubuntu-desktop unity compizconfig-settings-manager2、配置显示方式export DISPLAY=localhost:03、安装ccsmsudo apt install compizconfig-settings-manager4、打开ccsmccsm5、按照图片勾选好了以后,点击close按钮就好了。...
2021-12-29 18:09:32
1241
原创 RemoveError: ‘requests’ is a dependency of conda and cannot be removed from conda’s operating enviro
RemoveError: ‘requests’ is a dependency of conda and cannot be removed from conda’s operating environment.1、conda update conda2、conda update --force conda
2021-12-29 13:53:42
712
原创 用python把一个numpy数组im保存为图像im_save的方法
1、使用tofileim.tofile(im_save)2、使用opencvimport cv2cv2.imwrite(im_save,im)3、使用matplotlibimport matplotlibmatplotlib.image.imsave(im_save,im)4、使用scipy.miscimport scipy.miscscipy.misc.toimage(im, cmin=0.0, cmax=...).save(im_save)scipy.misc.toimage
2021-12-03 14:21:03
4500
原创 Ubuntu18.04版本安装gcc、g++
Ubuntu18.04版本安装gcc、g++① sudo apt-get install aptitude② sudo aptitude install gcc g++输入 gcc --version,输出以下信息,说明已经装好了。③ gcc --versiongcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0Copyright (C) 2017 Free Software Foundation, Inc.This is free software; see th
2021-11-25 14:42:45
1165
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人