2023-11-25T01:23:57,798 Created temporary directory: /tmp/pip-build-tracker-eo_qcmso 2023-11-25T01:23:57,799 Initialized build tracking at /tmp/pip-build-tracker-eo_qcmso 2023-11-25T01:23:57,800 Created build tracker: /tmp/pip-build-tracker-eo_qcmso 2023-11-25T01:23:57,800 Entered build tracker: /tmp/pip-build-tracker-eo_qcmso 2023-11-25T01:23:57,801 Created temporary directory: /tmp/pip-wheel-na9fpjow 2023-11-25T01:23:57,804 Created temporary directory: /tmp/pip-ephem-wheel-cache-evycwo4w 2023-11-25T01:23:57,826 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-11-25T01:23:57,829 2 location(s) to search for versions of fourthdimension: 2023-11-25T01:23:57,829 * https://pypi.org/simple/fourthdimension/ 2023-11-25T01:23:57,829 * https://www.piwheels.org/simple/fourthdimension/ 2023-11-25T01:23:57,830 Fetching project page and analyzing links: https://pypi.org/simple/fourthdimension/ 2023-11-25T01:23:57,831 Getting page https://pypi.org/simple/fourthdimension/ 2023-11-25T01:23:57,832 Found index url https://pypi.org/simple/ 2023-11-25T01:23:58,229 Fetched page https://pypi.org/simple/fourthdimension/ as application/vnd.pypi.simple.v1+json 2023-11-25T01:23:58,232 Found link https://files.pythonhosted.org/packages/71/f6/6c1ba830ee2ca97cd95ba85c444c77aa9f6e09d7ab3048516947252e7504/FourthDimension-1.0.1.tar.gz (from https://pypi.org/simple/fourthdimension/) (requires-python:>=3.8), version: 1.0.1 2023-11-25T01:23:58,233 Found link https://files.pythonhosted.org/packages/ad/ba/bc1c74a5b97d26e0ac5ad43bb79966bad0728595889ee1343f908189f5ec/FourthDimension-1.0.3.tar.gz (from https://pypi.org/simple/fourthdimension/) (requires-python:>=3.8), version: 1.0.3 2023-11-25T01:23:58,234 Found link https://files.pythonhosted.org/packages/47/31/11111cc993089a21064413a8c6183362d8630d5ba746daef686e6c364b2f/FourthDimension-1.0.4.tar.gz (from https://pypi.org/simple/fourthdimension/) (requires-python:>=3.8), version: 1.0.4 2023-11-25T01:23:58,235 Found link https://files.pythonhosted.org/packages/d6/02/f96557f9e8c060fb1b7142f73f7a3c5cf4573431613cdff6df9829db9692/FourthDimension-1.0.5b1.tar.gz (from https://pypi.org/simple/fourthdimension/) (requires-python:>=3.8), version: 1.0.5b1 2023-11-25T01:23:58,235 Found link https://files.pythonhosted.org/packages/a0/e4/540b8218af20b94028b33d770173caa4fadb05f9f0bcc9c47039278c9141/FourthDimension-1.0.6.tar.gz (from https://pypi.org/simple/fourthdimension/) (requires-python:>=3.8), version: 1.0.6 2023-11-25T01:23:58,236 Found link https://files.pythonhosted.org/packages/17/43/7fc255b69cd1565441fef6b219026a831348bc4c36d32b264449e702df10/FourthDimension-1.0.7b1.tar.gz (from https://pypi.org/simple/fourthdimension/) (requires-python:>=3.8), version: 1.0.7b1 2023-11-25T01:23:58,237 Found link https://files.pythonhosted.org/packages/b6/b3/a0b3baac8818bc50a81e7b340539de6fca2658f688f46e7b5284478b6d44/FourthDimension-1.0.7b2.tar.gz (from https://pypi.org/simple/fourthdimension/), version: 1.0.7b2 2023-11-25T01:23:58,238 Found link https://files.pythonhosted.org/packages/cb/04/eea3f060a91d3189c7f9c6dfe806a47ddebf6ed788fd8541eb325d65bff2/FourthDimension-1.0.7.tar.gz (from https://pypi.org/simple/fourthdimension/) (requires-python:>=3.8), version: 1.0.7 2023-11-25T01:23:58,239 Fetching project page and analyzing links: https://www.piwheels.org/simple/fourthdimension/ 2023-11-25T01:23:58,240 Getting page https://www.piwheels.org/simple/fourthdimension/ 2023-11-25T01:23:58,241 Found index url https://www.piwheels.org/simple/ 2023-11-25T01:23:58,399 Fetched page https://www.piwheels.org/simple/fourthdimension/ as text/html 2023-11-25T01:23:58,401 Skipping link: not a file: https://www.piwheels.org/simple/fourthdimension/ 2023-11-25T01:23:58,401 Skipping link: not a file: https://pypi.org/simple/fourthdimension/ 2023-11-25T01:23:58,421 Given no hashes to check 1 links for project 'fourthdimension': discarding no candidates 2023-11-25T01:23:58,439 Collecting fourthdimension==1.0.4 2023-11-25T01:23:58,441 Created temporary directory: /tmp/pip-unpack-_wlq0rr3 2023-11-25T01:23:58,579 Downloading FourthDimension-1.0.4.tar.gz (33 kB) 2023-11-25T01:23:58,680 Added fourthdimension==1.0.4 from https://files.pythonhosted.org/packages/47/31/11111cc993089a21064413a8c6183362d8630d5ba746daef686e6c364b2f/FourthDimension-1.0.4.tar.gz to build tracker '/tmp/pip-build-tracker-eo_qcmso' 2023-11-25T01:23:58,686 Created temporary directory: /tmp/pip-build-env-eujxocsj 2023-11-25T01:23:58,690 Installing build dependencies: started 2023-11-25T01:23:58,692 Running command pip subprocess to install build dependencies 2023-11-25T01:23:59,830 Using pip 23.3.1 from /usr/local/lib/python3.11/dist-packages/pip (python 3.11) 2023-11-25T01:24:00,328 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-11-25T01:24:01,764 Collecting setuptools 2023-11-25T01:24:01,765 Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/e1/ed2dd0850446b8697ad28d118df885ad04140c64ace06c4bd559f7c8a94f/setuptools-69.0.2-py3-none-any.whl.metadata 2023-11-25T01:24:01,771 Using cached setuptools-69.0.2-py3-none-any.whl.metadata (6.3 kB) 2023-11-25T01:24:02,046 Collecting setuptools-scm 2023-11-25T01:24:02,060 Using cached https://www.piwheels.org/simple/setuptools-scm/setuptools_scm-8.0.4-py3-none-any.whl (42 kB) 2023-11-25T01:24:02,253 Collecting wheel 2023-11-25T01:24:02,267 Using cached https://www.piwheels.org/simple/wheel/wheel-0.41.3-py3-none-any.whl (65 kB) 2023-11-25T01:24:02,411 Collecting twine 2023-11-25T01:24:02,423 Downloading https://www.piwheels.org/simple/twine/twine-4.0.2-py3-none-any.whl (36 kB) 2023-11-25T01:24:02,758 Collecting packaging>=20 (from setuptools-scm) 2023-11-25T01:24:02,772 Using cached https://www.piwheels.org/simple/packaging/packaging-23.2-py3-none-any.whl (53 kB) 2023-11-25T01:24:02,894 Collecting typing-extensions (from setuptools-scm) 2023-11-25T01:24:02,908 Using cached https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.8.0-py3-none-any.whl (31 kB) 2023-11-25T01:24:03,049 Collecting pkginfo>=1.8.1 (from twine) 2023-11-25T01:24:03,063 Using cached https://www.piwheels.org/simple/pkginfo/pkginfo-1.9.6-py3-none-any.whl (30 kB) 2023-11-25T01:24:03,173 Collecting readme-renderer>=35.0 (from twine) 2023-11-25T01:24:03,186 Downloading https://www.piwheels.org/simple/readme-renderer/readme_renderer-42.0-py3-none-any.whl (13 kB) 2023-11-25T01:24:03,423 Collecting requests>=2.20 (from twine) 2023-11-25T01:24:03,437 Using cached https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB) 2023-11-25T01:24:03,533 Collecting requests-toolbelt!=0.9.0,>=0.8.0 (from twine) 2023-11-25T01:24:03,547 Using cached https://www.piwheels.org/simple/requests-toolbelt/requests_toolbelt-1.0.0-py2.py3-none-any.whl (51 kB) 2023-11-25T01:24:03,805 Collecting urllib3>=1.26.0 (from twine) 2023-11-25T01:24:03,820 Using cached https://www.piwheels.org/simple/urllib3/urllib3-2.1.0-py3-none-any.whl (104 kB) 2023-11-25T01:24:04,158 Collecting importlib-metadata>=3.6 (from twine) 2023-11-25T01:24:04,172 Using cached https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-6.8.0-py3-none-any.whl (22 kB) 2023-11-25T01:24:04,560 Collecting keyring>=15.1 (from twine) 2023-11-25T01:24:04,576 Using cached https://www.piwheels.org/simple/keyring/keyring-24.3.0-py3-none-any.whl (38 kB) 2023-11-25T01:24:04,659 Collecting rfc3986>=1.4.0 (from twine) 2023-11-25T01:24:04,672 Downloading https://www.piwheels.org/simple/rfc3986/rfc3986-2.0.0-py2.py3-none-any.whl (31 kB) 2023-11-25T01:24:05,146 Collecting rich>=12.0.0 (from twine) 2023-11-25T01:24:05,156 Downloading https://www.piwheels.org/simple/rich/rich-13.7.0-py3-none-any.whl (240 kB) 2023-11-25T01:24:05,190 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.6/240.6 kB 9.3 MB/s eta 0:00:00 2023-11-25T01:24:05,423 Collecting zipp>=0.5 (from importlib-metadata>=3.6->twine) 2023-11-25T01:24:05,438 Using cached https://www.piwheels.org/simple/zipp/zipp-3.17.0-py3-none-any.whl (7.4 kB) 2023-11-25T01:24:05,602 Collecting jaraco.classes (from keyring>=15.1->twine) 2023-11-25T01:24:05,619 Using cached https://www.piwheels.org/simple/jaraco-classes/jaraco.classes-3.3.0-py3-none-any.whl (5.9 kB) 2023-11-25T01:24:05,755 Collecting SecretStorage>=3.2 (from keyring>=15.1->twine) 2023-11-25T01:24:05,770 Using cached https://www.piwheels.org/simple/secretstorage/SecretStorage-3.3.3-py3-none-any.whl (15 kB) 2023-11-25T01:24:05,852 Collecting jeepney>=0.4.2 (from keyring>=15.1->twine) 2023-11-25T01:24:05,867 Using cached https://www.piwheels.org/simple/jeepney/jeepney-0.8.0-py3-none-any.whl (48 kB) 2023-11-25T01:24:06,048 Collecting nh3>=0.2.14 (from readme-renderer>=35.0->twine) 2023-11-25T01:24:06,049 Obtaining dependency information for nh3>=0.2.14 from https://files.pythonhosted.org/packages/18/39/f0f92819fc15f66fa0b1a3080b7cc95e106e8ba4c09287ab99237dc9eda4/nh3-0.2.14-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.metadata 2023-11-25T01:24:06,179 Downloading nh3-0.2.14-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.metadata (1.6 kB) 2023-11-25T01:24:06,324 Collecting docutils>=0.13.1 (from readme-renderer>=35.0->twine) 2023-11-25T01:24:06,337 Downloading https://www.piwheels.org/simple/docutils/docutils-0.20.1-py3-none-any.whl (572 kB) 2023-11-25T01:24:06,404 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 9.7 MB/s eta 0:00:00 2023-11-25T01:24:06,582 Collecting Pygments>=2.5.1 (from readme-renderer>=35.0->twine) 2023-11-25T01:24:06,583 Obtaining dependency information for Pygments>=2.5.1 from https://files.pythonhosted.org/packages/97/9c/372fef8377a6e340b1704768d20daaded98bf13282b5327beb2e2fe2c7ef/pygments-2.17.2-py3-none-any.whl.metadata 2023-11-25T01:24:06,589 Using cached pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) 2023-11-25T01:24:06,977 Collecting charset-normalizer<4,>=2 (from requests>=2.20->twine) 2023-11-25T01:24:06,993 Using cached https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.3.2-py3-none-any.whl (48 kB) 2023-11-25T01:24:07,092 Collecting idna<4,>=2.5 (from requests>=2.20->twine) 2023-11-25T01:24:07,092 Obtaining dependency information for idna<4,>=2.5 from https://files.pythonhosted.org/packages/ea/65/9c7a31be86861d43da3d4f8661f677b38120320540773a04979ad6fa9ecd/idna-3.5-py3-none-any.whl.metadata 2023-11-25T01:24:07,098 Using cached idna-3.5-py3-none-any.whl.metadata (9.9 kB) 2023-11-25T01:24:07,290 Collecting certifi>=2017.4.17 (from requests>=2.20->twine) 2023-11-25T01:24:07,304 Using cached https://www.piwheels.org/simple/certifi/certifi-2023.11.17-py3-none-any.whl (162 kB) 2023-11-25T01:24:07,578 Collecting markdown-it-py>=2.2.0 (from rich>=12.0.0->twine) 2023-11-25T01:24:07,589 Downloading https://www.piwheels.org/simple/markdown-it-py/markdown_it_py-3.0.0-py3-none-any.whl (87 kB) 2023-11-25T01:24:07,610 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 6.3 MB/s eta 0:00:00 2023-11-25T01:24:07,912 Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=12.0.0->twine) 2023-11-25T01:24:07,921 Downloading https://www.piwheels.org/simple/mdurl/mdurl-0.1.2-py3-none-any.whl (10.0 kB) 2023-11-25T01:24:08,847 Collecting cryptography>=2.0 (from SecretStorage>=3.2->keyring>=15.1->twine) 2023-11-25T01:24:08,861 Using cached https://www.piwheels.org/simple/cryptography/cryptography-41.0.5-cp311-cp311-linux_armv7l.whl (2.2 MB) 2023-11-25T01:24:09,184 Collecting more-itertools (from jaraco.classes->keyring>=15.1->twine) 2023-11-25T01:24:09,201 Using cached https://www.piwheels.org/simple/more-itertools/more_itertools-10.1.0-py3-none-any.whl (55 kB) 2023-11-25T01:24:09,860 Collecting cffi>=1.12 (from cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine) 2023-11-25T01:24:09,875 Using cached https://www.piwheels.org/simple/cffi/cffi-1.16.0-cp311-cp311-linux_armv7l.whl (382 kB) 2023-11-25T01:24:10,017 Collecting pycparser (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine) 2023-11-25T01:24:10,031 Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB) 2023-11-25T01:24:10,083 Using cached setuptools-69.0.2-py3-none-any.whl (819 kB) 2023-11-25T01:24:10,112 Using cached idna-3.5-py3-none-any.whl (61 kB) 2023-11-25T01:24:10,128 Downloading nh3-0.2.14-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.7 MB) 2023-11-25T01:24:10,285 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 11.2 MB/s eta 0:00:00 2023-11-25T01:24:10,309 Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB) 2023-11-25T01:24:13,451 Installing collected packages: nh3, zipp, wheel, urllib3, typing-extensions, setuptools, rfc3986, Pygments, pycparser, pkginfo, packaging, more-itertools, mdurl, jeepney, idna, docutils, charset-normalizer, certifi, setuptools-scm, requests, readme-renderer, markdown-it-py, jaraco.classes, importlib-metadata, cffi, rich, requests-toolbelt, cryptography, SecretStorage, keyring, twine 2023-11-25T01:24:13,874 Creating /tmp/pip-build-env-eujxocsj/overlay/local/bin 2023-11-25T01:24:13,876 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/wheel to 755 2023-11-25T01:24:19,947 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/pygmentize to 755 2023-11-25T01:24:20,594 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/pkginfo to 755 2023-11-25T01:24:22,798 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/docutils to 755 2023-11-25T01:24:22,942 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/normalizer to 755 2023-11-25T01:24:23,768 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/markdown-it to 755 2023-11-25T01:24:26,259 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/keyring to 755 2023-11-25T01:24:26,378 changing mode of /tmp/pip-build-env-eujxocsj/overlay/local/bin/twine to 755 2023-11-25T01:24:27,065 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. 2023-11-25T01:24:27,066 conan 2.0.14 requires urllib3<1.27,>=1.26.6, but you have urllib3 2.1.0 which is incompatible. 2023-11-25T01:24:27,067 Successfully installed Pygments-2.17.2 SecretStorage-3.3.3 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 cryptography-41.0.5 docutils-0.20.1 idna-3.5 importlib-metadata-6.8.0 jaraco.classes-3.3.0 jeepney-0.8.0 keyring-24.3.0 markdown-it-py-3.0.0 mdurl-0.1.2 more-itertools-10.1.0 nh3-0.2.14 packaging-23.2 pkginfo-1.9.6 pycparser-2.21 readme-renderer-42.0 requests-2.31.0 requests-toolbelt-1.0.0 rfc3986-2.0.0 rich-13.7.0 setuptools-69.0.2 setuptools-scm-8.0.4 twine-4.0.2 typing-extensions-4.8.0 urllib3-2.1.0 wheel-0.41.3 zipp-3.17.0 2023-11-25T01:24:27,883 Installing build dependencies: finished with status 'done' 2023-11-25T01:24:27,886 Getting requirements to build wheel: started 2023-11-25T01:24:27,887 Running command Getting requirements to build wheel 2023-11-25T01:24:28,679 /tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `readme` defined outside of `pyproject.toml` is ignored. 2023-11-25T01:24:28,680 !! 2023-11-25T01:24:28,681 ******************************************************************************** 2023-11-25T01:24:28,682 The following seems to be defined outside of `pyproject.toml`: 2023-11-25T01:24:28,683 `readme = '# 工具介绍\nFourthDimension(第四维度)由华中科技大学人工智能与嵌入式实验室联合言图科技研发,是一款基于大语言模型的智能检索增强生成(RAG)系统,提供私域知识库、文档问答等多种服务。此外,FourthDimension提供便捷的本地部署方法,方便用户在本地环境中搭建属于自己的应用平台。\n\n### 工具特点\n支持在线调用和本地部署,可选装不同的Embedding模型和答案生成模型,支持构建私域知识库,实现知识库问答。\n\n### 主要服务\n* 私域知识库\n* 知识库问答\n* 向量存储与检索\n* 检索增强生成\n\n# 工具使用\n\n### 前置依赖项\n- Anaconda3 \n\n> 使用前请检查Anaconda是否安装,若未安装可参照以下教程进行安装。 \n> [Anaconda详细安装过程](https://blog.csdn.net/weixin_43858830/article/details/134310118?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22134310118%22%2C%22source%22%3A%22weixin_43858830%22%7D)\n\n### 快速上手\n\n1. 克隆项目Gitee库\n```\nmkdir FourthDimension\ncd FourthDimension\ngit clone https://gitee.com/hustai/FourthDimension ./\n```\n2. 创建Conda虚拟环境\n> python版本号要求 >= 3.8.1 ,<4.0\n```\nconda create -n FourthDimension python==3.8.1\nconda activate FourthDimension\n```\n3. 安装FourthDimension \n3.1 安装前置依赖\n> 默认使用清华源\n```\npip install -r dependencies.txt -i https://pypi.tuna.tsinghua.edu.cn/simple\n```\n       3.2 安装FourthDimension \n```\nsh FourthDimension.sh install\n```\n\n4. 启动FourthDimension\n> 如需重启服务请将start参数替换为restart\n```\nsh FourthDimension.sh start\n```\n\n5. 使用FourthDimension \n\n>config.json为FourthDimension配置文件,在使用FourthDimension时请将config.json置于脚本文件同级目录下\n\n       5.1 导入文档示例代码\n```text\nimport FourthDimension \n# 传入文档路径或文件夹路径,目前支持的文档类型仅为doc、docx\nresult = FourthDimension.upload(\'./data/example/\')\nprint(result)\n```\n       5.2 检索增强生成(问答)示例代码\n```text\nimport FourthDimension\n# 传入检索增强生成的问题\nanswer = FourthDimension.query(\'什么是活期存款\')\nprint(answer)\n```\n       5.3 config.json文件说明 \n> 使用config.json时请确保文件内无任何注释\n```text\n{\n //文档文本存储方式,本例中选择elasticsearch\n "word_storage": "elasticsearch",\n\n //文档向量存储方式,本例中选择faiss\n "embedding_storage": "faiss",\n\n //检索方式,\n "search_select": "default",\n\n //embedding模型,本例中选择bge-large-zh-v1.5\n "embedding_model": "bge-large-zh-v1.5",\n\n //答案生成模型,本例中选择gpt-3.5-turbo-16k\n "answer_generation_model": "gpt-3.5-turbo-16k",\n\n //openai配置\n "openai": {\n //请在此处配置您的api key\n "api_key": "",\n //默认使用openai官方接口,可根据需求进行修改\n "url": "https://api.openai.com/v1"\n },\n\n //文档划分设置\n "para_config": {\n //文档划分段落长度,本例中设置为500\n "chunk_size": 500,\n //文档划分重叠度,本例中设置为20\n "overlap": 20\n },\n\n //召回设置\n "recall_config": {\n //指定使用多少召回结果进行答案生成,本例中设置为10\n "top_k": 10\n },\n\n //Elasticsearch设置\n "elasticsearch_setting": {\n //默认索引名称,可根据需求进行修改,本例中设置为index\n "index_name": "index",\n //默认为localhost,可根据具体需求修改,本例中设置为localhost\n "host": "localhost",\n "port": 9200,\n //若存在安全认证,则填写用户名和密码\n "username": "",\n "password": "",\n //Elasticsearch分词器,本例中设置为standard\n "analyzer": "standard"\n },\n\n //Faiss设置\n "faiss_setting": {\n //索引方式\n "retrieval_way": "IndexFlatL2"\n }\n}\n```\n# 论坛交流\n微信群二维码\n\n# 相关知识\n- [基于检索增强的文本生成](https://hustai.gitee.io/zh/posts/rag/RetrieveTextGeneration.html)\n\n- [如何通过大模型实现外挂知识库优化](https://hustai.gitee.io/zh/posts/rag/LLMretrieval.html)\n\n [更多相关知识分享————网站链接](https://hustai.tech/zh/)\n\n\n'` 2023-11-25T01:24:28,684 According to the spec (see the link below), however, setuptools CANNOT 2023-11-25T01:24:28,685 consider this value unless `readme` is listed as `dynamic`. 2023-11-25T01:24:28,686 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-11-25T01:24:28,686 To prevent this problem, you can list `readme` under `dynamic` or alternatively 2023-11-25T01:24:28,687 remove the `[project]` table from your file and rely entirely on other means of 2023-11-25T01:24:28,688 configuration. 2023-11-25T01:24:28,688 ******************************************************************************** 2023-11-25T01:24:28,689 !! 2023-11-25T01:24:28,689 _handle_missing_dynamic(dist, project_table) 2023-11-25T01:24:28,690 /tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `classifiers` defined outside of `pyproject.toml` is ignored. 2023-11-25T01:24:28,691 !! 2023-11-25T01:24:28,693 ******************************************************************************** 2023-11-25T01:24:28,693 The following seems to be defined outside of `pyproject.toml`: 2023-11-25T01:24:28,695 `classifiers = ['Intended Audience :: Developers', 'Programming Language :: Python :: 3']` 2023-11-25T01:24:28,696 According to the spec (see the link below), however, setuptools CANNOT 2023-11-25T01:24:28,697 consider this value unless `classifiers` is listed as `dynamic`. 2023-11-25T01:24:28,698 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-11-25T01:24:28,700 To prevent this problem, you can list `classifiers` under `dynamic` or alternatively 2023-11-25T01:24:28,701 remove the `[project]` table from your file and rely entirely on other means of 2023-11-25T01:24:28,702 configuration. 2023-11-25T01:24:28,702 ******************************************************************************** 2023-11-25T01:24:28,704 !! 2023-11-25T01:24:28,705 _handle_missing_dynamic(dist, project_table) 2023-11-25T01:24:28,706 Traceback (most recent call last): 2023-11-25T01:24:28,707 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 2023-11-25T01:24:28,708 main() 2023-11-25T01:24:28,708 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 2023-11-25T01:24:28,709 json_out['return_val'] = hook(**hook_input['kwargs']) 2023-11-25T01:24:28,710 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,711 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel 2023-11-25T01:24:28,712 return hook(config_settings) 2023-11-25T01:24:28,713 ^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,713 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel 2023-11-25T01:24:28,714 return self._get_build_requires(config_settings, requirements=['wheel']) 2023-11-25T01:24:28,715 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,716 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/build_meta.py", line 295, in _get_build_requires 2023-11-25T01:24:28,717 self.run_setup() 2023-11-25T01:24:28,718 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/build_meta.py", line 311, in run_setup 2023-11-25T01:24:28,719 exec(code, locals()) 2023-11-25T01:24:28,719 File "", line 6, in 2023-11-25T01:24:28,720 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-11-25T01:24:28,721 return distutils.core.setup(**attrs) 2023-11-25T01:24:28,722 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,723 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 159, in setup 2023-11-25T01:24:28,724 dist.parse_config_files() 2023-11-25T01:24:28,725 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py", line 627, in parse_config_files 2023-11-25T01:24:28,725 pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) 2023-11-25T01:24:28,726 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/config/pyprojecttoml.py", line 67, in apply_configuration 2023-11-25T01:24:28,727 return _apply(dist, config, filepath) 2023-11-25T01:24:28,728 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,728 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py", line 56, in apply 2023-11-25T01:24:28,729 _apply_project_table(dist, config, root_dir) 2023-11-25T01:24:28,730 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py", line 82, in _apply_project_table 2023-11-25T01:24:28,731 corresp(dist, value, root_dir) 2023-11-25T01:24:28,731 File "/tmp/pip-build-env-eujxocsj/overlay/local/lib/python3.11/dist-packages/setuptools/config/_apply_pyprojecttoml.py", line 163, in _long_description 2023-11-25T01:24:28,732 file = val.get("file") or [] 2023-11-25T01:24:28,733 ^^^^^^^ 2023-11-25T01:24:28,734 AttributeError: 'NoneType' object has no attribute 'get' 2023-11-25T01:24:28,802 ERROR: Getting requirements to build wheel exited with 1 2023-11-25T01:24:28,815 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp9p3b9r4k[/] 2023-11-25T01:24:28,816 [bold magenta]cwd[/]: /tmp/pip-wheel-na9fpjow/fourthdimension_cf5ffc3c890b4d05a50c4cfbac314610 2023-11-25T01:24:28,817 Getting requirements to build wheel: finished with status 'error' 2023-11-25T01:24:28,819 ERROR: Getting requirements to build wheel exited with 1 2023-11-25T01:24:28,824 Exception information: 2023-11-25T01:24:28,824 Traceback (most recent call last): 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-11-25T01:24:28,824 status = run_func(*args) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2023-11-25T01:24:28,824 return func(self, options, args) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-11-25T01:24:28,824 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2023-11-25T01:24:28,824 result = self._result = resolver.resolve( 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-11-25T01:24:28,824 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-11-25T01:24:28,824 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-11-25T01:24:28,824 if not criterion.candidates: 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-11-25T01:24:28,824 return bool(self._sequence) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-11-25T01:24:28,824 return any(self) 2023-11-25T01:24:28,824 ^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-11-25T01:24:28,824 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-11-25T01:24:28,824 candidate = func() 2023-11-25T01:24:28,824 ^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2023-11-25T01:24:28,824 self._link_candidate_cache[link] = LinkCandidate( 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-11-25T01:24:28,824 super().__init__( 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-11-25T01:24:28,824 self.dist = self._prepare() 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-11-25T01:24:28,824 dist = self._prepare_distribution() 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-11-25T01:24:28,824 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2023-11-25T01:24:28,824 return self._prepare_linked_requirement(req, parallel_builds) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2023-11-25T01:24:28,824 dist = _get_prepared_distribution( 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2023-11-25T01:24:28,824 abstract_dist.prepare_distribution_metadata( 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 54, in prepare_distribution_metadata 2023-11-25T01:24:28,824 self._install_build_reqs(finder) 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 124, in _install_build_reqs 2023-11-25T01:24:28,824 build_reqs = self._get_build_requires_wheel() 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 101, in _get_build_requires_wheel 2023-11-25T01:24:28,824 return backend.get_requires_for_build_wheel() 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/misc.py", line 751, in get_requires_for_build_wheel 2023-11-25T01:24:28,824 return super().get_requires_for_build_wheel(config_settings=cs) 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_impl.py", line 166, in get_requires_for_build_wheel 2023-11-25T01:24:28,824 return self._call_hook('get_requires_for_build_wheel', { 2023-11-25T01:24:28,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_impl.py", line 311, in _call_hook 2023-11-25T01:24:28,824 self._subprocess_runner( 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 252, in runner 2023-11-25T01:24:28,824 call_subprocess( 2023-11-25T01:24:28,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-11-25T01:24:28,824 raise error 2023-11-25T01:24:28,824 pip._internal.exceptions.InstallationSubprocessError: Getting requirements to build wheel exited with 1 2023-11-25T01:24:28,838 Removed fourthdimension==1.0.4 from https://files.pythonhosted.org/packages/47/31/11111cc993089a21064413a8c6183362d8630d5ba746daef686e6c364b2f/FourthDimension-1.0.4.tar.gz from build tracker '/tmp/pip-build-tracker-eo_qcmso' 2023-11-25T01:24:28,839 Removed build tracker: '/tmp/pip-build-tracker-eo_qcmso'