Blastermaster2.0: Difference between revisions
Jump to navigation
Jump to search
m (asdf) |
m (asdf) |
||
Line 19: | Line 19: | ||
== 1. activate environment == | == 1. activate environment == | ||
bash | bash | ||
source $ | |||
source /nfs/home/isknight/.poetry/env | |||
export PATH="/nfs/home/isknight/.pyenv/bin:$PATH" | |||
eval "$(pyenv init -)" | |||
export PATH="/nfs/home/isknight/.poetry/bin:$PATH" | |||
export PYENV_ROOT="/nfs/home/isknight/.pyenv" | |||
export PATH="$PYENV_ROOT/bin:$PATH" | |||
eval "$(pyenv init --path)" | |||
~isknight/.pyenv/bin/pyenv local 3.8.5 | |||
cd to the directory where you install poetry. | |||
poetry install | |||
cd to the working directory | |||
then we can start to run blaster master | |||
== 4. == | == 4. == |
Revision as of 21:57, 4 March 2022
first time
0. use centos7 e.g. gimel5
1. install poetry
background info here:
https://python-poetry.org/docs/
command here:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
2. set up pyenv
~isknight/.pyenv/bin/pyenv install 3.8.5
every time
0. use centos7 e.g. gimel5
1. activate environment
bash source /nfs/home/isknight/.poetry/env
export PATH="/nfs/home/isknight/.pyenv/bin:$PATH" eval "$(pyenv init -)"
export PATH="/nfs/home/isknight/.poetry/bin:$PATH" export PYENV_ROOT="/nfs/home/isknight/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)"
~isknight/.pyenv/bin/pyenv local 3.8.5
cd to the directory where you install poetry.
poetry install
cd to the working directory
then we can start to run blaster master