Linux
剑圣开大跑
不想写简述
展开
-
error while loading shared libraries: libcudart.so.9.1: cannot open shared object file: No such file
sudo cp /usr/local/cuda-9.1/lib64/libcudart.so.9.1 /usr/local/lib/libcudart.so.9.1 && sudo ldconfig sudo cp /usr/local/cuda-9.1/lib64/libcublas.so.9.1 /usr/local/lib/libcublas.so.9.1 &&...原创 2018-05-04 20:35:24 · 5453 阅读 · 1 评论 -
Ubuntu18.04 安装后应该做的事(更新中)
Ubuntu18.04 安装后应该做的事1.更新源找到Software & Updates,将源更新为阿里云的源 在Other Software里将Canonical Partners勾上。 然后自己手动更新一下:sudo apt updatesudo apt upgrade2.Sougou Pinyinsudo apt-get insta...原创 2018-05-13 15:31:26 · 114744 阅读 · 17 评论 -
Ubuntu Matlab the button of “log in” and "get more apps" can't work
Ubuntu 上的matlab的登录按钮和获取其他程序按钮失效,解决方案。按照官网的说法,matlab自身的libglib-2.0.so代替了ubuntu本身的文件,我们只需要替换掉就可以。cd /usr/local/MATLAB/R2018a/cefclient/sys/os/glnxa64sudo mkdir excludesudo mv libglib-2.0.so* exc...原创 2018-05-22 12:41:12 · 304 阅读 · 0 评论 -
Linux 文件批量转码
linux系统里提供的文件转化编码的命令iconv,例如:iconv -t utf-8 -f gb2312 -c test.xml > text_UTF8.xml-f 源编码 -t 目标编码 -c 忽略无法转换的字符如果想批量转换,只需要执行如下两行命令即可:find folder -type d -exec mkdir -p utf/{} \;find ...转载 2018-05-22 14:17:40 · 1198 阅读 · 0 评论 -
virtualenv setuptools pkg_resources pip wheel failed with error code 2
使用virtualenv创建虚拟环境报错 error code 2本人准备使用virtualenv创建一个tensorflow环境,一直报错,晚上各种博客各种找没解决问题。然后找到方法如下:sudo apt-get install python3-pip python3-dev python-virtualenv # for Python 3.nvirtualenv --system...原创 2018-05-16 19:48:58 · 11650 阅读 · 4 评论 -
deepin wechat 中文乱码解决方案 Ubuntu18.04
解决方案一、当Ubuntu18.04(Linux)为非中文状态时gedit /opt/deepinwine/tools/run.sh找到WINE_CMD修改为:WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"解决方案二、使用通用字体微软雅黑**备注:最好在实行方案一后,再实行方案二,同时实行,双管齐下 **1、修改字体下载字体msyh.ttc...原创 2019-08-31 01:15:30 · 23166 阅读 · 33 评论