2023-11-23T10:04:51,723 Created temporary directory: /tmp/pip-build-tracker-iubk1c4f 2023-11-23T10:04:51,725 Initialized build tracking at /tmp/pip-build-tracker-iubk1c4f 2023-11-23T10:04:51,725 Created build tracker: /tmp/pip-build-tracker-iubk1c4f 2023-11-23T10:04:51,725 Entered build tracker: /tmp/pip-build-tracker-iubk1c4f 2023-11-23T10:04:51,726 Created temporary directory: /tmp/pip-wheel-q3rq3lt6 2023-11-23T10:04:51,730 Created temporary directory: /tmp/pip-ephem-wheel-cache-db8bfmco 2023-11-23T10:04:51,754 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-11-23T10:04:51,758 2 location(s) to search for versions of fourthdimension: 2023-11-23T10:04:51,758 * https://pypi.org/simple/fourthdimension/ 2023-11-23T10:04:51,758 * https://www.piwheels.org/simple/fourthdimension/ 2023-11-23T10:04:51,758 Fetching project page and analyzing links: https://pypi.org/simple/fourthdimension/ 2023-11-23T10:04:51,759 Getting page https://pypi.org/simple/fourthdimension/ 2023-11-23T10:04:51,760 Found index url https://pypi.org/simple/ 2023-11-23T10:04:51,812 Fetched page https://pypi.org/simple/fourthdimension/ as application/vnd.pypi.simple.v1+json 2023-11-23T10:04:51,814 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-23T10:04:51,815 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-23T10:04:51,816 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-23T10:04:51,816 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-23T10:04:51,817 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-23T10:04:51,817 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-23T10:04:51,818 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-23T10:04:51,818 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-23T10:04:51,819 Fetching project page and analyzing links: https://www.piwheels.org/simple/fourthdimension/ 2023-11-23T10:04:51,819 Getting page https://www.piwheels.org/simple/fourthdimension/ 2023-11-23T10:04:51,820 Found index url https://www.piwheels.org/simple/ 2023-11-23T10:04:51,881 Fetched page https://www.piwheels.org/simple/fourthdimension/ as text/html 2023-11-23T10:04:51,882 Skipping link: not a file: https://www.piwheels.org/simple/fourthdimension/ 2023-11-23T10:04:51,882 Skipping link: not a file: https://pypi.org/simple/fourthdimension/ 2023-11-23T10:04:51,900 Given no hashes to check 1 links for project 'fourthdimension': discarding no candidates 2023-11-23T10:04:51,917 Collecting fourthdimension==1.0.1 2023-11-23T10:04:51,919 Created temporary directory: /tmp/pip-unpack-w2hx3q3u 2023-11-23T10:04:51,962 Downloading FourthDimension-1.0.1.tar.gz (17 kB) 2023-11-23T10:04:52,042 Added fourthdimension==1.0.1 from https://files.pythonhosted.org/packages/71/f6/6c1ba830ee2ca97cd95ba85c444c77aa9f6e09d7ab3048516947252e7504/FourthDimension-1.0.1.tar.gz to build tracker '/tmp/pip-build-tracker-iubk1c4f' 2023-11-23T10:04:52,048 Created temporary directory: /tmp/pip-build-env-z18ugtd5 2023-11-23T10:04:52,058 Installing build dependencies: started 2023-11-23T10:04:52,058 Running command pip subprocess to install build dependencies 2023-11-23T10:04:53,269 Using pip 23.3 from /home/piwheels/.local/lib/python3.9/site-packages/pip (python 3.9) 2023-11-23T10:04:53,823 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-11-23T10:04:55,460 Collecting setuptools 2023-11-23T10:04:55,461 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-23T10:04:55,468 Using cached setuptools-69.0.2-py3-none-any.whl.metadata (6.3 kB) 2023-11-23T10:04:55,771 Collecting setuptools-scm 2023-11-23T10:04:55,786 Using cached https://www.piwheels.org/simple/setuptools-scm/setuptools_scm-8.0.4-py3-none-any.whl (42 kB) 2023-11-23T10:04:55,999 Collecting wheel 2023-11-23T10:04:56,014 Using cached https://www.piwheels.org/simple/wheel/wheel-0.41.3-py3-none-any.whl (65 kB) 2023-11-23T10:04:56,173 Collecting twine 2023-11-23T10:04:56,190 Using cached https://www.piwheels.org/simple/twine/twine-4.0.2-py3-none-any.whl (36 kB) 2023-11-23T10:04:56,561 Collecting packaging>=20 (from setuptools-scm) 2023-11-23T10:04:56,577 Using cached https://www.piwheels.org/simple/packaging/packaging-23.2-py3-none-any.whl (53 kB) 2023-11-23T10:04:56,699 Collecting typing-extensions (from setuptools-scm) 2023-11-23T10:04:56,715 Using cached https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.8.0-py3-none-any.whl (31 kB) 2023-11-23T10:04:56,825 Collecting tomli>=1 (from setuptools-scm) 2023-11-23T10:04:56,841 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2023-11-23T10:04:57,000 Collecting pkginfo>=1.8.1 (from twine) 2023-11-23T10:04:57,016 Using cached https://www.piwheels.org/simple/pkginfo/pkginfo-1.9.6-py3-none-any.whl (30 kB) 2023-11-23T10:04:57,140 Collecting readme-renderer>=35.0 (from twine) 2023-11-23T10:04:57,158 Using cached https://www.piwheels.org/simple/readme-renderer/readme_renderer-42.0-py3-none-any.whl (13 kB) 2023-11-23T10:04:57,409 Collecting requests>=2.20 (from twine) 2023-11-23T10:04:57,425 Using cached https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB) 2023-11-23T10:04:57,534 Collecting requests-toolbelt!=0.9.0,>=0.8.0 (from twine) 2023-11-23T10:04:57,550 Using cached https://www.piwheels.org/simple/requests-toolbelt/requests_toolbelt-1.0.0-py2.py3-none-any.whl (51 kB) 2023-11-23T10:04:57,851 Collecting urllib3>=1.26.0 (from twine) 2023-11-23T10:04:57,868 Using cached https://www.piwheels.org/simple/urllib3/urllib3-2.1.0-py3-none-any.whl (104 kB) 2023-11-23T10:04:58,246 Collecting importlib-metadata>=3.6 (from twine) 2023-11-23T10:04:58,263 Using cached https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-6.8.0-py3-none-any.whl (22 kB) 2023-11-23T10:04:58,694 Collecting keyring>=15.1 (from twine) 2023-11-23T10:04:58,706 Downloading https://www.piwheels.org/simple/keyring/keyring-24.3.0-py3-none-any.whl (38 kB) 2023-11-23T10:04:58,805 Collecting rfc3986>=1.4.0 (from twine) 2023-11-23T10:04:58,824 Using cached https://www.piwheels.org/simple/rfc3986/rfc3986-2.0.0-py2.py3-none-any.whl (31 kB) 2023-11-23T10:04:59,354 Collecting rich>=12.0.0 (from twine) 2023-11-23T10:04:59,355 Obtaining dependency information for rich>=12.0.0 from https://files.pythonhosted.org/packages/be/be/1520178fa01eabe014b16e72a952b9f900631142ccd03dc36cf93e30c1ce/rich-13.7.0-py3-none-any.whl.metadata 2023-11-23T10:04:59,399 Downloading rich-13.7.0-py3-none-any.whl.metadata (18 kB) 2023-11-23T10:04:59,658 Collecting zipp>=0.5 (from importlib-metadata>=3.6->twine) 2023-11-23T10:04:59,673 Using cached https://www.piwheels.org/simple/zipp/zipp-3.17.0-py3-none-any.whl (7.4 kB) 2023-11-23T10:04:59,851 Collecting jaraco.classes (from keyring>=15.1->twine) 2023-11-23T10:04:59,868 Using cached https://www.piwheels.org/simple/jaraco-classes/jaraco.classes-3.3.0-py3-none-any.whl (5.9 kB) 2023-11-23T10:05:00,022 Collecting SecretStorage>=3.2 (from keyring>=15.1->twine) 2023-11-23T10:05:00,040 Using cached https://www.piwheels.org/simple/secretstorage/SecretStorage-3.3.3-py3-none-any.whl (15 kB) 2023-11-23T10:05:00,131 Collecting jeepney>=0.4.2 (from keyring>=15.1->twine) 2023-11-23T10:05:00,147 Using cached https://www.piwheels.org/simple/jeepney/jeepney-0.8.0-py3-none-any.whl (48 kB) 2023-11-23T10:05:00,355 Collecting nh3>=0.2.14 (from readme-renderer>=35.0->twine) 2023-11-23T10:05:00,356 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-23T10:05:00,364 Using cached nh3-0.2.14-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.metadata (1.6 kB) 2023-11-23T10:05:00,507 Collecting docutils>=0.13.1 (from readme-renderer>=35.0->twine) 2023-11-23T10:05:00,525 Using cached https://www.piwheels.org/simple/docutils/docutils-0.20.1-py3-none-any.whl (572 kB) 2023-11-23T10:05:00,728 Collecting Pygments>=2.5.1 (from readme-renderer>=35.0->twine) 2023-11-23T10:05:00,729 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-23T10:05:00,736 Using cached pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) 2023-11-23T10:05:01,153 Collecting charset-normalizer<4,>=2 (from requests>=2.20->twine) 2023-11-23T10:05:01,170 Using cached https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.3.2-py3-none-any.whl (48 kB) 2023-11-23T10:05:01,274 Collecting idna<4,>=2.5 (from requests>=2.20->twine) 2023-11-23T10:05:01,288 Using cached https://www.piwheels.org/simple/idna/idna-3.4-py3-none-any.whl (61 kB) 2023-11-23T10:05:01,498 Collecting certifi>=2017.4.17 (from requests>=2.20->twine) 2023-11-23T10:05:01,499 Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/64/62/428ef076be88fa93716b576e4a01f919d25968913e817077a386fcbe4f42/certifi-2023.11.17-py3-none-any.whl.metadata 2023-11-23T10:05:01,505 Using cached certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB) 2023-11-23T10:05:01,817 Collecting markdown-it-py>=2.2.0 (from rich>=12.0.0->twine) 2023-11-23T10:05:01,834 Using cached https://www.piwheels.org/simple/markdown-it-py/markdown_it_py-3.0.0-py3-none-any.whl (87 kB) 2023-11-23T10:05:02,207 Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=12.0.0->twine) 2023-11-23T10:05:02,224 Using cached https://www.piwheels.org/simple/mdurl/mdurl-0.1.2-py3-none-any.whl (10.0 kB) 2023-11-23T10:05:03,253 Collecting cryptography>=2.0 (from SecretStorage>=3.2->keyring>=15.1->twine) 2023-11-23T10:05:03,272 Using cached https://www.piwheels.org/simple/cryptography/cryptography-41.0.5-cp39-cp39-linux_armv7l.whl (2.2 MB) 2023-11-23T10:05:03,668 Collecting more-itertools (from jaraco.classes->keyring>=15.1->twine) 2023-11-23T10:05:03,685 Using cached https://www.piwheels.org/simple/more-itertools/more_itertools-10.1.0-py3-none-any.whl (55 kB) 2023-11-23T10:05:04,410 Collecting cffi>=1.12 (from cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine) 2023-11-23T10:05:04,427 Using cached https://www.piwheels.org/simple/cffi/cffi-1.16.0-cp39-cp39-linux_armv7l.whl (367 kB) 2023-11-23T10:05:04,583 Collecting pycparser (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine) 2023-11-23T10:05:04,599 Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB) 2023-11-23T10:05:04,660 Using cached setuptools-69.0.2-py3-none-any.whl (819 kB) 2023-11-23T10:05:04,689 Downloading rich-13.7.0-py3-none-any.whl (240 kB) 2023-11-23T10:05:04,725 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.6/240.6 kB 9.1 MB/s eta 0:00:00 2023-11-23T10:05:04,736 Using cached certifi-2023.11.17-py3-none-any.whl (162 kB) 2023-11-23T10:05:04,750 Using cached nh3-0.2.14-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.7 MB) 2023-11-23T10:05:04,806 Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB) 2023-11-23T10:05:07,391 Installing collected packages: nh3, zipp, wheel, urllib3, typing-extensions, tomli, 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-23T10:05:07,818 Creating /tmp/pip-build-env-z18ugtd5/overlay/bin 2023-11-23T10:05:07,820 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/wheel to 755 2023-11-23T10:05:13,407 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/pygmentize to 755 2023-11-23T10:05:14,058 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/pkginfo to 755 2023-11-23T10:05:16,218 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/docutils to 755 2023-11-23T10:05:16,358 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/normalizer to 755 2023-11-23T10:05:17,167 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/markdown-it to 755 2023-11-23T10:05:19,599 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/keyring to 755 2023-11-23T10:05:19,718 changing mode of /tmp/pip-build-env-z18ugtd5/overlay/bin/twine to 755 2023-11-23T10:05:19,775 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-23T10:05:19,776 conan 2.0.13 requires urllib3<1.27,>=1.26.6, but you have urllib3 2.1.0 which is incompatible. 2023-11-23T10:05:19,776 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.4 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 tomli-2.0.1 twine-4.0.2 typing-extensions-4.8.0 urllib3-2.1.0 wheel-0.41.3 zipp-3.17.0 2023-11-23T10:05:19,961 WARNING: There was an error checking the latest version of pip. 2023-11-23T10:05:20,527 Installing build dependencies: finished with status 'done' 2023-11-23T10:05:20,532 Getting requirements to build wheel: started 2023-11-23T10:05:20,533 Running command Getting requirements to build wheel 2023-11-23T10:05:21,398 /tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `readme` defined outside of `pyproject.toml` is ignored. 2023-11-23T10:05:21,398 !! 2023-11-23T10:05:21,399 ******************************************************************************** 2023-11-23T10:05:21,399 The following seems to be defined outside of `pyproject.toml`: 2023-11-23T10:05:21,399 `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```\ngit clone https://gitee.com/hustai/FourthDimension\ncd FourthDimension\n```\n2. 创建Conda虚拟环境\n```\nconda create -n FourthDimension python==3.8.1\nconda activate FourthDimension\n```\n3. 安装FourthDimension \n3.1 安装前置依赖\n```\npip install -r dependencies.txt\n```\n       3.2 安装FourthDimension \n```\nsh FourthDimension_install.sh\n```\n\n4. 启动FourthDimension\n```\nsh FourthDimension_start.sh restart\n```\n\n5. 使用FourthDimension \n\nconfig.json为FourthDimension配置文件,在使用FourthDimension时请将config.json置于脚本文件同级目录下\n> 使用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```text\n{\n //文档文本存储方式,本例中选择elasticsearch\n "word_storage": "elasticsearch",\n\n //文档向量存储方式,本例中选择faiss\n "embedding_storage": "faiss",\n\n //检索方式选择,目前提供以下三种方式,本例中选择elasticsearch\n //1.elasticsearch\n //2.faiss\n //3.elasticsearch+faiss\n "search_select": "elasticsearch",\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-23T10:05:21,400 According to the spec (see the link below), however, setuptools CANNOT 2023-11-23T10:05:21,400 consider this value unless `readme` is listed as `dynamic`. 2023-11-23T10:05:21,400 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-11-23T10:05:21,400 To prevent this problem, you can list `readme` under `dynamic` or alternatively 2023-11-23T10:05:21,400 remove the `[project]` table from your file and rely entirely on other means of 2023-11-23T10:05:21,401 configuration. 2023-11-23T10:05:21,401 ******************************************************************************** 2023-11-23T10:05:21,401 !! 2023-11-23T10:05:21,401 _handle_missing_dynamic(dist, project_table) 2023-11-23T10:05:21,401 /tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `classifiers` defined outside of `pyproject.toml` is ignored. 2023-11-23T10:05:21,401 !! 2023-11-23T10:05:21,402 ******************************************************************************** 2023-11-23T10:05:21,402 The following seems to be defined outside of `pyproject.toml`: 2023-11-23T10:05:21,402 `classifiers = ['Intended Audience :: Developers', 'Programming Language :: Python :: 3']` 2023-11-23T10:05:21,402 According to the spec (see the link below), however, setuptools CANNOT 2023-11-23T10:05:21,402 consider this value unless `classifiers` is listed as `dynamic`. 2023-11-23T10:05:21,403 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-11-23T10:05:21,403 To prevent this problem, you can list `classifiers` under `dynamic` or alternatively 2023-11-23T10:05:21,403 remove the `[project]` table from your file and rely entirely on other means of 2023-11-23T10:05:21,403 configuration. 2023-11-23T10:05:21,403 ******************************************************************************** 2023-11-23T10:05:21,404 !! 2023-11-23T10:05:21,404 _handle_missing_dynamic(dist, project_table) 2023-11-23T10:05:21,404 Traceback (most recent call last): 2023-11-23T10:05:21,404 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 2023-11-23T10:05:21,404 main() 2023-11-23T10:05:21,404 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 2023-11-23T10:05:21,404 json_out['return_val'] = hook(**hook_input['kwargs']) 2023-11-23T10:05:21,404 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel 2023-11-23T10:05:21,405 return hook(config_settings) 2023-11-23T10:05:21,405 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel 2023-11-23T10:05:21,405 return self._get_build_requires(config_settings, requirements=['wheel']) 2023-11-23T10:05:21,405 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires 2023-11-23T10:05:21,405 self.run_setup() 2023-11-23T10:05:21,405 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup 2023-11-23T10:05:21,405 exec(code, locals()) 2023-11-23T10:05:21,406 File "", line 6, in 2023-11-23T10:05:21,406 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 103, in setup 2023-11-23T10:05:21,406 return distutils.core.setup(**attrs) 2023-11-23T10:05:21,406 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 159, in setup 2023-11-23T10:05:21,406 dist.parse_config_files() 2023-11-23T10:05:21,406 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 627, in parse_config_files 2023-11-23T10:05:21,406 pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) 2023-11-23T10:05:21,407 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 67, in apply_configuration 2023-11-23T10:05:21,407 return _apply(dist, config, filepath) 2023-11-23T10:05:21,407 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 56, in apply 2023-11-23T10:05:21,407 _apply_project_table(dist, config, root_dir) 2023-11-23T10:05:21,407 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 82, in _apply_project_table 2023-11-23T10:05:21,408 corresp(dist, value, root_dir) 2023-11-23T10:05:21,408 File "/tmp/pip-build-env-z18ugtd5/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 163, in _long_description 2023-11-23T10:05:21,408 file = val.get("file") or [] 2023-11-23T10:05:21,408 AttributeError: 'NoneType' object has no attribute 'get' 2023-11-23T10:05:21,498 ERROR: Getting requirements to build wheel exited with 1 2023-11-23T10:05:21,515 [bold magenta]full command[/]: [blue]/usr/bin/python3 /home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpgvwxs19d[/] 2023-11-23T10:05:21,516 [bold magenta]cwd[/]: /tmp/pip-wheel-q3rq3lt6/fourthdimension_57c989a821444bea923db111c2ebce9e 2023-11-23T10:05:21,516 Getting requirements to build wheel: finished with status 'error' 2023-11-23T10:05:21,518 ERROR: Getting requirements to build wheel exited with 1 2023-11-23T10:05:21,524 Exception information: 2023-11-23T10:05:21,524 Traceback (most recent call last): 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-11-23T10:05:21,524 status = run_func(*args) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2023-11-23T10:05:21,524 return func(self, options, args) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-11-23T10:05:21,524 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2023-11-23T10:05:21,524 result = self._result = resolver.resolve( 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-11-23T10:05:21,524 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-11-23T10:05:21,524 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-11-23T10:05:21,524 if not criterion.candidates: 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-11-23T10:05:21,524 return bool(self._sequence) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-11-23T10:05:21,524 return any(self) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-11-23T10:05:21,524 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-11-23T10:05:21,524 candidate = func() 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2023-11-23T10:05:21,524 self._link_candidate_cache[link] = LinkCandidate( 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-11-23T10:05:21,524 super().__init__( 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-11-23T10:05:21,524 self.dist = self._prepare() 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-11-23T10:05:21,524 dist = self._prepare_distribution() 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-11-23T10:05:21,524 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2023-11-23T10:05:21,524 return self._prepare_linked_requirement(req, parallel_builds) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2023-11-23T10:05:21,524 dist = _get_prepared_distribution( 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2023-11-23T10:05:21,524 abstract_dist.prepare_distribution_metadata( 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 54, in prepare_distribution_metadata 2023-11-23T10:05:21,524 self._install_build_reqs(finder) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 124, in _install_build_reqs 2023-11-23T10:05:21,524 build_reqs = self._get_build_requires_wheel() 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 101, in _get_build_requires_wheel 2023-11-23T10:05:21,524 return backend.get_requires_for_build_wheel() 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 751, in get_requires_for_build_wheel 2023-11-23T10:05:21,524 return super().get_requires_for_build_wheel(config_settings=cs) 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 166, in get_requires_for_build_wheel 2023-11-23T10:05:21,524 return self._call_hook('get_requires_for_build_wheel', { 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 311, in _call_hook 2023-11-23T10:05:21,524 self._subprocess_runner( 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 252, in runner 2023-11-23T10:05:21,524 call_subprocess( 2023-11-23T10:05:21,524 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-11-23T10:05:21,524 raise error 2023-11-23T10:05:21,524 pip._internal.exceptions.InstallationSubprocessError: Getting requirements to build wheel exited with 1 2023-11-23T10:05:21,533 Removed fourthdimension==1.0.1 from https://files.pythonhosted.org/packages/71/f6/6c1ba830ee2ca97cd95ba85c444c77aa9f6e09d7ab3048516947252e7504/FourthDimension-1.0.1.tar.gz from build tracker '/tmp/pip-build-tracker-iubk1c4f' 2023-11-23T10:05:21,534 Removed build tracker: '/tmp/pip-build-tracker-iubk1c4f'