# 代码获取 ### 安装软件 #### Ubuntu20.04环境 * 安装git * 安装git-lfs * 安装repo ``` # 安装git sudo apt install git # 安装 git-lfs curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash sudo apt-get install git-lfs git lfs install # 安装repo python3版本 向下兼容 curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo # 赋予脚本可执行权限 chmod a+x /usr/local/bin/repo # 安装requests依赖,或在执行命令时依据提示自动安装 pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple requests # 如果安装成功但是还是提示错误,建议使用 PyEnv 进行 Python 环境的管理 https://gitee.com/mirrors/pyenv ``` ### 下载代码 #### 使用git的下载方式 ``` git clone https://gitee.com/talkweb_oh/niobe.git ```