conda-dl 发表于 2019-06-02 更新于 2023-05-03 本文字数: 617 阅读时长 ≈ 1 分钟 managing python version 1conda create --name dl python=3.6 activate your env [dl] 12conda info --envsconda activate dl PyCharm with anaconda build the latest openmpi 123456# download the openmpi-v4.0.0.tar.gz from the official website# untar and run configure./configure --prefix=/usr/local/openmpi --enable-orterun-prefix-by-default# make and installmake -j $(nproc) allmake install verify openmpi 1mpirun -np 4 --bind-to none --map-by slot hostname install tensorflow 1/anaconda3/envs/dl/bin/pip --proxy http://127.0.0.1:1081 install tensorflow==1.13.1 install horovod 1HOROVOD_WITH_TENSORFLOW=1 /anaconda3/envs/dl/bin/pip install -v --no-cache-dir horovod==0.16.2 ref horovod Dockerfile