
环境配置
沐雲小哥
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu18.04 安装企业微信
一.Ubuntu18.04安装企业微信 1.安装git工具 sudo apt install wget g++ git 2.安装deepin-wine git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git 切换到下载目录 cd deepin-wine-for-ubuntu 执行安装 sudo ./install.sh 3.下载安装包 http://packages.deepin.com/deepin/pool/non-free原创 2022-05-20 13:53:09 · 3129 阅读 · 1 评论 -
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
解决办法:apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev原创 2021-09-03 14:26:40 · 1171 阅读 · 1 评论 -
linux系统下升级pip
1.下载pip wget https://bootstrap.pypa.io/get-pip.py 2.执行pyrhon脚本 python3 get-pip.py原创 2021-08-10 11:00:46 · 1696 阅读 · 0 评论 -
linux系统中安装opencv-python出现问题的解决办法
安装opencv-python出现错误 ModuleNotFoundError: No module named 'skbuild' 解决办法 pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple scikit-build 但依旧可你报错Problem with the CMake installation, aborting build. CMake executable is cmake 继续安装cmake pip3 install原创 2021-08-10 10:41:58 · 898 阅读 · 0 评论 -
Anaconda创建虚拟环境、下载等指令都不能用的时候
报错情况 $ conda update anaconda-navigator Solving environment: failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<原创 2021-07-27 22:09:03 · 958 阅读 · 0 评论 -
t: error while loading shared libraries: libcudart.so.10.1: cannot open shared object file
解决办法: cp /usr/local/cuda-10.1/lib64/libcudart.so.10.1 /usr/local/lib/libcudart.so.10.0 && ldconfig原创 2021-07-07 21:51:17 · 541 阅读 · 0 评论 -
ubuntu安装git和wget
1. 安装git 首先需要更新updata apt updata && apt full-upgarde apt install git 2. 用git下载代码 举例: git clone https://github.com/AlexeyAB/darknet.git 3. apt 安装依赖 apt 命令 取代的命令 命令的功能 apt install apt-get install 安装软件包 apt remove apt-get remove 移除软件包原创 2021-07-06 18:29:39 · 3031 阅读 · 0 评论 -
Linux下,make时 “/bin/sh: 1: nvcc: not found” 问题解决
1.查路径 cd usr/local 进入cuda-11.1文件夹,查看是否有nvcc文件夹 2. 修改makefile文件里面NVCC 3.重新编译 make clean make 编译成功原创 2021-07-04 16:00:50 · 2137 阅读 · 4 评论 -
国内源的修改 清华源 豆瓣源 阿里源等等
国内常用的源: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学:http://pypi.hustunique.com/ 山东理工大学:http://pypi.sdutlinux.org/ 豆瓣:http://pypi.douban.com/simple/ 如果原创 2021-03-15 14:46:08 · 755 阅读 · 0 评论 -
Conda虚拟环境中使用Jupyter-notebook
使用jupyter notebook阅读别人的ipy文件时,结果无法运行。发现是由于环境中不包含所需的相应模块,即jupyter notebook使用的是conda的base环境,不含相应的包。可以采用以下方法进行解决: 1. 查询本机的所有环境: conda info --envs 2. 进入本机的虚拟环境: conda activate 虚拟环境名称 例如:conda activate pytracking 3.在虚拟环境中安装ipykernel: python -m ipykernel insta原创 2021-03-15 14:40:42 · 670 阅读 · 1 评论 -
Ubuntu18.04系统python2与pytho3切换
**环境:**Ubuntu18.04 Ubuntu18.04自带python2,有时候需要使用pytho3。该如何切换呢? 使用 update-alternatives 操作方法: 建立链接: sudo update-alternatives --install /usr/bin/python python /usr/local/lib/python2.7 100 sudo update-alternatives --install /usr/bin/python python /usr/local/lib原创 2020-07-26 16:29:14 · 187 阅读 · 0 评论 -
Pytorch安装不成功的解决-办法
前提: 配置清华源镜像 方法一: 复制Pytorch官网命令,并将 -c pytorch删除。 -c pytorch是强制从PyTorch官网下载包,配置的清华源就会失效。 #conda install pytorch torchvision cudatoolkit=10.0 -c pytorch 官网源命令 conda install pytorch torchvision cudatoolkit=10.0 方法二: pip install torch===1.4.0+cu100 torchvi原创 2020-07-09 03:48:57 · 6778 阅读 · 3 评论 -
ubuntu 18.04更改国内清华源
1.备份软件软: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2. 替换系统文件下面的内容: echo ``>sources.list #清空内容 sudo gedit /etc/apt/sources.list #编辑文件 3.将source.list文件里的内容换成下面的 # 默认注释了源码镜像以提高 apt u原创 2020-07-09 01:56:25 · 224 阅读 · 0 评论 -
ubantu18.04安装chorme
终端指令以此如下: sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo apt update sudo apt install google-chrome-stable ...原创 2020-06-17 12:13:40 · 141 阅读 · 0 评论 -
conda换源:一键换清华源
下载地址: https://github.com/tuna/oh-my-tuna 配置步骤: 将oh-my-tuna文件放到C:\users\用户名 里 ** 每台电脑的用户名 不一样 然后 Windows + R 输入指令 cmd 进入终端。 终端中输入指令: cd C:\Users\用户名\oh-my-tuna python oh-my-tuna.py 完成操作 如下图所示: ...原创 2020-06-15 14:45:03 · 1854 阅读 · 0 评论 -
安装matplottlib, pandas, opencv, opencv, visdom and tensorboad
前提:必须先配置清华镜像 Install matplottlib, pandas, opencv, opencv, visdom and tensorboad conda install matplotlib pandas pip install opencv-python visdom tb-nightly Install the coco toolkit If you want to use COCO dataset for training, install the coco pytho原创 2020-06-15 14:34:58 · 204 阅读 · 0 评论