文章

常用开发环境的配置

常用开发环境的配置

sudo免密配置

1
2
3
4
5
6
sudo vim /etc/sudoers

# 在末尾添加 user
wurong  ALL=(ALL) NOPASSWD:ALL

# vim需要root强制写 :w!

python conda 配置

1
2
# 一键安装conda
curl -O https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh

常用的conda命令

1
2
3
4
5
6
# conda创建环境,指定python版本3.12.9
conda create -n freqtrade python=3.12.9

# 激活环境
conda activate freqtrade

git 的初始化 user mail

1
2
git config --global user.name "wurong"
git config --global user.email "code-dream@qq.com"
本文由作者按照 CC BY 4.0 进行授权