本地gpt安装使用
-
安装anaconda3
-
具体步骤
# 克隆
PS D:\studyfile\gpt> git clone https://github.com/binary-husky/gpt_academic.git
Cloning into 'gpt_academic'...
remote: Enumerating objects: 11089, done.
remote: Counting objects: 100% (680/680), done.
remote: Compressing objects: 100% (336/336), done.
remote: Total 11089 (delta 442), reused 521 (delta 340), pack-reused 10409
Receiving objects: 100% (11089/11089), 68.60 MiB | 9.90 MiB/s, done.
Resolving deltas: 100% (7249/7249), done.
# 查看
PS D:\studyfile\gpt> ls
目录: D:\studyfile\gpt
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2024/7/24 11:00 gpt_academic
# 进入项目目录
PS D:\studyfile\gpt> cd .\gpt_academic\
# 查看
PS D:\studyfile\gpt\gpt_academic> ls
目录: D:\studyfile\gpt\gpt_academic
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2024/7/24 11:00 .github
d----- 2024/7/24 11:00 crazy_functions
d----- 2024/7/24 11:00 docs
d----- 2024/7/24 11:00 request_llms
d----- 2024/7/24 11:00 shared_utils
d----- 2024/7/24 11:00 tests
d----- 2024/7/24 11:00 themes
-a---- 2024/7/24 11:00 162 .gitattributes
-a---- 2024/7/24 11:00 2337 .gitignore
-a---- 2024/7/24 11:00 8310 check_proxy.py
-a---- 2024/7/24 11:00 15681 config.py
-a---- 2024/7/24 11:00 9855 core_functional.py
-a---- 2024/7/24 11:00 34025 crazy_functional.py
-a---- 2024/7/24 11:00 15412 docker-compose.yml
-a---- 2024/7/24 11:00 1637 Dockerfile
-a---- 2024/7/24 11:00 35823 LICENSE
-a---- 2024/7/24 11:00 25239 main.py
-a---- 2024/7/24 11:00 22958 multi_language.py
-a---- 2024/7/24 11:00 27823 README.md
-a---- 2024/7/24 11:00 508 requirements.txt
-a---- 2024/7/24 11:00 39870 toolbox.py
-a---- 2024/7/24 11:00 227 version
- 查看README.md安装依赖,我安装的anaconda3默认python版本为3.11.5,使用方式1安装
# (选择I: 如熟悉python, python推荐版本 3.9 ~ 3.11)备注:使用官方pip源或者阿里pip源, 临时换源方法:python -m pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python -m pip install -r requirements.txt
# (选择II: 使用Anaconda)步骤也是类似的 (https://www.bilibili.com/video/BV1rc411W7Dr):
conda create -n gptac_venv python=3.11 # 创建anaconda环境
conda activate gptac_venv # 激活anaconda环境
python -m pip install -r requirements.txt # 这个步骤和pip安装一样的步骤
- 安装所需依赖
点击查看详情
PS D:\studyfile\gpt\gpt_academic> python -m pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting gradio==3.32.10 (from -r requirements.txt (line 1))
Using cached https://public.agent-matrix.com/publish/gradio-3.32.10-py3-none-any.whl (11.5 MB)
Collecting fastapi==0.110 (from -r requirements.txt (line 2))
Downloading https://mirrors.aliyun.com/pypi/packages/f0/f7/ea860cb8aa18e326f411e32ab537424690a53db20de6bad73d70da611fae/fastapi-0.110.0-py3-none-any.whl (92 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.1/92.1 kB 475.7 kB/s eta 0:00:00
Collecting gradio-client==0.8 (from -r requirements.txt (line 3))
Downloading https://mirrors.aliyun.com/pypi/packages/c4/e7/5da3a4b6108f5e2e43d034d7923c3562f93beba8f3d13a0ec7c201a6f33c/gradio_client-0.8.0-py3-none-any.whl (305 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 305.1/305.1 kB 428.5 kB/s eta 0:00:00
Collecting pypdf2==2.12.1 (from -r requirements.txt (line 4))
Downloading https://mirrors.aliyun.com/pypi/packages/2e/40/4f997b7cf72d89bb5aafd57b01dfa0be4e9560c8e5b993fde3986b3904f9/pypdf2-2.12.1-py3-none-any.whl (222 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 222.8/222.8 kB 399.6 kB/s eta 0:00:00
Collecting zhipuai==2.0.1 (from -r requirements.txt (line 5))
Downloading https://mirrors.aliyun.com/pypi/packages/8f/05/c3d4556886b5c6cf8c0b96eb80448ee8154c0dcc87086df018e817779ed4/zhipuai-2.0.1-py3-none-any.whl (26 kB)
Collecting tiktoken>=0.3.3 (from -r requirements.txt (line 6))
Downloading https://mirrors.aliyun.com/pypi/packages/b1/10/c04b4ff592a5f46b28ebf4c2353f735c02ae7f0ce1b165d00748ced6467e/tiktoken-0.7.0-cp311-cp311-win_amd64.whl (799 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 799.0/799.0 kB 385.3 kB/s eta 0:00:00
Requirement already satisfied: requests[socks] in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 7)) (2.31.0)
Collecting pydantic==2.5.2 (from -r requirements.txt (line 8))
Downloading https://mirrors.aliyun.com/pypi/packages/0a/2b/64066de1c4cf3d4ed623beeb3bbf3f8d0cc26661f1e7d180ec5eb66b75a5/pydantic-2.5.2-py3-none-any.whl (381 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.9/381.9 kB 396.6 kB/s eta 0:00:00
Collecting protobuf==3.18 (from -r requirements.txt (line 9))
Downloading https://mirrors.aliyun.com/pypi/packages/74/4e/9f3cb458266ef5cdeaa1e72a90b9eda100e3d1803cbd7ec02f0846da83c3/protobuf-3.18.0-py2.py3-none-any.whl (174 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 174.2/174.2 kB 420.4 kB/s eta 0:00:00
Requirement already satisfied: transformers>=4.27.1 in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 10)) (4.32.1)
Collecting scipdf_parser>=0.52 (from -r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/d2/9c/755427ef9f58815d19cf060e9f0d85a4851267dbdf39189097bf8b47892c/scipdf_parser-0.52-py3-none-any.whl (10 kB)
Collecting anthropic>=0.18.1 (from -r requirements.txt (line 12))
Downloading https://mirrors.aliyun.com/pypi/packages/63/5b/68a5605f8c8a5f9e8b578ec6b16d43d36329aa2c6541d34f42f2aef8f689/anthropic-0.31.2-py3-none-any.whl (865 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 865.5/865.5 kB 411.6 kB/s eta 0:00:00
Collecting python-markdown-math (from -r requirements.txt (line 13))
Downloading https://mirrors.aliyun.com/pypi/packages/4d/36/d16118345ff5f503d4d1c708e8427ed2213f2af7aaffac9d59010e665b5c/python_markdown_math-0.8-py3-none-any.whl (5.9 kB)
Collecting pymdown-extensions (from -r requirements.txt (line 14))
Downloading https://mirrors.aliyun.com/pypi/packages/c6/d7/e19f9bee2729a8d65b9bf822bb69ac364bf782bac8d761c62b4252769ae0/pymdown_extensions-10.8.1-py3-none-any.whl (250 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.8/250.8 kB 416.2 kB/s eta 0:00:00
Requirement already satisfied: websocket-client in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 15)) (0.58.0)
Requirement already satisfied: beautifulsoup4 in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 16)) (4.12.2)
Requirement already satisfied: prompt_toolkit in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 17)) (3.0.36)
Collecting latex2mathml (from -r requirements.txt (line 18))
Downloading https://mirrors.aliyun.com/pypi/packages/f2/0a/181ed55562ce90179aedf33b09fcd79db31c868a5d480f3cb71a31d19692/latex2mathml-3.77.0-py3-none-any.whl (73 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.7/73.7 kB 339.5 kB/s eta 0:00:00
Collecting python-docx (from -r requirements.txt (line 19))
Downloading https://mirrors.aliyun.com/pypi/packages/3e/3d/330d9efbdb816d3f60bf2ad92f05e1708e4a1b9abe80461ac3444c83f749/python_docx-1.1.2-py3-none-any.whl (244 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 244.3/244.3 kB 405.0 kB/s eta 0:00:00
Collecting mdtex2html (from -r requirements.txt (line 20))
Downloading https://mirrors.aliyun.com/pypi/packages/ff/e8/c5fab9aa5d9254ad7c7e37d33a3c32fd49d82b4c6b54da337bbca378eb5c/mdtex2html-1.3.0-py3-none-any.whl (13 kB)
Collecting dashscope (from -r requirements.txt (line 21))
Downloading https://mirrors.aliyun.com/pypi/packages/f1/0d/b6ff94f573cd3a3adb556cad4bb499057f294cc7e9bd1d2fbe53667d4f39/dashscope-1.20.3-py3-none-any.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 409.5 kB/s eta 0:00:00
Collecting pyautogen (from -r requirements.txt (line 22))
Downloading https://mirrors.aliyun.com/pypi/packages/dd/9e/2c58eb3fc0839585fefc12fe44e4b716eebddaef48cefe77876741551e6b/pyautogen-0.2.32-py3-none-any.whl (314 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 314.4/314.4 kB 319.2 kB/s eta 0:00:00
Requirement already satisfied: colorama in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 23)) (0.4.6)
Requirement already satisfied: Markdown in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 24)) (3.4.1)
Requirement already satisfied: pygments in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 25)) (2.15.1)
Collecting edge-tts (from -r requirements.txt (line 26))
Downloading https://mirrors.aliyun.com/pypi/packages/d5/f0/7cc168858b3b500cc93d274713dcf0d92967f491618d8b44889e21878389/edge_tts-6.1.12-py3-none-any.whl (29 kB)
Collecting pymupdf (from -r requirements.txt (line 27))
Downloading https://mirrors.aliyun.com/pypi/packages/94/89/1fa60e2e00a6d8f4bf849e213e56fde4317229fb75379a5637eb95d9a3f0/PyMuPDF-1.24.8-cp311-none-win_amd64.whl (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 399.4 kB/s eta 0:00:00
Collecting openai (from -r requirements.txt (line 28))
Downloading https://mirrors.aliyun.com/pypi/packages/ad/11/7f75f22019777c18c933df6cc0fff4095df3b35f087a1a4c2bd3ca841bd1/openai-1.37.0-py3-none-any.whl (337 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 337.0/337.0 kB 354.4 kB/s eta 0:00:00
Collecting rjsmin (from -r requirements.txt (line 29))
Downloading https://mirrors.aliyun.com/pypi/packages/f0/1c/c0355e8b8b8aca9c0d43519d2a7c473940deae0297ff8544eff359d7f715/rjsmin-1.2.2.tar.gz (420 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 420.6/420.6 kB 370.1 kB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting arxiv (from -r requirements.txt (line 30))
Downloading https://mirrors.aliyun.com/pypi/packages/b7/7b/7bf42178d227b26d3daf94cdd22a72a4ed5bf235548c4f5aea49c51c6458/arxiv-2.1.3-py3-none-any.whl (11 kB)
Requirement already satisfied: numpy in d:\software\anaconda3\lib\site-packages (from -r requirements.txt (line 31)) (1.24.3)
Collecting rich (from -r requirements.txt (line 32))
Downloading https://mirrors.aliyun.com/pypi/packages/87/67/a37f6214d0e9fe57f6ae54b2956d550ca8365857f42a1ce0392bb21d9410/rich-13.7.1-py3-none-any.whl (240 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 320.5 kB/s eta 0:00:00
Collecting starlette<0.37.0,>=0.36.3 (from fastapi==0.110->-r requirements.txt (line 2))
Downloading https://mirrors.aliyun.com/pypi/packages/eb/f7/372e3953b6e6fbfe0b70a1bb52612eae16e943f4288516480860fcd4ac41/starlette-0.36.3-py3-none-any.whl (71 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.5/71.5 kB 390.1 kB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\dogle\appdata\roaming\python\python311\site-packages (from fastapi==0.110->-r requirements.txt (line 2)) (4.11.0)
Requirement already satisfied: fsspec in d:\software\anaconda3\lib\site-packages (from gradio-client==0.8->-r requirements.txt (line 3)) (2023.4.0)
Collecting httpx (from gradio-client==0.8->-r requirements.txt (line 3))
Downloading https://mirrors.aliyun.com/pypi/packages/41/7b/ddacf6dcebb42466abd03f368782142baa82e08fc0c1f8eaa05b4bae87d5/httpx-0.27.0-py3-none-any.whl (75 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.6/75.6 kB 298.4 kB/s eta 0:00:00
Collecting huggingface-hub>=0.19.3 (from gradio-client==0.8->-r requirements.txt (line 3))
Downloading https://mirrors.aliyun.com/pypi/packages/96/e6/a1fd9cccd2c08244243aeef71b61cb9b2ba26575d8fd6f7c41edc95e9de0/huggingface_hub-0.24.1-py3-none-any.whl (417 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 417.2/417.2 kB 361.8 kB/s eta 0:00:00
Requirement already satisfied: packaging in d:\software\anaconda3\lib\site-packages (from gradio-client==0.8->-r requirements.txt (line 3)) (23.1)
Collecting websockets<12.0,>=10.0 (from gradio-client==0.8->-r requirements.txt (line 3))
Downloading https://mirrors.aliyun.com/pypi/packages/e1/7c/0ad6e7ef0a054d73092f616d20d3d9bd3e1b837554cb20a52d8dd9f5b049/websockets-11.0.3-cp311-cp311-win_amd64.whl (124 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.7/124.7 kB 457.7 kB/s eta 0:00:00
Collecting cachetools>=4.2.2 (from zhipuai==2.0.1->-r requirements.txt (line 5))
Downloading https://mirrors.aliyun.com/pypi/packages/04/e6/a1551acbaa06f3e48b311329828a34bc9c51a8cfaecdeb4d03c329a1ef85/cachetools-5.4.0-py3-none-any.whl (9.5 kB)
Collecting pyjwt~=2.8.0 (from zhipuai==2.0.1->-r requirements.txt (line 5))
Downloading https://mirrors.aliyun.com/pypi/packages/2b/4f/e04a8067c7c96c364cef7ef73906504e2f40d690811c021e1a1901473a19/PyJWT-2.8.0-py3-none-any.whl (22 kB)
Collecting annotated-types>=0.4.0 (from pydantic==2.5.2->-r requirements.txt (line 8))
Downloading https://mirrors.aliyun.com/pypi/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl (13 kB)
Collecting pydantic-core==2.14.5 (from pydantic==2.5.2->-r requirements.txt (line 8))
Downloading https://mirrors.aliyun.com/pypi/packages/04/a1/36cea283ded0641e8c374cdcacfdab035c102467ac5ec721b7527c8ac1cf/pydantic_core-2.14.5-cp311-none-win_amd64.whl (1.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 391.2 kB/s eta 0:00:00
Requirement already satisfied: aiofiles in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (22.1.0)
Requirement already satisfied: aiohttp in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (3.8.5)
Collecting altair>=4.2.0 (from gradio==3.32.10->-r requirements.txt (line 1))
Downloading https://mirrors.aliyun.com/pypi/packages/46/30/2118537233fa72c1d91a81f5908a7e843a6601ccc68b76838ebc4951505f/altair-5.3.0-py3-none-any.whl (857 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 857.8/857.8 kB 395.9 kB/s eta 0:00:00
Collecting ffmpy (from gradio==3.32.10->-r requirements.txt (line 1))
Downloading https://mirrors.aliyun.com/pypi/packages/1d/70/07914754979f5dd80bda947a0ffd181c08bfcb137b01c3c0cef45254d271/ffmpy-0.3.2.tar.gz (5.5 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: jinja2 in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: markdown-it-py[linkify]>=2.0.0 in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (2.2.0)
Requirement already satisfied: markupsafe in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (2.1.1)
Requirement already satisfied: matplotlib in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (3.7.2)
Requirement already satisfied: mdit-py-plugins<=0.3.3 in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (0.3.0)
Collecting orjson (from gradio==3.32.10->-r requirements.txt (line 1))
Downloading https://mirrors.aliyun.com/pypi/packages/04/82/7d588fae234da97502bceec16d4fbaa4799156693aa1513a7745034dab08/orjson-3.10.6-cp311-none-win_amd64.whl (136 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.4/136.4 kB 403.1 kB/s eta 0:00:00
Requirement already satisfied: pandas in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (2.0.3)
Requirement already satisfied: pillow in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (9.4.0)
Collecting pydub (from gradio==3.32.10->-r requirements.txt (line 1))
Downloading https://mirrors.aliyun.com/pypi/packages/a6/53/d78dc063216e62fc55f6b2eebb447f6a4b0a59f55c8406376f76bf959b08/pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting python-multipart (from gradio==3.32.10->-r requirements.txt (line 1))
Downloading https://mirrors.aliyun.com/pypi/packages/3d/47/444768600d9e0ebc82f8e347775d24aef8f6348cf00e9fa0e81910814e6d/python_multipart-0.0.9-py3-none-any.whl (22 kB)
Requirement already satisfied: pyyaml in d:\software\anaconda3\lib\site-packages (from gradio==3.32.10->-r requirements.txt (line 1)) (6.0)
Collecting semantic-version (from gradio==3.32.10->-r requirements.txt (line 1))
Downloading https://mirrors.aliyun.com/pypi/packages/6a/23/8146aad7d88f4fcb3a6218f41a60f6c2d4e3a72de72da1825dc7c8f7877c/semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting uvicorn>=0.14.0 (from gradio==3.32.10->-r requirements.txt (line 1))
Downloading https://mirrors.aliyun.com/pypi/packages/63/84/2a26b4eac1cf0c6b5b176dd4346cc4912af5e1b0efc150b865e28636ac34/uvicorn-0.30.3-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 336.7 kB/s eta 0:00:00
Requirement already satisfied: regex>=2022.1.18 in d:\software\anaconda3\lib\site-packages (from tiktoken>=0.3.3->-r requirements.txt (line 6)) (2022.7.9)
Requirement already satisfied: charset-normalizer<4,>=2 in d:\software\anaconda3\lib\site-packages (from requests[socks]->-r requirements.txt (line 7)) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in d:\software\anaconda3\lib\site-packages (from requests[socks]->-r requirements.txt (line 7)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in d:\software\anaconda3\lib\site-packages (from requests[socks]->-r requirements.txt (line 7)) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in d:\software\anaconda3\lib\site-packages (from requests[socks]->-r requirements.txt (line 7)) (2023.7.22)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in d:\software\anaconda3\lib\site-packages (from requests[socks]->-r requirements.txt (line 7)) (1.7.1)
Requirement already satisfied: filelock in d:\software\anaconda3\lib\site-packages (from transformers>=4.27.1->-r requirements.txt (line 10)) (3.9.0)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in d:\software\anaconda3\lib\site-packages (from transformers>=4.27.1->-r requirements.txt (line 10)) (0.13.2)
Requirement already satisfied: safetensors>=0.3.1 in d:\software\anaconda3\lib\site-packages (from transformers>=4.27.1->-r requirements.txt (line 10)) (0.3.2)
Requirement already satisfied: tqdm>=4.27 in d:\software\anaconda3\lib\site-packages (from transformers>=4.27.1->-r requirements.txt (line 10)) (4.65.0)
Requirement already satisfied: lxml in d:\software\anaconda3\lib\site-packages (from scipdf_parser>=0.52->-r requirements.txt (line 11)) (4.9.3)
Collecting spacy (from scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/39/e1/08681583569f435347ced0535b27c073fcc9a927d9b4293c963092f2d01c/spacy-3.7.5-cp311-cp311-win_amd64.whl (12.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 389.3 kB/s eta 0:00:00
Collecting textstat (from scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/11/df/bb284dfb23890319ace2a416a5a39e77e29b8f52f5d80bc13b12dc1fc1f5/textstat-0.7.4-py3-none-any.whl (105 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.1/105.1 kB 356.8 kB/s eta 0:00:00
Requirement already satisfied: anyio<5,>=3.5.0 in d:\software\anaconda3\lib\site-packages (from anthropic>=0.18.1->-r requirements.txt (line 12)) (3.5.0)
Collecting distro<2,>=1.7.0 (from anthropic>=0.18.1->-r requirements.txt (line 12))
Downloading https://mirrors.aliyun.com/pypi/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl (20 kB)
Collecting jiter<1,>=0.4.0 (from anthropic>=0.18.1->-r requirements.txt (line 12))
Downloading https://mirrors.aliyun.com/pypi/packages/ab/59/05d1c3203c349b37c4dd28b02b9b4e5915a7bcbd9319173b4548a67d2e93/jiter-0.5.0-cp311-none-win_amd64.whl (191 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 191.0/191.0 kB 330.5 kB/s eta 0:00:00
Requirement already satisfied: sniffio in c:\users\dogle\appdata\roaming\python\python311\site-packages (from anthropic>=0.18.1->-r requirements.txt (line 12)) (1.3.1)
Collecting Markdown (from -r requirements.txt (line 24))
Downloading https://mirrors.aliyun.com/pypi/packages/fc/b3/0c0c994fe49cd661084f8d5dc06562af53818cc0abefaca35bdc894577c3/Markdown-3.6-py3-none-any.whl (105 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.4/105.4 kB 436.4 kB/s eta 0:00:00
Requirement already satisfied: six in d:\software\anaconda3\lib\site-packages (from websocket-client->-r requirements.txt (line 15)) (1.16.0)
Requirement already satisfied: soupsieve>1.2 in d:\software\anaconda3\lib\site-packages (from beautifulsoup4->-r requirements.txt (line 16)) (2.4)
Requirement already satisfied: wcwidth in d:\software\anaconda3\lib\site-packages (from prompt_toolkit->-r requirements.txt (line 17)) (0.2.5)
Collecting diskcache (from pyautogen->-r requirements.txt (line 22))
Downloading https://mirrors.aliyun.com/pypi/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl (45 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.5/45.5 kB 161.2 kB/s eta 0:00:00
Collecting docker (from pyautogen->-r requirements.txt (line 22))
Downloading https://mirrors.aliyun.com/pypi/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl (147 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.8/147.8 kB 352.7 kB/s eta 0:00:00
Collecting flaml (from pyautogen->-r requirements.txt (line 22))
Downloading https://mirrors.aliyun.com/pypi/packages/f4/9f/d4c5e02f30fc8842005f9a448316c397eee98c4ee865e403dce9636aa61a/FLAML-2.1.2-py3-none-any.whl (296 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 296.7/296.7 kB 359.4 kB/s eta 0:00:00
Requirement already satisfied: python-dotenv in d:\software\anaconda3\lib\site-packages (from pyautogen->-r requirements.txt (line 22)) (0.21.0)
Collecting termcolor (from pyautogen->-r requirements.txt (line 22))
Downloading https://mirrors.aliyun.com/pypi/packages/d9/5f/8c716e47b3a50cbd7c146f45881e11d9414def768b7cd9c5e6650ec2a80a/termcolor-2.4.0-py3-none-any.whl (7.7 kB)
Collecting certifi>=2017.4.17 (from requests[socks]->-r requirements.txt (line 7))
Downloading https://mirrors.aliyun.com/pypi/packages/1c/d5/c84e1a17bf61d4df64ca866a1c9a913874b4e9bdc131ec689a0ad013fb36/certifi-2024.7.4-py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 348.7 kB/s eta 0:00:00
Collecting PyMuPDFb==1.24.8 (from pymupdf->-r requirements.txt (line 27))
Downloading https://mirrors.aliyun.com/pypi/packages/f2/76/caf48f8536c44ebcd24ebf87759ae91561d7b6fba60d6ff27b72ffa6e617/PyMuPDFb-1.24.8-py3-none-win_amd64.whl (13.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.2/13.2 MB 364.8 kB/s eta 0:00:00
Collecting feedparser~=6.0.10 (from arxiv->-r requirements.txt (line 30))
Downloading https://mirrors.aliyun.com/pypi/packages/7c/d4/8c31aad9cc18f451c49f7f9cfb5799dadffc88177f7917bc90a66459b1d7/feedparser-6.0.11-py3-none-any.whl (81 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.3/81.3 kB 413.4 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of arxiv to determine which version is compatible with other requirements. This could take a while.
Collecting arxiv (from -r requirements.txt (line 30))
Downloading https://mirrors.aliyun.com/pypi/packages/49/6e/1ab659917719201b36ada98f5f41dcee1d405c1a7ae30a7db5b94f6bbe0e/arxiv-2.1.2-py3-none-any.whl (11 kB)
Downloading https://mirrors.aliyun.com/pypi/packages/1c/b4/39651e7d31c5c9b7a9231e111864b51cfaf26e70e1e926c88ee36264abc9/arxiv-2.1.1-py3-none-any.whl (11 kB)
Collecting feedparser==6.0.10 (from arxiv->-r requirements.txt (line 30))
Downloading https://mirrors.aliyun.com/pypi/packages/92/1e/741fd94cf2855d251712868f2183cb6485a28daaa3947e1a7046dc036aca/feedparser-6.0.10-py3-none-any.whl (81 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 414.4 kB/s eta 0:00:00
Collecting arxiv (from -r requirements.txt (line 30))
Downloading https://mirrors.aliyun.com/pypi/packages/99/16/532c2aa4bc83b2356820efd4d1f619e45178dc3a0dc0cde16fbccdc43fc1/arxiv-2.1.0-py3-none-any.whl (11 kB)
Collecting sgmllib3k (from feedparser==6.0.10->arxiv->-r requirements.txt (line 30))
Downloading https://mirrors.aliyun.com/pypi/packages/9e/bd/3704a8c3e0942d711c1299ebf7b9091930adae6675d7c8f476a7ce48653c/sgmllib3k-1.0.0.tar.gz (5.8 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: attrs>=17.3.0 in c:\users\dogle\appdata\roaming\python\python311\site-packages (from aiohttp->gradio==3.32.10->-r requirements.txt (line 1)) (23.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in d:\software\anaconda3\lib\site-packages (from aiohttp->gradio==3.32.10->-r requirements.txt (line 1)) (6.0.2)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in d:\software\anaconda3\lib\site-packages (from aiohttp->gradio==3.32.10->-r requirements.txt (line 1)) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in d:\software\anaconda3\lib\site-packages (from aiohttp->gradio==3.32.10->-r requirements.txt (line 1)) (1.8.1)
Requirement already satisfied: frozenlist>=1.1.1 in d:\software\anaconda3\lib\site-packages (from aiohttp->gradio==3.32.10->-r requirements.txt (line 1)) (1.3.3)
Requirement already satisfied: aiosignal>=1.1.2 in d:\software\anaconda3\lib\site-packages (from aiohttp->gradio==3.32.10->-r requirements.txt (line 1)) (1.2.0)
Requirement already satisfied: jsonschema>=3.0 in d:\software\anaconda3\lib\site-packages (from altair>=4.2.0->gradio==3.32.10->-r requirements.txt (line 1)) (4.17.3)
Requirement already satisfied: toolz in d:\software\anaconda3\lib\site-packages (from altair>=4.2.0->gradio==3.32.10->-r requirements.txt (line 1)) (0.12.0)
Collecting httpcore==1.* (from httpx->gradio-client==0.8->-r requirements.txt (line 3))
Downloading https://mirrors.aliyun.com/pypi/packages/78/d4/e5d7e4f2174f8a4d63c8897d79eb8fe2503f7ecc03282fee1fa2719c2704/httpcore-1.0.5-py3-none-any.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.9/77.9 kB 433.9 kB/s eta 0:00:00
Requirement already satisfied: h11<0.15,>=0.13 in c:\users\dogle\appdata\roaming\python\python311\site-packages (from httpcore==1.*->httpx->gradio-client==0.8->-r requirements.txt (line 3)) (0.14.0)
Collecting fsspec (from gradio-client==0.8->-r requirements.txt (line 3))
Downloading https://mirrors.aliyun.com/pypi/packages/5e/44/73bea497ac69bafde2ee4269292fa3b41f1198f4bb7bbaaabde30ad29d4a/fsspec-2024.6.1-py3-none-any.whl (177 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.6/177.6 kB 411.1 kB/s eta 0:00:00
Requirement already satisfied: mdurl~=0.1 in d:\software\anaconda3\lib\site-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.32.10->-r requirements.txt (line 1)) (0.1.0)
Requirement already satisfied: linkify-it-py<3,>=1 in d:\software\anaconda3\lib\site-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.32.10->-r requirements.txt (line 1)) (2.0.0)
Requirement already satisfied: python-dateutil>=2.8.2 in d:\software\anaconda3\lib\site-packages (from pandas->gradio==3.32.10->-r requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in d:\software\anaconda3\lib\site-packages (from pandas->gradio==3.32.10->-r requirements.txt (line 1)) (2023.3.post1)
Requirement already satisfied: tzdata>=2022.1 in d:\software\anaconda3\lib\site-packages (from pandas->gradio==3.32.10->-r requirements.txt (line 1)) (2023.3)
Requirement already satisfied: click>=7.0 in d:\software\anaconda3\lib\site-packages (from uvicorn>=0.14.0->gradio==3.32.10->-r requirements.txt (line 1)) (8.0.4)
Requirement already satisfied: pywin32>=304 in d:\software\anaconda3\lib\site-packages (from docker->pyautogen->-r requirements.txt (line 22)) (305.1)
Requirement already satisfied: contourpy>=1.0.1 in d:\software\anaconda3\lib\site-packages (from matplotlib->gradio==3.32.10->-r requirements.txt (line 1)) (1.0.5)
Requirement already satisfied: cycler>=0.10 in d:\software\anaconda3\lib\site-packages (from matplotlib->gradio==3.32.10->-r requirements.txt (line 1)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\software\anaconda3\lib\site-packages (from matplotlib->gradio==3.32.10->-r requirements.txt (line 1)) (4.25.0)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\software\anaconda3\lib\site-packages (from matplotlib->gradio==3.32.10->-r requirements.txt (line 1)) (1.4.4)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in d:\software\anaconda3\lib\site-packages (from matplotlib->gradio==3.32.10->-r requirements.txt (line 1)) (3.0.9)
Collecting spacy-legacy<3.1.0,>=3.0.11 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/c3/55/12e842c70ff8828e34e543a2c7176dac4da006ca6901c9e8b43efab8bc6b/spacy_legacy-3.0.12-py2.py3-none-any.whl (29 kB)
Collecting spacy-loggers<2.0.0,>=1.0.0 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/33/78/d1a1a026ef3af911159398c939b1509d5c36fe524c7b644f34a5146c4e16/spacy_loggers-1.0.5-py3-none-any.whl (22 kB)
Collecting murmurhash<1.1.0,>=0.28.0 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/71/46/af01a20ec368bd9cb49a1d2df15e3eca113bbf6952cc1f2a47f1c6801a7f/murmurhash-1.0.10-cp311-cp311-win_amd64.whl (25 kB)
Collecting cymem<2.1.0,>=2.0.2 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/c1/c3/dd044e6f62a3d317c461f6f0c153c6573ed13025752d779e514000c15dd2/cymem-2.0.8-cp311-cp311-win_amd64.whl (39 kB)
Collecting preshed<3.1.0,>=3.0.2 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/e4/fc/78cdbdb79f5d6d45949e72c32445d6c060977ad50a1dcfc0392622165f7c/preshed-3.0.9-cp311-cp311-win_amd64.whl (122 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.3/122.3 kB 326.8 kB/s eta 0:00:00
Collecting thinc<8.3.0,>=8.2.2 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/5e/0e/5e7b24e046e0725eafc37ded0cd9bfaf789efb894101a7aca8a73dba81de/thinc-8.2.5-cp311-cp311-win_amd64.whl (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 373.4 kB/s eta 0:00:00
Collecting wasabi<1.2.0,>=0.9.1 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/06/7c/34330a89da55610daa5f245ddce5aab81244321101614751e7537f125133/wasabi-1.1.3-py3-none-any.whl (27 kB)
Collecting srsly<3.0.0,>=2.4.3 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/eb/f5/e3f29993f673d91623df6413ba64e815dd2676fd7932cbc5e7347402ddae/srsly-2.4.8-cp311-cp311-win_amd64.whl (479 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 479.7/479.7 kB 400.6 kB/s eta 0:00:00
Collecting catalogue<2.1.0,>=2.0.6 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/9e/96/d32b941a501ab566a16358d68b6eb4e4acc373fab3c3c4d7d9e649f7b4bb/catalogue-2.0.10-py3-none-any.whl (17 kB)
Collecting weasel<0.5.0,>=0.1.0 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/2a/87/abd57374044e1f627f0a905ac33c1a7daab35a3a815abfea4e1bafd3fdb1/weasel-0.4.1-py3-none-any.whl (50 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.3/50.3 kB 367.2 kB/s eta 0:00:00
Collecting typer<1.0.0,>=0.3.0 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/20/b5/11cf2e34fbb11b937e006286ab5b8cfd334fde1c8fa4dd7f491226931180/typer-0.12.3-py3-none-any.whl (47 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB 393.3 kB/s eta 0:00:00
Requirement already satisfied: setuptools in d:\software\anaconda3\lib\site-packages (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11)) (68.0.0)
Collecting langcodes<4.0.0,>=3.2.0 (from spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/58/70/4058ab0ebb082b18d06888e711baed7f33354a5e0b363bb627586d8c323a/langcodes-3.4.0-py3-none-any.whl (182 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.0/182.0 kB 393.1 kB/s eta 0:00:00
Collecting pyphen (from textstat->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/a1/5d/a545d71eba7e031ffd4c670b18b7c7c8b128d0fd0ca79914bd40ab98a456/pyphen-0.15.0-py3-none-any.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 363.7 kB/s eta 0:00:00
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in d:\software\anaconda3\lib\site-packages (from jsonschema>=3.0->altair>=4.2.0->gradio==3.32.10->-r requirements.txt (line 1)) (0.18.0)
Collecting language-data>=1.2 (from langcodes<4.0.0,>=3.2.0->spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/12/5f/139464da89c49afcc8bb97ebad48818a535220ce01b1f24c61fb80dbe4d0/language_data-1.2.0-py3-none-any.whl (5.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 346.8 kB/s eta 0:00:00
Requirement already satisfied: uc-micro-py in d:\software\anaconda3\lib\site-packages (from linkify-it-py<3,>=1->markdown-it-py[linkify]>=2.0.0->gradio==3.32.10->-r requirements.txt (line 1)) (1.0.1)
Collecting blis<0.8.0,>=0.7.8 (from thinc<8.3.0,>=8.2.2->spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/2f/09/da0592c74560cc33396504698122f7a56747c82a5e072ca7d2c3397898e1/blis-0.7.11-cp311-cp311-win_amd64.whl (6.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 375.7 kB/s eta 0:00:00
Collecting confection<1.0.0,>=0.0.1 (from thinc<8.3.0,>=8.2.2->spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/0c/00/3106b1854b45bd0474ced037dfe6b73b90fe68a68968cef47c23de3d43d2/confection-0.1.5-py3-none-any.whl (35 kB)
Collecting shellingham>=1.3.0 (from typer<1.0.0,>=0.3.0->spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Collecting cloudpathlib<1.0.0,>=0.7.0 (from weasel<0.5.0,>=0.1.0->spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/bc/ba/d8f2c0151585519759135550574385dd7a223abbc6b6c06dab7ada565773/cloudpathlib-0.18.1-py3-none-any.whl (47 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.3/47.3 kB 475.6 kB/s eta 0:00:00
Requirement already satisfied: smart-open<8.0.0,>=5.2.1 in d:\software\anaconda3\lib\site-packages (from weasel<0.5.0,>=0.1.0->spacy->scipdf_parser>=0.52->-r requirements.txt (line 11)) (5.2.1)
Collecting marisa-trie>=0.7.7 (from language-data>=1.2->langcodes<4.0.0,>=3.2.0->spacy->scipdf_parser>=0.52->-r requirements.txt (line 11))
Downloading https://mirrors.aliyun.com/pypi/packages/61/28/b93cd14cd422be8fc091bd454dd48edbf0c2333111183db38c8e5a13e468/marisa_trie-1.2.0-cp311-cp311-win_amd64.whl (152 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.6/152.6 kB 293.5 kB/s eta 0:00:00
WARNING: The candidate selected for download or install is a yanked version: 'protobuf' candidate (version 3.18.0 at https://mirrors.aliyun.com/pypi/packages/74/4e/9f3cb458266ef5cdeaa1e72a90b9eda100e3d1803cbd7ec02f0846da83c3/protobuf-3.18.0-py2.py3-none-any.whl#sha256=615099e52e9fbc9fde00177267a94ca820ecf4e80093e390753568b7d8cb3c1a (from https://mirrors.aliyun.com/pypi/simple/protobuf/))
Reason for being yanked: This version claims to support Python 2 but does not
Building wheels for collected packages: rjsmin, ffmpy, sgmllib3k
Building wheel for rjsmin (setup.py) ... done
Created wheel for rjsmin: filename=rjsmin-1.2.2-cp311-cp311-win_amd64.whl size=20033 sha256=6398f9207160d55fcdde1d9c79b42ae7c1263a250c05e6b9c4e4a4fc288ddb0c
Stored in directory: c:\users\dogle\appdata\local\pip\cache\wheels\db\95\ce\a2ae3077f295555e5b5775f918b6c9479ab7600367ae169684
Building wheel for ffmpy (setup.py) ... done
Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5606 sha256=cde147020215758bdfe070b5fec6749b9232f191831fc99040bfa11727d6553c
Stored in directory: c:\users\dogle\appdata\local\pip\cache\wheels\69\74\b4\94c93f10f90b58dc376995d6bf109b5ff7fc411d78c8d078b1
Building wheel for sgmllib3k (setup.py) ... done
Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6061 sha256=9cde81d68b9536c8b213e7ac640b1f4991b0c582105604956d441e6f4017422b
Stored in directory: c:\users\dogle\appdata\local\pip\cache\wheels\d3\15\f8\0730bd2d837056f0837f75c08608cc1ed545004ddaa8090246
Successfully built rjsmin ffmpy sgmllib3k
Installing collected packages: sgmllib3k, rjsmin, pydub, protobuf, ffmpy, cymem, websockets, wasabi, termcolor, spacy-loggers, spacy-legacy, shellingham, semantic-version, python-multipart, python-docx, pyphen, pypdf2, PyMuPDFb, pyjwt, pydantic-core, orjson, murmurhash, Markdown, marisa-trie, latex2mathml, jiter, fsspec, flaml, feedparser, distro, diskcache, cloudpathlib, certifi, catalogue, cachetools, blis, annotated-types, uvicorn, textstat, starlette, srsly, rich, python-markdown-math, pymupdf, pymdown-extensions, pydantic, preshed, mdtex2html, language-data, httpcore, typer, tiktoken, langcodes, huggingface-hub, httpx, fastapi, edge-tts, docker, dashscope, confection, arxiv, altair, zhipuai, weasel, thinc, openai, gradio-client, anthropic, spacy, pyautogen, gradio, scipdf_parser
WARNING: The script markdown_py.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts l2m.exe and latex2mathml.exe are installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script distro.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script uvicorn.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pymupdf.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script typer.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script huggingface-cli.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script httpx.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts edge-playback.exe and edge-tts.exe are installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script dashscope.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script weasel.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script openai.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script spacy.exe is installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts gradio.exe and upload_theme.exe are installed in 'C:\Users\dogle\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
anaconda-cloud-auth 0.1.3 requires pydantic<2.0, but you have pydantic 2.5.2 which is incompatible.
s3fs 2023.4.0 requires fsspec==2023.4.0, but you have fsspec 2024.6.1 which is incompatible.
Successfully installed Markdown-3.6 PyMuPDFb-1.24.8 altair-5.3.0 annotated-types-0.7.0 anthropic-0.31.2 arxiv-2.1.0 blis-0.7.11 cachetools-5.4.0 catalogue-2.0.10 certifi-2024.7.4 cloudpathlib-0.18.1 confection-0.1.5 cymem-2.0.8 dashscope-1.20.3 diskcache-5.6.3 distro-1.9.0 docker-7.1.0 edge-tts-6.1.12 fastapi-0.110.0 feedparser-6.0.10 ffmpy-0.3.2 flaml-2.1.2 fsspec-2024.6.1 gradio-3.32.10 gradio-client-0.8.0 httpcore-1.0.5 httpx-0.27.0 huggingface-hub-0.24.1 jiter-0.5.0 langcodes-3.4.0 language-data-1.2.0 latex2mathml-3.77.0 marisa-trie-1.2.0 mdtex2html-1.3.0 murmurhash-1.0.10 openai-1.37.0 orjson-3.10.6 preshed-3.0.9 protobuf-3.18.0 pyautogen-0.2.32 pydantic-2.5.2 pydantic-core-2.14.5 pydub-0.25.1 pyjwt-2.8.0 pymdown-extensions-10.8.1 pymupdf-1.24.8 pypdf2-2.12.1 pyphen-0.15.0 python-docx-1.1.2 python-markdown-math-0.8 python-multipart-0.0.9 rich-13.7.1 rjsmin-1.2.2 scipdf_parser-0.52 semantic-version-2.10.0 sgmllib3k-1.0.0 shellingham-1.5.4 spacy-3.7.5 spacy-legacy-3.0.12 spacy-loggers-1.0.5 srsly-2.4.8 starlette-0.36.3 termcolor-2.4.0 textstat-0.7.4 thinc-8.2.5 tiktoken-0.7.0 typer-0.12.3 uvicorn-0.30.3 wasabi-1.1.3 weasel-0.4.1 websockets-11.0.3 zhipuai-2.0.1
- 启动
PS D:\studyfile\gpt\gpt_academic> python main.py
[PROXY] 网络代理状态:未配置。无代理状态下很可能无法访问OpenAI家族的模型。建议:检查USE_PROXY选项是否修改。
所有对话记录将自动保存在本地目录gpt_log\admin\chat_secrets.log, 请注意自我隐私保护哦!
代理配置 无, 代理所在地查询超时,代理可能无效
[API_KEY] 本项目现已支持OpenAI和Azure的api-key。也支持同时填写多个api-key,如API_KEY="openai-key1,openai-key2,azure-key3"
[API_KEY] 您既可以在config.py中修改api-key(s),也可以在问题输入区输入临时的api-key(s),然后回车键提交后即可生效。
[API_KEY] 您的 API_KEY 不满足任何一种已知的密钥格式,请在config文件中修改API密钥之后再运行。
如果浏览器没有自动打开,请复制并转到以下URL:
「暗色主题已启用(支持动态切换主题)」: http://localhost:50842
正在执行一些模块的预热 ...
正在加载tokenizer,如果是第一次运行,可能需要一点时间下载参数
加载tokenizer完毕
正在加载tokenizer,如果是第一次运行,可能需要一点时间下载参数
加载tokenizer完毕
-
测试
-
修改D:\studyfile\gpt\gpt_academic\config.py
API_KEY = "刚才获取的key"
API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://api.chatanywhere.tech/v1/chat/completions"}
- 重启测试