bioFAM / MOFA2

Multi-Omics Factor Analysis
https://biofam.github.io/MOFA2/
GNU Lesser General Public License v3.0
300 stars 52 forks source link

Found conflicts with python and glibc? please help #122

Open HeenaBioinfo opened 1 year ago

HeenaBioinfo commented 1 year ago

MOFAobject.trained <- run_mofa(MOFAobject, use_basilisk = TRUE, outfile = "/space/multilayer_prediction_model/results/heena/mofaTrained-20230411-SBStop_22RNASeq.hdf5") Connecting to the mofapy2 package using basilisk. Set 'use_basilisk' to FALSE if you prefer to manually set the python binary using 'reticulate'. sh: 4: /home/heena/anaconda3/envs/blm_heena/etc/conda/deactivate.d/deactivate-r-base.sh: [[: not found

  • '/home/heena/.cache/R/basilisk/1.6.0/0/bin/conda' 'create' '--yes' '--prefix' '/home/heena/.cache/R/basilisk/1.6.0/MOFA2/1.4.0/mofa_env' 'python=3.7.7' '--quiet' '-c' 'conda-forge' Collecting package metadata (current_repodata.json): ...working... done Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): ...working... done

Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package glibc conflicts for: @/linux-64::glibc==2.35=0 python=3.7.7 -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17'] Note that strict channel priority may have removed packages required for satisfiability.

Error: Error creating conda environment '/home/heena/.cache/R/basilisk/1.6.0/MOFA2/1.4.0/mofa_env' [exit code 1]

Do you have any idea what causes this error?

use_basilisk = FALSE - also have same error:

reticulate::py_config() python: /home/heena/anaconda3/envs/blm_heena/bin/python libpython: /home/heena/anaconda3/envs/blm_heena/lib/libpython3.10.so pythonhome: /home/heena/anaconda3/envs/blm_heena:/home/heena/anaconda3/envs/blm_heena version: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:23:14) [GCC 10.4.0] numpy: /home/heena/anaconda3/envs/blm_heena/lib/python3.10/site-packages/numpy numpy_version: 1.24.2 mofapy2: /home/heena/anaconda3/envs/blm_heena/lib/python3.10/site-packages/mofapy2