git克隆github(以中科院学术专用ChatGPT:chatgpt_academic项目为例)
中科院学术专用ChatGPT:https://github.com/binary-husky/chatgpt_academic
1.打开本地的某个文件夹
2.打开git bash(前提安装好git工具 https://git-scm.com/download/win)
3.clone github项目的http url,注意不要ctrl c/v,要copy,paste
git clone https://github.com/binary-husky/chatgpt_academic.git
4.进入克隆后的文件夹
cd chatgpt_academic
#(选择一)推荐
pip install -r requirements.txt
#(选择二)如果您使用anaconda,步骤也是类似的:
#(选择二.1)conda create -n gptac_venv python=3.11
#(选择二.2)conda activate gptac_venv
#(选择二.3)pip install -r requirements.txt
#备注:使用官方pip源或者阿里pip源,其他pip源(如清华pip)有可能出问题,临时换源方法:
python -m pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
6.运行
python main.py
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
