hmr新机linux安装过程从最初出发

bash Anaconda2-4.2.0-Linux-x86_64.sh
##这个网站下载https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda2-4.2.0-Linux-x86_64.sh##
echo ‘export PATH="/home/tkh/anaconda2/bin:$PATH"’ >> ~/.bashrc
source ~/.bashrc
conda list#检测conda安装完成

conda create -n hmr python=2.7
source activate hmr
#conda install --yes --file requirements.txt
$ while read requirement; do conda install --yes $requirement || pip install $requirement; done < requirements.txt
pip install --upgrade pip
pip install -r requirements.txt#进入你下载的hmr文件夹里 我的代码不公示
#opendr报错
sudo apt install libosmesa6-dev
sudo apt-get install build-essential
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev
pip install opendr
pip install -r requirements.txt

#最后运行检测就好了
pyhon -m …

你可能感兴趣的:(代码安装)