assafelovic / gpt-researcher

LLM based autonomous agent that does online comprehensive research on any given topic
https://gptr.dev
Apache License 2.0
14.28k stars 1.86k forks source link

Fail to install requirements #327

Closed maorkuriel closed 8 months ago

maorkuriel commented 8 months ago

When I run Pip install reqioremtn.txt the command fails

here is the full terminal view:

 ✝  ~/Documents/Github  git clone https://github.com/assafelovic/gpt-researcher.git
Cloning into 'gpt-researcher'...
remote: Enumerating objects: 3421, done.
remote: Counting objects: 100% (2236/2236), done.
remote: Compressing objects: 100% (789/789), done.
remote: Total 3421 (delta 1456), reused 2014 (delta 1340), pack-reused 1185
Receiving objects: 100% (3421/3421), 4.72 MiB | 1.86 MiB/s, done.
Resolving deltas: 100% (2114/2114), done.
 ✝  ~/Documents/Github  cd gpt-researcher
 ✝  Documents/Github/gpt-researcher   master  ls
CODE_OF_CONDUCT.md README.md          examples           scraping
CONTRIBUTING.md    backend            frontend           setup.py
Dockerfile         config.json        gpt_researcher
LICENSE            docker-compose.yml main.py
README-zh_CN.md    docs               requirements.txt
 ✝  Documents/Github/gpt-researcher   master  pip install -r requirements.txt

DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/commix-3.9.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/dnsgen-1.0.4-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/xnLinkFinder-4.1-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ghauri-1.2.7-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/LinkFinder-1.0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/urless-1.0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wafw00f-2.2.0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/py_altdns-1.0.2-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/Interlace-1.9.8-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cloud_enum-0.0.0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/DNSValidator-0.1-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cmseek-1.1.3-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/waymore-1.28-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting asyncio==3.4.3 (from -r requirements.txt (line 2))
  Using cached asyncio-3.4.3-py3-none-any.whl (101 kB)
Collecting beautifulsoup4==4.12.2 (from -r requirements.txt (line 3))
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Requirement already satisfied: colorama==0.4.6 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from -r requirements.txt (line 4)) (0.4.6)
Collecting duckduckgo_search==4.1.1 (from -r requirements.txt (line 5))
  Using cached duckduckgo_search-4.1.1-py3-none-any.whl.metadata (19 kB)
Collecting md2pdf==1.0.1 (from -r requirements.txt (line 6))
  Using cached md2pdf-1.0.1.tar.gz (6.4 kB)
  Preparing metadata (setup.py) ... done
Collecting playwright==1.40.0 (from -r requirements.txt (line 7))
  Using cached playwright-1.40.0-py3-none-macosx_11_0_arm64.whl.metadata (3.6 kB)
Requirement already satisfied: openai~=1.6.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from -r requirements.txt (line 8)) (1.6.1)
Collecting python-dotenv~=1.0.0 (from -r requirements.txt (line 9))
  Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB)
Requirement already satisfied: pyyaml==6.0.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from -r requirements.txt (line 10)) (6.0.1)
Collecting selenium==4.15.2 (from -r requirements.txt (line 11))
  Downloading selenium-4.15.2-py3-none-any.whl.metadata (6.9 kB)
Collecting webdriver-manager==4.0.1 (from -r requirements.txt (line 12))
  Downloading webdriver_manager-4.0.1-py2.py3-none-any.whl.metadata (12 kB)
Collecting uvicorn==0.24.0.post1 (from -r requirements.txt (line 13))
  Downloading uvicorn-0.24.0.post1-py3-none-any.whl.metadata (6.4 kB)
Collecting pydantic==2.5.1 (from -r requirements.txt (line 14))
  Downloading pydantic-2.5.1-py3-none-any.whl.metadata (64 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.1/64.1 kB 793.9 kB/s eta 0:00:00
Collecting fastapi==0.104.1 (from -r requirements.txt (line 15))
  Downloading fastapi-0.104.1-py3-none-any.whl.metadata (24 kB)
Collecting python-multipart==0.0.6 (from -r requirements.txt (line 16))
  Downloading python_multipart-0.0.6-py3-none-any.whl (45 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 kB 2.3 MB/s eta 0:00:00
Collecting markdown==3.5.1 (from -r requirements.txt (line 17))
  Downloading Markdown-3.5.1-py3-none-any.whl.metadata (7.1 kB)
Collecting langchain==0.0.353 (from -r requirements.txt (line 18))
  Downloading langchain-0.0.353-py3-none-any.whl.metadata (13 kB)
Collecting tavily-python==0.2.8 (from -r requirements.txt (line 19))
  Downloading tavily_python-0.2.8-py3-none-any.whl.metadata (4.4 kB)
Collecting permchain==0.0.6 (from -r requirements.txt (line 20))
  Downloading permchain-0.0.6-py3-none-any.whl.metadata (5.7 kB)
Collecting arxiv==2.0.0 (from -r requirements.txt (line 21))
  Downloading arxiv-2.0.0-py3-none-any.whl.metadata (8.4 kB)
Collecting PyMuPDF==1.23.6 (from -r requirements.txt (line 22))
  Downloading PyMuPDF-1.23.6-cp312-none-macosx_11_0_arm64.whl.metadata (3.4 kB)
Collecting requests==2.31.0 (from -r requirements.txt (line 23))
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting jinja2==3.1.2 (from -r requirements.txt (line 24))
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 1.8 MB/s eta 0:00:00
Requirement already satisfied: soupsieve>1.2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from beautifulsoup4==4.12.2->-r requirements.txt (line 3)) (2.5)
Collecting click>=8.1.7 (from duckduckgo_search==4.1.1->-r requirements.txt (line 5))
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: lxml>=4.9.3 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from duckduckgo_search==4.1.1->-r requirements.txt (line 5)) (4.9.3)
Collecting curl-cffi>=0.5.10 (from duckduckgo_search==4.1.1->-r requirements.txt (line 5))
  Downloading curl_cffi-0.5.10-cp37-abi3-macosx_11_0_arm64.whl.metadata (7.9 kB)
Collecting WeasyPrint (from md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading weasyprint-60.2-py3-none-any.whl.metadata (3.7 kB)
Collecting markdown2 (from md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading markdown2-2.4.12-py2.py3-none-any.whl.metadata (2.0 kB)
Collecting docopt (from md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading docopt-0.6.2.tar.gz (25 kB)
  Preparing metadata (setup.py) ... done
Collecting greenlet==3.0.1 (from playwright==1.40.0->-r requirements.txt (line 7))
  Downloading greenlet-3.0.1-cp312-cp312-macosx_10_9_universal2.whl.metadata (3.7 kB)
Collecting pyee==11.0.1 (from playwright==1.40.0->-r requirements.txt (line 7))
  Downloading pyee-11.0.1-py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: urllib3<3,>=1.26 in /Users/maor.kuriel/Library/Python/3.12/lib/python/site-packages (from urllib3[socks]<3,>=1.26->selenium==4.15.2->-r requirements.txt (line 11)) (2.0.7)
Collecting trio~=0.17 (from selenium==4.15.2->-r requirements.txt (line 11))
  Downloading trio-0.23.2-py3-none-any.whl.metadata (4.9 kB)
Collecting trio-websocket~=0.9 (from selenium==4.15.2->-r requirements.txt (line 11))
  Downloading trio_websocket-0.11.1-py3-none-any.whl.metadata (4.7 kB)
Requirement already satisfied: certifi>=2021.10.8 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from selenium==4.15.2->-r requirements.txt (line 11)) (2023.7.22)
Requirement already satisfied: packaging in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from webdriver-manager==4.0.1->-r requirements.txt (line 12)) (23.2)
Requirement already satisfied: h11>=0.8 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from uvicorn==0.24.0.post1->-r requirements.txt (line 13)) (0.14.0)
Requirement already satisfied: annotated-types>=0.4.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pydantic==2.5.1->-r requirements.txt (line 14)) (0.6.0)
Collecting pydantic-core==2.14.3 (from pydantic==2.5.1->-r requirements.txt (line 14))
  Downloading pydantic_core-2.14.3-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.5 kB)
Requirement already satisfied: typing-extensions>=4.6.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pydantic==2.5.1->-r requirements.txt (line 14)) (4.9.0)
Collecting anyio<4.0.0,>=3.7.1 (from fastapi==0.104.1->-r requirements.txt (line 15))
  Downloading anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB)
Collecting starlette<0.28.0,>=0.27.0 (from fastapi==0.104.1->-r requirements.txt (line 15))
  Downloading starlette-0.27.0-py3-none-any.whl.metadata (5.8 kB)
Collecting SQLAlchemy<3,>=1.4 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading SQLAlchemy-2.0.25-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.6 kB)
Collecting aiohttp<4.0.0,>=3.8.3 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading aiohttp-3.9.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (7.4 kB)
Collecting dataclasses-json<0.7,>=0.5.7 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading dataclasses_json-0.6.3-py3-none-any.whl.metadata (25 kB)
Collecting jsonpatch<2.0,>=1.33 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB)
Collecting langchain-community<0.1,>=0.0.2 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading langchain_community-0.0.10-py3-none-any.whl.metadata (7.3 kB)
Collecting langchain-core<0.2,>=0.1.4 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading langchain_core-0.1.8-py3-none-any.whl.metadata (4.0 kB)
Collecting langsmith<0.1.0,>=0.0.70 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading langsmith-0.0.77-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: numpy<2,>=1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from langchain==0.0.353->-r requirements.txt (line 18)) (1.26.1)
Collecting tenacity<9.0.0,>=8.1.0 (from langchain==0.0.353->-r requirements.txt (line 18))
  Downloading tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB)
Collecting tiktoken==0.5.1 (from tavily-python==0.2.8->-r requirements.txt (line 19))
  Downloading tiktoken-0.5.1.tar.gz (32 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting feedparser==6.0.10 (from arxiv==2.0.0->-r requirements.txt (line 21))
  Downloading feedparser-6.0.10-py3-none-any.whl (81 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 4.6 MB/s eta 0:00:00
Collecting PyMuPDFb==1.23.6 (from PyMuPDF==1.23.6->-r requirements.txt (line 22))
  Downloading PyMuPDFb-1.23.6-py3-none-macosx_11_0_arm64.whl.metadata (1.3 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from requests==2.31.0->-r requirements.txt (line 23)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from requests==2.31.0->-r requirements.txt (line 23)) (3.6)
Requirement already satisfied: MarkupSafe>=2.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from jinja2==3.1.2->-r requirements.txt (line 24)) (2.1.3)
Collecting sgmllib3k (from feedparser==6.0.10->arxiv==2.0.0->-r requirements.txt (line 21))
  Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB)
  Preparing metadata (setup.py) ... done
Collecting regex>=2022.1.18 (from tiktoken==0.5.1->tavily-python==0.2.8->-r requirements.txt (line 19))
  Downloading regex-2023.12.25-cp312-cp312-macosx_11_0_arm64.whl.metadata (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 2.8 MB/s eta 0:00:00
Requirement already satisfied: distro<2,>=1.7.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai~=1.6.1->-r requirements.txt (line 8)) (1.9.0)
Requirement already satisfied: httpx<1,>=0.23.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai~=1.6.1->-r requirements.txt (line 8)) (0.26.0)
Requirement already satisfied: sniffio in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai~=1.6.1->-r requirements.txt (line 8)) (1.3.0)
Requirement already satisfied: tqdm>4 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from openai~=1.6.1->-r requirements.txt (line 8)) (4.62.3)
Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading multidict-6.0.4.tar.gz (51 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.3/51.3 kB 3.7 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting yarl<2.0,>=1.0 (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading yarl-1.9.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (31 kB)
Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading frozenlist-1.4.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (12 kB)
Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Requirement already satisfied: cffi>=1.12.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from curl-cffi>=0.5.10->duckduckgo_search==4.1.1->-r requirements.txt (line 5)) (1.16.0)
Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses-json<0.7,>=0.5.7->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading marshmallow-3.20.1-py3-none-any.whl.metadata (7.8 kB)
Collecting typing-inspect<1,>=0.4.0 (from dataclasses-json<0.7,>=0.5.7->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB)
Requirement already satisfied: httpcore==1.* in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from httpx<1,>=0.23.0->openai~=1.6.1->-r requirements.txt (line 8)) (1.0.2)
Collecting jsonpointer>=1.9 (from jsonpatch<2.0,>=1.33->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading jsonpointer-2.4-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting sortedcontainers (from trio~=0.17->selenium==4.15.2->-r requirements.txt (line 11))
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting outcome (from trio~=0.17->selenium==4.15.2->-r requirements.txt (line 11))
  Downloading outcome-1.3.0.post0-py2.py3-none-any.whl.metadata (2.6 kB)
Collecting wsproto>=0.14 (from trio-websocket~=0.9->selenium==4.15.2->-r requirements.txt (line 11))
  Downloading wsproto-1.2.0-py3-none-any.whl (24 kB)
Requirement already satisfied: pysocks!=1.5.7,<2.0,>=1.5.6 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from urllib3[socks]<3,>=1.26->selenium==4.15.2->-r requirements.txt (line 11)) (1.6.8)
Collecting pydyf>=0.8.0 (from WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading pydyf-0.8.0-py3-none-any.whl.metadata (2.6 kB)
Requirement already satisfied: html5lib>=1.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6)) (1.1)
Collecting tinycss2>=1.0.0 (from WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting cssselect2>=0.1 (from WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading cssselect2-0.7.0-py3-none-any.whl (15 kB)
Collecting Pyphen>=0.9.1 (from WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading pyphen-0.14.0-py3-none-any.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 2.9 MB/s eta 0:00:00
Requirement already satisfied: Pillow>=9.1.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6)) (10.1.0)
Requirement already satisfied: fonttools>=4.0.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from fonttools[woff]>=4.0.0->WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6)) (4.44.0)
Requirement already satisfied: pycparser in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from cffi>=1.12.0->curl-cffi>=0.5.10->duckduckgo_search==4.1.1->-r requirements.txt (line 5)) (2.21)
Requirement already satisfied: webencodings in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from cssselect2>=0.1->WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6)) (0.5.1)
Collecting zopfli>=0.1.4 (from fonttools[woff]>=4.0.0->WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading zopfli-0.2.3-cp312-cp312-macosx_10_9_universal2.whl.metadata (2.9 kB)
Collecting brotli>=1.0.1 (from fonttools[woff]>=4.0.0->WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6))
  Downloading Brotli-1.1.0-cp312-cp312-macosx_10_9_universal2.whl.metadata (5.5 kB)
Requirement already satisfied: six>=1.9 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from html5lib>=1.1->WeasyPrint->md2pdf==1.0.1->-r requirements.txt (line 6)) (1.16.0)
Collecting mypy-extensions>=0.3.0 (from typing-inspect<1,>=0.4.0->dataclasses-json<0.7,>=0.5.7->langchain==0.0.353->-r requirements.txt (line 18))
  Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Downloading duckduckgo_search-4.1.1-py3-none-any.whl (26 kB)
Downloading playwright-1.40.0-py3-none-macosx_11_0_arm64.whl (32.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.5/32.5 MB 1.2 MB/s eta 0:00:00
Downloading selenium-4.15.2-py3-none-any.whl (10.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 778.5 kB/s eta 0:00:00
Downloading webdriver_manager-4.0.1-py2.py3-none-any.whl (27 kB)
Downloading uvicorn-0.24.0.post1-py3-none-any.whl (59 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.7/59.7 kB 832.7 kB/s eta 0:00:00
Downloading pydantic-2.5.1-py3-none-any.whl (381 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.6/381.6 kB 1.2 MB/s eta 0:00:00
Downloading fastapi-0.104.1-py3-none-any.whl (92 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.9/92.9 kB 418.5 kB/s eta 0:00:00
Downloading Markdown-3.5.1-py3-none-any.whl (102 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.2/102.2 kB 566.6 kB/s eta 0:00:00
Downloading langchain-0.0.353-py3-none-any.whl (803 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 803.1/803.1 kB 758.6 kB/s eta 0:00:00
Downloading tavily_python-0.2.8-py3-none-any.whl (5.3 kB)
Downloading permchain-0.0.6-py3-none-any.whl (21 kB)
Downloading arxiv-2.0.0-py3-none-any.whl (11 kB)
Downloading PyMuPDF-1.23.6-cp312-none-macosx_11_0_arm64.whl (3.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 844.6 kB/s eta 0:00:00
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Downloading greenlet-3.0.1-cp312-cp312-macosx_10_9_universal2.whl (263 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 264.0/264.0 kB 1.1 MB/s eta 0:00:00
Downloading pydantic_core-2.14.3-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 1.1 MB/s eta 0:00:00
Downloading pyee-11.0.1-py3-none-any.whl (15 kB)
Downloading PyMuPDFb-1.23.6-py3-none-macosx_11_0_arm64.whl (29.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 29.4/29.4 MB 515.1 kB/s eta 0:00:00
Downloading aiohttp-3.9.1-cp312-cp312-macosx_11_0_arm64.whl (388 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 388.9/388.9 kB 850.8 kB/s eta 0:00:00
Downloading anyio-3.7.1-py3-none-any.whl (80 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 852.7 kB/s eta 0:00:00
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Downloading curl_cffi-0.5.10-cp37-abi3-macosx_11_0_arm64.whl (2.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 794.9 kB/s eta 0:00:00
Downloading dataclasses_json-0.6.3-py3-none-any.whl (28 kB)
Downloading jsonpatch-1.33-py2.py3-none-any.whl (12 kB)
Downloading langchain_community-0.0.10-py3-none-any.whl (1.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 802.8 kB/s eta 0:00:00
Downloading langchain_core-0.1.8-py3-none-any.whl (215 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.5/215.5 kB 972.0 kB/s eta 0:00:00
Downloading langsmith-0.0.77-py3-none-any.whl (48 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.2/48.2 kB 1.0 MB/s eta 0:00:00
Downloading SQLAlchemy-2.0.25-cp312-cp312-macosx_11_0_arm64.whl (2.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 1.0 MB/s eta 0:00:00
Downloading starlette-0.27.0-py3-none-any.whl (66 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.0/67.0 kB 1.2 MB/s eta 0:00:00
Downloading tenacity-8.2.3-py3-none-any.whl (24 kB)
Downloading trio-0.23.2-py3-none-any.whl (461 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 461.6/461.6 kB 1.1 MB/s eta 0:00:00
Downloading trio_websocket-0.11.1-py3-none-any.whl (17 kB)
Downloading markdown2-2.4.12-py2.py3-none-any.whl (41 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 kB 1.2 MB/s eta 0:00:00
Downloading weasyprint-60.2-py3-none-any.whl (268 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.8/268.8 kB 936.7 kB/s eta 0:00:00
Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 728.0 kB/s eta 0:00:00
Downloading frozenlist-1.4.1-cp312-cp312-macosx_11_0_arm64.whl (51 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.9/51.9 kB 1.0 MB/s eta 0:00:00
Downloading jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
Downloading marshmallow-3.20.1-py3-none-any.whl (49 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.4/49.4 kB 1.1 MB/s eta 0:00:00
Downloading pydyf-0.8.0-py3-none-any.whl (7.5 kB)
Downloading regex-2023.12.25-cp312-cp312-macosx_11_0_arm64.whl (292 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 292.2/292.2 kB 889.6 kB/s eta 0:00:00
Downloading typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)
Downloading yarl-1.9.4-cp312-cp312-macosx_11_0_arm64.whl (79 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.4/79.4 kB 4.9 MB/s eta 0:00:00
Downloading outcome-1.3.0.post0-py2.py3-none-any.whl (10 kB)
Downloading Brotli-1.1.0-cp312-cp312-macosx_10_9_universal2.whl (873 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 873.1/873.1 kB 997.5 kB/s eta 0:00:00
Downloading zopfli-0.2.3-cp312-cp312-macosx_10_9_universal2.whl (295 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 295.7/295.7 kB 1.1 MB/s eta 0:00:00
Building wheels for collected packages: md2pdf, tiktoken, docopt, multidict, sgmllib3k
  Building wheel for md2pdf (setup.py) ... done
  Created wheel for md2pdf: filename=md2pdf-1.0.1-py2.py3-none-any.whl size=6000 sha256=7efca4db6bb0eedf1e8209da4c15eaa0716adffcb3f1c777d95dadbd66ea5d7f
  Stored in directory: /Users/maor.kuriel/Library/Caches/pip/wheels/03/36/1b/0417a4d2ad93eb3d4e5a0370352b9605473efe40ad19109fc9
  Building wheel for tiktoken (pyproject.toml) ... done
  Created wheel for tiktoken: filename=tiktoken-0.5.1-cp312-cp312-macosx_14_0_universal2.whl size=948134 sha256=2b91ff42dc9bce8d43cb3dd19ef931bd8eb6f2e43a3983c5900501dfe3c4b06b
  Stored in directory: /Users/maor.kuriel/Library/Caches/pip/wheels/e7/7d/04/bf4aa1dcb54b90d78df91e45cb5f48f7d2ae11fc3486d56162
  Building wheel for docopt (setup.py) ... done
  Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13706 sha256=e3342dd31dacea8c4dc84f0b66fb753d17a7b668dd7eff6a32a15a9ff20ee372
  Stored in directory: /Users/maor.kuriel/Library/Caches/pip/wheels/1a/bf/a1/4cee4f7678c68c5875ca89eaccf460593539805c3906722228
  Building wheel for multidict (pyproject.toml) ... done
  Created wheel for multidict: filename=multidict-6.0.4-cp312-cp312-macosx_10_9_universal2.whl size=48171 sha256=e45da6781daa0d50fec3c90a4c1ee66c342c900b8297902b0434c37cbc1a7802
  Stored in directory: /Users/maor.kuriel/Library/Caches/pip/wheels/f6/d8/ff/3c14a64b8f2ab1aa94ba2888f5a988be6ab446ec5c8d1a82da
  Building wheel for sgmllib3k (setup.py) ... done
  Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6049 sha256=200cf6d15fa9b0873283bba67350076d2062346c57ef3a7c78fa039471a2ead7
  Stored in directory: /Users/maor.kuriel/Library/Caches/pip/wheels/03/f5/1a/23761066dac1d0e8e683e5fdb27e12de53209d05a4a37e6246
Successfully built md2pdf tiktoken docopt multidict sgmllib3k
Installing collected packages: sortedcontainers, sgmllib3k, docopt, brotli, asyncio, zopfli, wsproto, tinycss2, tenacity, SQLAlchemy, requests, regex, python-multipart, python-dotenv, Pyphen, PyMuPDFb, pyee, pydyf, pydantic-core, mypy-extensions, multidict, marshmallow, markdown2, markdown, jsonpointer, jinja2, greenlet, frozenlist, feedparser, click, beautifulsoup4, attrs, anyio, yarl, webdriver-manager, uvicorn, typing-inspect, tiktoken, starlette, PyMuPDF, pydantic, playwright, outcome, jsonpatch, curl-cffi, cssselect2, arxiv, aiosignal, WeasyPrint, trio, tavily-python, langsmith, fastapi, duckduckgo_search, dataclasses-json, aiohttp, trio-websocket, md2pdf, langchain-core, selenium, langchain-community, langchain, permchain
  Attempting uninstall: requests
    Found existing installation: requests 2.20.0
    Uninstalling requests-2.20.0:
ERROR: Could not install packages due to an OSError: Cannot move the non-empty directory '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/requests-2.20.0.dist-info/': Lacking write permission to '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/requests-2.20.0.dist-info/'

Only after running the pip command with Sudo it completed with no error.

assafelovic commented 8 months ago

Duplicate so closing this

0xkiichiro commented 8 months ago

link to original issue?