sr320 / ceabigr

Workshop on genomic data integration with a emphasis on epigenetic data (FHL 2022)
4 stars 2 forks source link

install numpy for python3 in raven #35

Closed jarcasariego closed 2 years ago

jarcasariego commented 2 years ago

@kubu4 is it possible to get numpy installed in raven?

github-actions[bot] commented 2 years ago

We all like issues! And you just posted your first to CEABiGR - congrats!.

kubu4 commented 2 years ago

The simplest means to do so is to download and install Anaconda for Linux:

wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh

Run that script:

bash Anaconda3-2021.11-Linux-x86_64.sh

Follow instructions (I think you want to answer "yes" to all questions).

After install, run:

conda install numpy

kubu4 commented 2 years ago

Alternatively, I've just attempted to make a conda install for all users on Raven. To activate a conda environment, run:

eval "$(/opt/anaconda/anaconda3/bin/conda shell.bash hook)"

This should change your shell prompt to look like this (it'll have your username instead of sam):

(base) sam@raven:

Then, you should be able to run:

conda install numpy

And, then you should be able to use numpy, as long as conda is active.

jarcasariego commented 2 years ago

done! Thanks @kubu4

kubu4 commented 2 years ago

Out of curiosity, which approach did you use?

jarcasariego commented 2 years ago

the second one.