本家様 https://gitlab.com/gedebs371/protofilament-refinement

export PYENV_ROOT=/apps/pyenv
export PATH=$PYENV_ROOT/bin:$PATH
eval "$(pyenv init - --no-rehash)"
export PATH=$PYENV_ROOT/versions/anaconda3-5.3.1/bin/:$PATH
[root@c ~]# cd /apps
[root@c apps]# git clone https://gitlab.com/gedebs371/protofilament-refinement.git
[root@c apps]# cd protofilament-refinement.git
 
[root@c protofilament-refinement]# 
[root@c protofilament-refinement]# cat environment.yml
name: pf_refinement
dependencies:
    - python=2.7
    - pip
    - cycler
    - mpi4py
    - matplotlib
    - numpy
    - pandas
    - olefile
    - Pillow
    - pyparsing
    - python-dateutil
    - scipy
    - six
    - pytz
    - tqdm
    - pip:
            - mrcfile
 
[root@c protofilament-refinement]# conda env create -f environment.yml
 
[root@c protofilament-refinement]# source activate pf_refinement
(pf_refinement) [root@c protofilament-refinement]# which python
/apps/pyenv/versions/anaconda3-5.3.1/envs/pf_refinement/bin/python
 
(pf_refinement) [root@c protofilament-refinement]# python setup.py install

EnvironmentModules

「/etc/modulefiles/pf_refinement」として

#%Module -*- tcl -*-
##
set          root       /apps/pyenv/versions/anaconda3-5.3.1/envs/pf_refinement
prepend-path PATH       $root/bin
 
unsetenv PYTHONPATH

トップ   編集 添付 複製 名前変更     ヘルプ   最終更新のRSS
Last-modified: 2021-11-29 (月) 02:42:50 (53d)