代码改变世界

使用conda pack迁移一个环境到另一台服务器上后,pip install时报错ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'xxx'

2025-02-08 18:11 by 丨o聽乄雨o丨, 阅读(32) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:解决方案: 找到miniconda/envs/my_env/lib/python3.11/site-packages目录下的my_env.egg-link 编辑内部的绝对路径为新服务器的路径。 解决。 阅读全文

amber prep and frcmod transfer to mol2

2024-10-31 16:12 by 丨o聽乄雨o丨, 阅读(13) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:tleap -f oldff/leaprc.ff99SB source leaprc.gaff ATP = loadAMberPrep ATP.prep loadamberparams ATP.frcmod savemol2 atp ATP.mol2 1 quit 阅读全文

clustalo安装

2023-12-16 18:15 by 丨o聽乄雨o丨, 阅读(92) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:./configure --prefix=/hpcfs/fhome/user/Programs/clustal-omega-1.2.4 CFLAGS='-I/hpcfs/fhome/user/Programs/argtable2-13/include' LDFLAGS="-L/hpcfs/fhome 阅读全文

Bio.SeqIO.parse()一次性迭代器

2023-11-10 17:41 by 丨o聽乄雨o丨, 阅读(40) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:Bio.SeqIO.parse()是一次性迭代器,当用下列语句迭代过一次后,再迭代就为空: 1 import Bio 2 filename = "test.fasta" 3 seqs = Bio.SeqIO.parse(filename, "fasta") 4 # 第一次迭代,会正常输出seq id 阅读全文

tensorboard在jupyter中运行报错ip已拒绝连接

2023-11-10 11:15 by 丨o聽乄雨o丨, 阅读(118) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:在服务器中使用tensorboard在jupyter中作图: 1 %load_ext tensorboard 2 %tensorboard --logdir log所在路径(末尾不加/) 这时会报错ip已拒绝连接,解决方法为加入相应ip: 1 %tensorboard --logdir log所在路 阅读全文

ubuntu2004安装Multiwfn

2023-09-06 18:30 by 丨o聽乄雨o丨, 阅读(97) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:安装依赖库: sudo apt install libxm4 libgl1 解压后调整环境变量: #Multiwfn3.8dev export OMP_STACKSIZE=200M ulimit -s unlimited export Multiwfnpath=$Programs/Multiwfn_ 阅读全文

ubuntu2004 sshfs挂载网络目录文件夹

2023-08-30 16:28 by 丨o聽乄雨o丨, 阅读(123) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:1. 安装sshfs sudo apt install sshfs 2. 创建挂载点文件夹 mkdir /mnt/NetDisk 3. 配置sshfs sudo vim /etc/fuse.conf 解除注释user_allow_other 4. 挂载目标目录到挂载点 sshfs -o cache= 阅读全文

rosetta mpi运行错误,libcore.2.so undefined s 的

2023-06-09 09:48 by 丨o聽乄雨o丨, 阅读(145) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:重装的ubuntu2004,分别安装了openmpi4.1.1及openmpi1.6.5后编译mpi版本rosetta,运行rosetta_script.mpi.linuxgccrelease均出现libcore.2.so的报错,猜测是mpi版本问题或者是手动安装的mpi编译时出现的问题。 后面使用 阅读全文

rosetta error: 'StructureID' has not been declared

2023-06-06 16:00 by 丨o聽乄雨o丨, 阅读(57) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:错误的原因为编译器版本太高,解决方法也很简单,到文件 src/protocols/features/FeaturesReporter.fwd.hh 的顶部加入下面这句: 1 #include <cstdint> 阅读全文

docker ubuntu

2023-05-30 15:08 by 丨o聽乄雨o丨, 阅读(47) 阅读, 推荐(0) 推荐, 收藏, 编辑
摘要:基本操作 查看所有镜像: docker images 查看所有容器状态: docker ps -a 开启关闭docker容器: docker start/stop xxxxx(container id/name) 删除docker容器: docker rm xxxxx (container id/n 阅读全文
点击右上角即可分享
微信分享提示