06 2022 档案

摘要:安装conda:https://zhuanlan.zhihu.com/p/459607806 安装rdkit:conda install -c conda-forge rdkit 安装chemprop:pip install -i https://pypi.tuna.tsinghua.edu.cn/ 阅读全文
posted @ 2022-06-13 13:42 一只小羊 阅读(485) 评论(0) 推荐(0)
摘要:mv /etc/apt/sources.list /etc/apt/sources.list.bakecho "deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free" >> /etc/apt/sources.listec 阅读全文
posted @ 2022-06-12 22:53 一只小羊 阅读(78) 评论(0) 推荐(0)
摘要:报错:UnicodeEncodeError: ‘ascii' codec can't encode characters in position 24-25: ordinal not in range(128) 1、使用locale查看服务器的编码 LANG=LANGUAGE=LC_CTYPE="P 阅读全文
posted @ 2022-06-12 22:41 一只小羊 阅读(323) 评论(0) 推荐(0)
摘要:1、下载 Anaconda 进入 Ubuntu,自己新建下载路径,输入以下命令开始下载 wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2021.11-Linux-x86_64.sh 2、安装 Anaconda 阅读全文
posted @ 2022-06-11 13:50 一只小羊 阅读(1307) 评论(0) 推荐(0)
摘要:1、linux里查看gpu的显卡使用状态 nvidia-smi 2、使用指定的gpu运行 linux指令:CUDA_VISIBLE_DEVICES=7 xxx python文件:os.environ["CUDA_VISIBLE_DEVICES"] = "7" 阅读全文
posted @ 2022-06-10 11:00 一只小羊 阅读(61) 评论(0) 推荐(0)
摘要:使用pip freeze > requirements时,不会生成Django==2.2.5,而是Django @ file:///tmp/build/80754af9/django_1613762073373/work; 使用pip list --format=freeze > requireme 阅读全文
posted @ 2022-06-02 10:26 一只小羊 阅读(102) 评论(0) 推荐(0)