HenrikBengtsson / CBI-software

A Scientific Software Stack for HPC (CentOS oriented)
https://wynton.ucsf.edu/hpc/software/software-repositories.html
5 stars 2 forks source link

cutadapt: Specific to Linux distribution #102

Open HenrikBengtsson opened 9 months ago

HenrikBengtsson commented 9 months ago

cutadapt installs a Python virtual environment where python is linked to the Python 3 on the system, which is distro specific, e.g.

$ ls -l /wynton/home/cbi/shared/software/CBI/cutadapt-4.4/venv/bin/python
lrwxrwxrwx. 1 hb cbi 40 Jun 14 04:05 /wynton/home/cbi/shared/software/CBI/cutadapt-4.4/venv/bin/python -> /opt/rh/rh-python38/root/usr/bin/python3
HenrikBengtsson commented 9 months ago

Wow, it's tricky to install cutadapt in a fresh environment. My previous installation assumed I already had set up virtualenv in my personal python installation, and that is Linux distribution specific.

HenrikBengtsson commented 4 days ago

The easiest is to have virtualenv installed centrally, e.g.

$ python3.11 -m virtualenv --version
virtualenv 20.26.3 from /usr/local/lib/python3.11/site-packages/virtualenv/__init__.py