velocyto-team / velocyto.py

RNA velocity estimation in Python
http://velocyto.org/velocyto.py/
BSD 2-Clause "Simplified" License
160 stars 83 forks source link

Fail to install velocyto #339

Open FionaMoon opened 2 years ago

FionaMoon commented 2 years ago

Hi, I'm new to python and I met a problem during installation. Can anyone give me some advice? Maybe I should try to install pysam first?

  /xtdisk/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /xtdisk/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
      collect2: error: ld returned 1 exit status
      error: command '/xtdisk/miniconda/bin/x86_64-conda-linux-gnu-cc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pysam

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Thank you inadvance!

hyjforesight commented 2 years ago

run this

conda install numpy scipy cython numba matplotlib scikit-learn h5py click
pip install -U pysam loompy
sudo apt update
sudo apt install build-essential
pip install velocyto