text 创建一个conda env并安装gradupwarp

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 创建一个conda env并安装gradupwarp相关的知识,希望对你有一定的参考价值。

# This creates a conda enviroment to install gradupwarp
#
# To avoid going over quota at teh Martinos, store your conda environments not in your home dir (the default), but somewhere else
# (say your group and you have some space in /space/your_group_dir/your_name: change that to whatever you need).
#
# (If you already have .conda folder in your home folder, move it first to /space/your_group_dir/your_name/conda)
#
mkdir /space/your_group_dir/your_name/conda
ln -s  /space/your_group_dir/your_name/conda ~/.conda

# Now create a conda enviroment for python 2.7
conda create --name gradunwrap python=2.7

# Activate the enviroment
source activate gradunwrap

# Install some requirement in your environment (you could use pip instead of conda if any of these two don't work)
conda install numpy scipy
conda install nibabel

# If you haven't yet, download the package from Github and change to the directory you just downloaded

# Install gradunwarp (you don't need any prefix as you are doing this in an environment
python setup.py

以上是关于text 创建一个conda env并安装gradupwarp的主要内容,如果未能解决你的问题,请参考以下文章

新创建的conda envs是否继承了基础环境中的所有包?

conda env create 退出并验证交易:/被杀死

text conda info --envs

conda env 无法创建新环境

无法在 conda python 3.8 env 上正确安装 awswrangler(连接问题)

conda创建python环境