ubuntu下安装 git 及部署cosyvoice(1)

1.git安装

使用应用 市场

如图

2.登录,clone项目

完成后如图,我也看不懂,反正高大上。

2.Anaconda cosyvoice虚拟环境的部署

2.1创建

复制代码
(base) duyicheng@duyicheng-computer:~$ conda create --name cosyvoice -y
Channels:
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/duyicheng/anaconda3/envs/cosyvoice



Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate cosyvoice
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) duyicheng@duyicheng-computer:~$ 

2.2激活

复制代码
(base) duyicheng@duyicheng-computer:~$ conda activate cosyvoice
(cosyvoice) duyicheng@duyicheng-computer:~$ 

3.pycharm 建项目

如图:

不知什么原因没设置成虚拟环境,进了项目后,再设一次。

重启pycharm

换源,方便

升级 pip 到最新的版本后进行配置:

复制代码
python -m pip install --upgrade pip
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

一切正常了。

复制代码
(cosyvoice) duyicheng@duyicheng-computer:~/gitee/CosyVoice$ pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
Writing to /home/duyicheng/.config/pip/pip.conf
(cosyvoice) duyicheng@duyicheng-computer:~/gitee/CosyVoice$ python -m pip install --upgrade pip
Looking in indexes: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
Requirement already satisfied: pip in /home/duyicheng/anaconda3/envs/cosyvoice/lib/python3.8/site-packages (24.2)
Collecting pip
  Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ef/7d/500c9ad20238fcfcb4cb9243eede163594d7020ce87bd9610c9e02771876/pip-24.3.1-py3-none-any.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 9.6 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 24.2
    Uninstalling pip-24.2:
      Successfully uninstalled pip-24.2
Successfully installed pip-24.3.1
(cosyvoice) duyicheng@duyicheng-computer:~/gitee/CosyVoice$ 

下一节,根据错误,让运行起来。

相关推荐
Cynthia-石头3 小时前
Git Github Gitee GitLab
git·gitee·github
ak啊17 小时前
Git 撤销操作完全指南:从工作区到远程仓库的救赎之路
git
小_路20 小时前
git 常用命令
git
Dontla1 天前
git引用概念(git reference,git ref)(简化对复杂SHA-1哈希值的管理)(分支引用、标签引用、HEAD引用、远程引用、特殊引用)
git·算法·哈希算法
枫叶落雨2221 天前
Git 使用规范指南
git
德育处主任2 天前
聚沙成塔,三步成书:GitBook极简入门教程
前端·git·电子书
m0_635647482 天前
git管理github上的repository
git·github
Jiude2 天前
基于开源项目开发公司项目,如何同步开源仓库的最新更新(以vben为例)
git·开源·github
PAK向日葵2 天前
【软件工程】如何使用Git Rebase同步团队开发进度
git·面试
枫叶落雨2222 天前
git checkout C1解释
git