conda 环境

安装完 minconda后

有一个默认的 base环境

bash 进入

conda info
conda config --remove-key channels # 恢复原镜像
conda config --show channels
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
- defaults
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --set show_channel_urls yes
vi ~/.condarc 删除default
conda update --all
# 常用命令
conda create -n test python=3.8
conda env list
conda activate sgview
conda deactivate
设置pip 镜像源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
apt-get update
apt install git

linux 安装 allure

apt install openjdk-8-jre-headless
# apt install allure
下载 allure 安装包
https://github.com/allure-framework/allure2/releases
unzip allure-2.21.0.zip
sudo ln -s /opt/allure-2.21.0/bin/allure /usr/bin/allure
allure --version

Ubuntu+Python3+Allure环境搭建:https://www.jianshu.com/p/33e04d57e346

posted @   hanfe1  阅读(49)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
历史上的今天:
2021-04-12 测试面试题
点击右上角即可分享
微信分享提示