安装R包GOstats,出现以下错误:
ERROR: dependency ‘httr’ is not available for package ‘KEGGREST’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/KEGGREST’
ERROR: dependency ‘KEGGREST’ is not available for package ‘AnnotationDbi’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/AnnotationDbi’
ERROR: dependency ‘AnnotationDbi’ is not available for package ‘GO.db’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/GO.db’
ERROR: dependencies ‘AnnotationDbi’, ‘httr’ are not available for package ‘annotate’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/annotate’
ERROR: dependency ‘AnnotationDbi’ is not available for package ‘AnnotationForge’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/AnnotationForge’
ERROR: dependencies ‘annotate’, ‘AnnotationDbi’ are not available for package ‘GSEABase’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/GSEABase’
ERROR: dependencies ‘AnnotationDbi’, ‘annotate’ are not available for package ‘genefilter’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/genefilter’
ERROR: dependencies ‘AnnotationDbi’, ‘GSEABase’, ‘genefilter’, ‘annotate’ are not available for package ‘Category’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/Category’
ERROR: dependencies ‘Category’, ‘AnnotationDbi’, ‘GO.db’, ‘annotate’, ‘AnnotationForge’ are not available for package ‘GOstats’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/GOstats’
尝试安装“httr”
Installing package(s) 'httr'
also installing the dependency ‘openssl’
报错:
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so':
/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so: undefined symbol: EVP_CIPHER_CTX_block_size
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/openssl’
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/httr’
始终解决不了这个bug
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so':
/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so: undefined symbol: EVP_CIPHER_CTX_block_size
使用conda install r-package 进行R包的安装,直接安装GOstats还是不行,
现在尝试把报错的那些附属包先安装上。
使用conda install r-package 或者 在R下使用BiocManager::install("package")
将GOstats中缺少的依赖包全部安装:
1、安装openssl
conda install r-openssl
2、安装httr
conda install r-httr
3、安装KEGGREST,安装失败
conda install r-KEGGREST
4、进入R中进行安装KEGGREST
BiocManager::install("KEGGREST")
5、安装AnnotationDbi
BiocManager::install("AnnotationDbi")
6、安装GO.db
BiocManager::install("GO.db")
7、安装annotate
BiocManager::install("annotate")
依次安装
BiocManager::install("AnnotationForge")
BiocManager::install("GSEABase")
BiocManager::install("genefilter")
BiocManager::install("Category")
BiocManager::install("GOstats")
安装成功!