Farzad-R / LLM-Zero-to-Hundred

This repository contains different LLM chatbot projects (RAG, LLM agents, etc.) and well-known techniques for training and fine tuning LLMs.
266 stars 142 forks source link

Input should be a dictionary or an instance of MultiModalFeature [type=dataclass_type, input_value=True, input_type=bool] #16

Closed Sibghakhan closed 5 months ago

Sibghakhan commented 5 months ago

Hi, I am getting error while running WEBRAGQuery Can you help me with it? This is the error I am getting:

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Scripts\chainlit.exe__main.py", line 4, in File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Lib\site-packages\chainlit__init__.py", line 24, in from chainlit.action import Action File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Lib\site-packages\chainlit\action.py", line 5, in from chainlit.telemetry import trace_event File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Lib\site-packages\chainlit\telemetry.py", line 12, in from chainlit.config import config File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Lib\site-packages\chainlit\config.py", line 469, in config = load_config() ^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Lib\site-packages\chainlit\config.py", line 438, in load_config settings = load_settings() ^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Lib\site-packages\chainlit\config.py", line 408, in load_settings features_settings = FeaturesSettings(multi_modal= True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master\LLM-Zero-to-Hundred-master\WebRAGQuery\venv\Lib\site-packages\pydantic_internal_dataclasses.py", line 140, in init s.pydantic_validator__.validate_python(ArgsKwargs(args, kwargs), self_instance=s) pydantic_core._pydantic_core.ValidationError: 1 validation error for FeaturesSettings multi_modal Input should be a dictionary or an instance of MultiModalFeature [type=dataclass_type, input_value=True, input_type=bool] For further information visit https://errors.pydantic.dev/2.7/v/dataclass_type

Farzad-R commented 5 months ago

Hi, Would you please confirm that your environment's libraries have the same versions as below? Some of these libraries, e.g pydantic, can work with this project only if you have the exact same version. In case you are working with a different version, please test the chatbot with the ones I added below. Also please let me know what your what your OS is.

chainlit==1.0.500
duckduckgo_search==3.9.6
langchain==0.1.14
openai==0.28.0
pandas==2.2.1
pydantic==2.6.4
pyprojroot==0.3.0
python-dotenv==1.0.1
PyYAML==6.0.1
tiktoken==0.5.1
Sibghakhan commented 5 months ago

I am using the same versions of libraries. I am trying to run this on Windows 11

Farzad-R commented 5 months ago

Thanks for the confirmation. As far as I can see the error is rising because of chainlit. Please remove the .chainit folder on the project and run the app again. We just need to make sure Chainlit is working as expected

Sibghakhan commented 5 months ago

Thank you so much for responding. I removed the .chainlit but still facing the same error.

Farzad-R commented 5 months ago

Sure! I am not sure why it is happening then. The error is pointing at chainlit and pydantic. Both frameworks change very fast and at least about pydantic I am sure that to use it's latest version, the code needs refactoring. But if you are using the exact same versions as I mentioned above there should not be any issue. I just ran the chatbot on my PC and it works fine. I am not sure what I am missing here. I suggest you create a new environment and install the libraries again using the requirements.txt. In case the problem occurs again, please write down how you are setting up and running the project step by step so we can take it from there. But first try a fresh environment and install requirement.txt on it.

Sibghakhan commented 5 months ago

Now I am facing this error File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in import pwd ModuleNotFoundError: No module named 'pwd'

Farzad-R commented 5 months ago

Well, that is progress. After activating your environment in the terminal, try:

pip install langchain-community==0.0.28

and test the project again

Sibghakhan commented 5 months ago

I am still getting that pwd error

Farzad-R commented 5 months ago

alright then try:

pip install pwd

and test again

Sibghakhan commented 5 months ago

I am still getting an error. This is my command prompt

C:\Users\NBK COMPUTER>cd C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery

C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>python -m venv venv

C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>venv\Scripts\activate

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>pip install -r requirements.txt Collecting chainlit==1.0.500 (from -r requirements.txt (line 1)) Using cached chainlit-1.0.500-py3-none-any.whl.metadata (5.5 kB) Collecting duckduckgo_search==3.9.6 (from -r requirements.txt (line 2)) Using cached duckduckgo_search-3.9.6-py3-none-any.whl.metadata (21 kB) Collecting langchain==0.1.14 (from -r requirements.txt (line 3)) Using cached langchain-0.1.14-py3-none-any.whl.metadata (13 kB) Collecting openai==0.28.0 (from -r requirements.txt (line 4)) Using cached openai-0.28.0-py3-none-any.whl.metadata (13 kB) Collecting pandas==2.2.1 (from -r requirements.txt (line 5)) Using cached pandas-2.2.1-cp312-cp312-win_amd64.whl.metadata (19 kB) Collecting pydantic==2.6.4 (from -r requirements.txt (line 6)) Using cached pydantic-2.6.4-py3-none-any.whl.metadata (85 kB) Collecting pyprojroot==0.3.0 (from -r requirements.txt (line 7)) Using cached pyprojroot-0.3.0-py3-none-any.whl.metadata (4.8 kB) Collecting python-dotenv==1.0.1 (from -r requirements.txt (line 8)) Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB) Collecting PyYAML==6.0.1 (from -r requirements.txt (line 9)) Using cached PyYAML-6.0.1-cp312-cp312-win_amd64.whl.metadata (2.1 kB) Collecting tiktoken==0.5.1 (from -r requirements.txt (line 10)) Using cached tiktoken-0.5.1.tar.gz (32 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting aiofiles<24.0.0,>=23.1.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB) Collecting asyncer<0.0.3,>=0.0.2 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached asyncer-0.0.2-py3-none-any.whl.metadata (6.8 kB) Collecting click<9.0.0,>=8.1.3 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting dataclasses_json<0.6.0,>=0.5.7 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached dataclasses_json-0.5.14-py3-none-any.whl.metadata (22 kB) Collecting fastapi>=0.100 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached fastapi-0.110.2-py3-none-any.whl.metadata (24 kB) Collecting fastapi-socketio<0.0.11,>=0.0.10 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached fastapi_socketio-0.0.10-py3-none-any.whl.metadata (2.6 kB) Collecting filetype<2.0.0,>=1.2.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached filetype-1.2.0-py2.py3-none-any.whl.metadata (6.5 kB) Collecting httpx>=0.23.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB) Collecting lazify<0.5.0,>=0.4.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached Lazify-0.4.0-py2.py3-none-any.whl.metadata (1.4 kB) Collecting literalai==0.0.401 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached literalai-0.0.401-py3-none-any.whl Collecting nest-asyncio<2.0.0,>=1.5.6 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached nest_asyncio-1.6.0-py3-none-any.whl.metadata (2.8 kB) Collecting packaging<24.0,>=23.1 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting pyjwt<3.0.0,>=2.8.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached PyJWT-2.8.0-py3-none-any.whl.metadata (4.2 kB) Collecting python-graphql-client<0.5.0,>=0.4.3 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached python_graphql_client-0.4.3-py3-none-any.whl.metadata (4.4 kB) Collecting python-multipart<0.0.10,>=0.0.9 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB) Collecting starlette<0.33.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached starlette-0.32.0.post1-py3-none-any.whl.metadata (5.8 kB) Collecting syncer<3.0.0,>=2.0.3 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached syncer-2.0.3-py2.py3-none-any.whl Collecting tomli<3.0.0,>=2.0.1 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting uptrace<2.0.0,>=1.22.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached uptrace-1.24.0-py3-none-any.whl.metadata (2.3 kB) Collecting uvicorn<0.26.0,>=0.25.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached uvicorn-0.25.0-py3-none-any.whl.metadata (6.4 kB) Collecting watchfiles<0.21.0,>=0.20.0 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached watchfiles-0.20.0-cp37-abi3-win_amd64.whl.metadata (5.0 kB) Collecting lxml>=4.9.3 (from duckduckgo_search==3.9.6->-r requirements.txt (line 2)) Using cached lxml-5.2.1-cp312-cp312-win_amd64.whl.metadata (3.5 kB) Collecting SQLAlchemy<3,>=1.4 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached SQLAlchemy-2.0.29-cp312-cp312-win_amd64.whl.metadata (9.8 kB) Collecting aiohttp<4.0.0,>=3.8.3 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached aiohttp-3.9.5-cp312-cp312-win_amd64.whl.metadata (7.7 kB) Collecting jsonpatch<2.0,>=1.33 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB) Collecting langchain-community<0.1,>=0.0.30 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached langchain_community-0.0.34-py3-none-any.whl.metadata (8.5 kB) Collecting langchain-core<0.2.0,>=0.1.37 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached langchain_core-0.1.45-py3-none-any.whl.metadata (5.9 kB) Collecting langchain-text-splitters<0.1,>=0.0.1 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached langchain_text_splitters-0.0.1-py3-none-any.whl.metadata (2.0 kB) Collecting langsmith<0.2.0,>=0.1.17 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached langsmith-0.1.50-py3-none-any.whl.metadata (13 kB) Collecting numpy<2,>=1 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl.metadata (61 kB) Collecting requests<3,>=2 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting tenacity<9.0.0,>=8.1.0 (from langchain==0.1.14->-r requirements.txt (line 3)) Using cached tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB) Collecting tqdm (from openai==0.28.0->-r requirements.txt (line 4)) Using cached tqdm-4.66.2-py3-none-any.whl.metadata (57 kB) Collecting python-dateutil>=2.8.2 (from pandas==2.2.1->-r requirements.txt (line 5)) Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Collecting pytz>=2020.1 (from pandas==2.2.1->-r requirements.txt (line 5)) Using cached pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) Collecting tzdata>=2022.7 (from pandas==2.2.1->-r requirements.txt (line 5)) Using cached tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB) Collecting annotated-types>=0.4.0 (from pydantic==2.6.4->-r requirements.txt (line 6)) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic==2.6.4->-r requirements.txt (line 6)) Using cached pydantic_core-2.16.3-cp312-none-win_amd64.whl.metadata (6.6 kB) Collecting typing-extensions>=4.6.1 (from pydantic==2.6.4->-r requirements.txt (line 6)) Using cached typing_extensions-4.11.0-py3-none-any.whl.metadata (3.0 kB) Collecting regex>=2022.1.18 (from tiktoken==0.5.1->-r requirements.txt (line 10)) Using cached regex-2024.4.16-cp312-cp312-win_amd64.whl.metadata (41 kB) Collecting chevron>=0.14.0 (from literalai==0.0.401->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached chevron-0.14.0-py3-none-any.whl.metadata (4.9 kB) Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.8.3->langchain==0.1.14->-r requirements.txt (line 3)) Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.3->langchain==0.1.14->-r requirements.txt (line 3)) Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.3->langchain==0.1.14->-r requirements.txt (line 3)) Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl.metadata (12 kB) Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.3->langchain==0.1.14->-r requirements.txt (line 3)) Using cached multidict-6.0.5-cp312-cp312-win_amd64.whl.metadata (4.3 kB) Collecting yarl<2.0,>=1.0 (from aiohttp<4.0.0,>=3.8.3->langchain==0.1.14->-r requirements.txt (line 3)) Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl.metadata (32 kB) Collecting anyio<4.0.0,>=3.4.0 (from asyncer<0.0.3,>=0.0.2->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB) Collecting colorama (from click<9.0.0,>=8.1.3->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses_json<0.6.0,>=0.5.7->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached marshmallow-3.21.1-py3-none-any.whl.metadata (7.2 kB) Collecting typing-inspect<1,>=0.4.0 (from dataclasses_json<0.6.0,>=0.5.7->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB) INFO: pip is looking at multiple versions of fastapi to determine which version is compatible with other requirements. This could take a while. Collecting fastapi>=0.100 (from chainlit==1.0.500->-r requirements.txt (line 1)) Using cached fastapi-0.110.1-py3-none-any.whl.metadata (24 kB) Using cached fastapi-0.110.0-py3-none-any.whl.metadata (25 kB) Using cached fastapi-0.109.2-py3-none-any.whl.metadata (25 kB) Using cached fastapi-0.109.1-py3-none-any.whl.metadata (25 kB) Using cached fastapi-0.109.0-py3-none-any.whl.metadata (24 kB) Using cached fastapi-0.108.0-py3-none-any.whl.metadata (24 kB) Collecting python-socketio>=4.6.0 (from fastapi-socketio<0.0.11,>=0.0.10->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached python_socketio-5.11.2-py3-none-any.whl.metadata (3.2 kB) Collecting certifi (from httpx>=0.23.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) Collecting httpcore==1. (from httpx>=0.23.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached httpcore-1.0.5-py3-none-any.whl.metadata (20 kB) Collecting idna (from httpx>=0.23.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB) Collecting sniffio (from httpx>=0.23.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB) Collecting h11<0.15,>=0.13 (from httpcore==1.->httpx>=0.23.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB) Collecting brotli (from httpx[brotli,http2,socks]>=0.25.1->duckduckgo_search==3.9.6->-r requirements.txt (line 2)) Using cached Brotli-1.1.0-cp312-cp312-win_amd64.whl.metadata (5.6 kB) Collecting h2<5,>=3 (from httpx[brotli,http2,socks]>=0.25.1->duckduckgo_search==3.9.6->-r requirements.txt (line 2)) Using cached h2-4.1.0-py3-none-any.whl.metadata (3.6 kB) Collecting socksio==1.* (from httpx[brotli,http2,socks]>=0.25.1->duckduckgo_search==3.9.6->-r requirements.txt (line 2)) Using cached socksio-1.0.0-py3-none-any.whl.metadata (6.1 kB) Collecting jsonpointer>=1.9 (from jsonpatch<2.0,>=1.33->langchain==0.1.14->-r requirements.txt (line 3)) Using cached jsonpointer-2.4-py2.py3-none-any.whl.metadata (2.5 kB) Collecting orjson<4.0.0,>=3.9.14 (from langsmith<0.2.0,>=0.1.17->langchain==0.1.14->-r requirements.txt (line 3)) Using cached orjson-3.10.1-cp312-none-win_amd64.whl.metadata (50 kB) Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas==2.2.1->-r requirements.txt (line 5)) Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting websockets>=5.0 (from python-graphql-client<0.5.0,>=0.4.3->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached websockets-12.0-cp312-cp312-win_amd64.whl.metadata (6.8 kB) Collecting charset-normalizer<4,>=2 (from requests<3,>=2->langchain==0.1.14->-r requirements.txt (line 3)) Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB) Collecting urllib3<3,>=1.21.1 (from requests<3,>=2->langchain==0.1.14->-r requirements.txt (line 3)) Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB) Collecting greenlet!=0.4.17 (from SQLAlchemy<3,>=1.4->langchain==0.1.14->-r requirements.txt (line 3)) Using cached greenlet-3.0.3-cp312-cp312-win_amd64.whl.metadata (3.9 kB) Collecting opentelemetry-api~=1.24 (from uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_api-1.24.0-py3-none-any.whl.metadata (1.3 kB) Collecting opentelemetry-exporter-otlp~=1.24 (from uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_exporter_otlp-1.24.0-py3-none-any.whl.metadata (2.2 kB) Collecting opentelemetry-instrumentation~=0.45b0 (from uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_instrumentation-0.45b0-py3-none-any.whl.metadata (6.1 kB) Collecting opentelemetry-sdk~=1.24 (from uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_sdk-1.24.0-py3-none-any.whl.metadata (1.4 kB) Collecting hyperframe<7,>=6.0 (from h2<5,>=3->httpx[brotli,http2,socks]>=0.25.1->duckduckgo_search==3.9.6->-r requirements.txt (line 2)) Using cached hyperframe-6.0.1-py3-none-any.whl.metadata (2.7 kB) Collecting hpack<5,>=4.0 (from h2<5,>=3->httpx[brotli,http2,socks]>=0.25.1->duckduckgo_search==3.9.6->-r requirements.txt (line 2)) Using cached hpack-4.0.0-py3-none-any.whl.metadata (2.5 kB) Collecting deprecated>=1.2.6 (from opentelemetry-api~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB) Collecting importlib-metadata<=7.0,>=6.0 (from opentelemetry-api~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached importlib_metadata-7.0.0-py3-none-any.whl.metadata (4.9 kB) Collecting opentelemetry-exporter-otlp-proto-grpc==1.24.0 (from opentelemetry-exporter-otlp~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_exporter_otlp_proto_grpc-1.24.0-py3-none-any.whl.metadata (2.2 kB) Collecting opentelemetry-exporter-otlp-proto-http==1.24.0 (from opentelemetry-exporter-otlp~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_exporter_otlp_proto_http-1.24.0-py3-none-any.whl.metadata (2.1 kB) Collecting googleapis-common-protos~=1.52 (from opentelemetry-exporter-otlp-proto-grpc==1.24.0->opentelemetry-exporter-otlp~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached googleapis_common_protos-1.63.0-py2.py3-none-any.whl.metadata (1.5 kB) Collecting grpcio<2.0.0,>=1.0.0 (from opentelemetry-exporter-otlp-proto-grpc==1.24.0->opentelemetry-exporter-otlp~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached grpcio-1.62.2-cp312-cp312-win_amd64.whl.metadata (4.2 kB) Collecting opentelemetry-exporter-otlp-proto-common==1.24.0 (from opentelemetry-exporter-otlp-proto-grpc==1.24.0->opentelemetry-exporter-otlp~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_exporter_otlp_proto_common-1.24.0-py3-none-any.whl.metadata (1.7 kB) Collecting opentelemetry-proto==1.24.0 (from opentelemetry-exporter-otlp-proto-grpc==1.24.0->opentelemetry-exporter-otlp~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_proto-1.24.0-py3-none-any.whl.metadata (2.2 kB) Collecting protobuf<5.0,>=3.19 (from opentelemetry-proto==1.24.0->opentelemetry-exporter-otlp-proto-grpc==1.24.0->opentelemetry-exporter-otlp~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached protobuf-4.25.3-cp310-abi3-win_amd64.whl.metadata (541 bytes) Collecting setuptools>=16.0 (from opentelemetry-instrumentation~=0.45b0->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB) Collecting wrapt<2.0.0,>=1.0.0 (from opentelemetry-instrumentation~=0.45b0->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached wrapt-1.16.0-cp312-cp312-win_amd64.whl.metadata (6.8 kB) Collecting opentelemetry-semantic-conventions==0.45b0 (from opentelemetry-sdk~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached opentelemetry_semantic_conventions-0.45b0-py3-none-any.whl.metadata (2.2 kB) Collecting bidict>=0.21.0 (from python-socketio>=4.6.0->fastapi-socketio<0.0.11,>=0.0.10->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached bidict-0.23.1-py3-none-any.whl.metadata (8.7 kB) Collecting python-engineio>=4.8.0 (from python-socketio>=4.6.0->fastapi-socketio<0.0.11,>=0.0.10->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached python_engineio-4.9.0-py3-none-any.whl.metadata (2.2 kB) Collecting mypy-extensions>=0.3.0 (from typing-inspect<1,>=0.4.0->dataclasses_json<0.6.0,>=0.5.7->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB) Collecting zipp>=0.5 (from importlib-metadata<=7.0,>=6.0->opentelemetry-api~=1.24->uptrace<2.0.0,>=1.22.0->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached zipp-3.18.1-py3-none-any.whl.metadata (3.5 kB) Collecting simple-websocket>=0.10.0 (from python-engineio>=4.8.0->python-socketio>=4.6.0->fastapi-socketio<0.0.11,>=0.0.10->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached simple_websocket-1.0.0-py3-none-any.whl.metadata (1.3 kB) Collecting wsproto (from simple-websocket>=0.10.0->python-engineio>=4.8.0->python-socketio>=4.6.0->fastapi-socketio<0.0.11,>=0.0.10->chainlit==1.0.500->-r requirements.txt (line 1)) Using cached wsproto-1.2.0-py3-none-any.whl.metadata (5.6 kB) Using cached chainlit-1.0.500-py3-none-any.whl (4.4 MB) Using cached duckduckgo_search-3.9.6-py3-none-any.whl (25 kB) Using cached langchain-0.1.14-py3-none-any.whl (812 kB) Using cached openai-0.28.0-py3-none-any.whl (76 kB) Using cached pandas-2.2.1-cp312-cp312-win_amd64.whl (11.5 MB) Using cached pydantic-2.6.4-py3-none-any.whl (394 kB) Using cached pyprojroot-0.3.0-py3-none-any.whl (7.6 kB) Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB) Using cached PyYAML-6.0.1-cp312-cp312-win_amd64.whl (138 kB) Using cached pydantic_core-2.16.3-cp312-none-win_amd64.whl (1.9 MB) Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB) Using cached aiohttp-3.9.5-cp312-cp312-win_amd64.whl (369 kB) Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB) Using cached asyncer-0.0.2-py3-none-any.whl (8.3 kB) Using cached click-8.1.7-py3-none-any.whl (97 kB) Using cached dataclasses_json-0.5.14-py3-none-any.whl (26 kB) Using cached fastapi-0.108.0-py3-none-any.whl (92 kB) Using cached fastapi_socketio-0.0.10-py3-none-any.whl (7.4 kB) Using cached filetype-1.2.0-py2.py3-none-any.whl (19 kB) Using cached httpx-0.27.0-py3-none-any.whl (75 kB) Using cached httpcore-1.0.5-py3-none-any.whl (77 kB) Using cached socksio-1.0.0-py3-none-any.whl (12 kB) Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB) Using cached langchain_community-0.0.34-py3-none-any.whl (1.9 MB) Using cached langchain_core-0.1.45-py3-none-any.whl (291 kB) Using cached langchain_text_splitters-0.0.1-py3-none-any.whl (21 kB) Using cached langsmith-0.1.50-py3-none-any.whl (115 kB) Using cached Lazify-0.4.0-py2.py3-none-any.whl (3.1 kB) Using cached lxml-5.2.1-cp312-cp312-win_amd64.whl (3.8 MB) Using cached nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB) Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl (15.5 MB) Using cached packaging-23.2-py3-none-any.whl (53 kB) Using cached PyJWT-2.8.0-py3-none-any.whl (22 kB) Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Using cached python_graphql_client-0.4.3-py3-none-any.whl (4.9 kB) Using cached python_multipart-0.0.9-py3-none-any.whl (22 kB) Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB) Using cached regex-2024.4.16-cp312-cp312-win_amd64.whl (268 kB) Using cached requests-2.31.0-py3-none-any.whl (62 kB) Using cached SQLAlchemy-2.0.29-cp312-cp312-win_amd64.whl (2.1 MB) Using cached starlette-0.32.0.post1-py3-none-any.whl (70 kB) Using cached tenacity-8.2.3-py3-none-any.whl (24 kB) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB) Using cached uptrace-1.24.0-py3-none-any.whl (8.6 kB) Using cached uvicorn-0.25.0-py3-none-any.whl (60 kB) Using cached watchfiles-0.20.0-cp37-abi3-win_amd64.whl (276 kB) Using cached tqdm-4.66.2-py3-none-any.whl (78 kB) Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Using cached anyio-3.7.1-py3-none-any.whl (80 kB) Using cached attrs-23.2.0-py3-none-any.whl (60 kB) Using cached certifi-2024.2.2-py3-none-any.whl (163 kB) Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB) Using cached chevron-0.14.0-py3-none-any.whl (11 kB) Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl (50 kB) Using cached greenlet-3.0.3-cp312-cp312-win_amd64.whl (293 kB) Using cached h11-0.14.0-py3-none-any.whl (58 kB) Using cached h2-4.1.0-py3-none-any.whl (57 kB) Using cached idna-3.7-py3-none-any.whl (66 kB) Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB) Using cached marshmallow-3.21.1-py3-none-any.whl (49 kB) Using cached multidict-6.0.5-cp312-cp312-win_amd64.whl (27 kB) Using cached opentelemetry_api-1.24.0-py3-none-any.whl (60 kB) Using cached opentelemetry_exporter_otlp-1.24.0-py3-none-any.whl (7.0 kB) Using cached opentelemetry_exporter_otlp_proto_grpc-1.24.0-py3-none-any.whl (18 kB) Using cached opentelemetry_exporter_otlp_proto_http-1.24.0-py3-none-any.whl (16 kB) Using cached opentelemetry_exporter_otlp_proto_common-1.24.0-py3-none-any.whl (17 kB) Using cached opentelemetry_proto-1.24.0-py3-none-any.whl (50 kB) Using cached opentelemetry_instrumentation-0.45b0-py3-none-any.whl (28 kB) Using cached opentelemetry_sdk-1.24.0-py3-none-any.whl (106 kB) Using cached opentelemetry_semantic_conventions-0.45b0-py3-none-any.whl (36 kB) Using cached orjson-3.10.1-cp312-none-win_amd64.whl (139 kB) Using cached python_socketio-5.11.2-py3-none-any.whl (75 kB) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Using cached typing_inspect-0.9.0-py3-none-any.whl (8.8 kB) Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) Using cached websockets-12.0-cp312-cp312-win_amd64.whl (124 kB) Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl (76 kB) Using cached Brotli-1.1.0-cp312-cp312-win_amd64.whl (357 kB) Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Using cached bidict-0.23.1-py3-none-any.whl (32 kB) Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB) Using cached hpack-4.0.0-py3-none-any.whl (32 kB) Using cached hyperframe-6.0.1-py3-none-any.whl (12 kB) Using cached importlib_metadata-7.0.0-py3-none-any.whl (23 kB) Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Using cached python_engineio-4.9.0-py3-none-any.whl (57 kB) Using cached setuptools-69.5.1-py3-none-any.whl (894 kB) Using cached wrapt-1.16.0-cp312-cp312-win_amd64.whl (37 kB) Using cached googleapis_common_protos-1.63.0-py2.py3-none-any.whl (229 kB) Using cached grpcio-1.62.2-cp312-cp312-win_amd64.whl (3.8 MB) Using cached simple_websocket-1.0.0-py3-none-any.whl (13 kB) Using cached zipp-3.18.1-py3-none-any.whl (8.2 kB) Using cached protobuf-4.25.3-cp310-abi3-win_amd64.whl (413 kB) Using cached wsproto-1.2.0-py3-none-any.whl (24 kB) Building wheels for collected packages: tiktoken Building wheel for tiktoken (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for tiktoken (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [38 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-312 creating build\lib.win-amd64-cpython-312\tiktoken copying tiktoken\core.py -> build\lib.win-amd64-cpython-312\tiktoken copying tiktoken\load.py -> build\lib.win-amd64-cpython-312\tiktoken copying tiktoken\model.py -> build\lib.win-amd64-cpython-312\tiktoken copying tiktoken\registry.py -> build\lib.win-amd64-cpython-312\tiktoken copying tiktoken_educational.py -> build\lib.win-amd64-cpython-312\tiktoken copying tiktoken__init__.py -> build\lib.win-amd64-cpython-312\tiktoken creating build\lib.win-amd64-cpython-312\tiktoken_ext copying tiktoken_ext\openai_public.py -> build\lib.win-amd64-cpython-312\tiktoken_ext running egg_info writing tiktoken.egg-info\PKG-INFO writing dependency_links to tiktoken.egg-info\dependency_links.txt writing requirements to tiktoken.egg-info\requires.txt writing top-level names to tiktoken.egg-info\top_level.txt reading manifest file 'tiktoken.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Makefile' adding license file 'LICENSE' writing manifest file 'tiktoken.egg-info\SOURCES.txt' copying tiktoken\py.typed -> build\lib.win-amd64-cpython-312\tiktoken running build_ext running build_rust error: can't find Rust compiler

  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for tiktoken Failed to build tiktoken ERROR: Could not build wheels for tiktoken, which is required to install pyproject.toml-based projects

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>chainlit run src\app.py -h 2024-04-24 21:39:39 - Loaded .env file Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Scripts\chainlit.exe__main.py", line 7, in File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call return self.main(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke return callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli__init.py", line 154, in chainlit_run run_chainlit(target) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli\init.py", line 56, in run_chainlit load_module(config.run.module_name) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\config.py", line 379, in load_module spec.loader.exec_module(module) File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\app.py", line 26, in from utils.functions_prep import PrepareFunctions File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\functions_prep.py", line 5, in from utils.specific_url_prep_func import prepare_the_requested_url_for_q_and_a File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\specific_url_prep_func.py", line 8, in from utils.prepare_url_vectordb import PrepareURLVectorDB File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\prepare_url_vectordb.py", line 5, in from langchain_community.document_loaders import WebBaseLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\init__.py", line 163, in from langchain_community.document_loaders.pebblo import PebbloSafeLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in import pwd ModuleNotFoundError: No module named 'pwd'

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>pip install langchain-community==0.0.28 Collecting langchain-community==0.0.28 Using cached langchain_community-0.0.28-py3-none-any.whl.metadata (8.3 kB) Collecting PyYAML>=5.3 (from langchain-community==0.0.28) Using cached PyYAML-6.0.1-cp312-cp312-win_amd64.whl.metadata (2.1 kB) Collecting SQLAlchemy<3,>=1.4 (from langchain-community==0.0.28) Using cached SQLAlchemy-2.0.29-cp312-cp312-win_amd64.whl.metadata (9.8 kB) Collecting aiohttp<4.0.0,>=3.8.3 (from langchain-community==0.0.28) Using cached aiohttp-3.9.5-cp312-cp312-win_amd64.whl.metadata (7.7 kB) Collecting dataclasses-json<0.7,>=0.5.7 (from langchain-community==0.0.28) Using cached dataclasses_json-0.6.4-py3-none-any.whl.metadata (25 kB) Collecting langchain-core<0.2.0,>=0.1.31 (from langchain-community==0.0.28) Using cached langchain_core-0.1.45-py3-none-any.whl.metadata (5.9 kB) Collecting langsmith<0.2.0,>=0.1.0 (from langchain-community==0.0.28) Using cached langsmith-0.1.50-py3-none-any.whl.metadata (13 kB) Collecting numpy<2,>=1 (from langchain-community==0.0.28) Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl.metadata (61 kB) Collecting requests<3,>=2 (from langchain-community==0.0.28) Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting tenacity<9.0.0,>=8.1.0 (from langchain-community==0.0.28) Using cached tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB) Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl.metadata (12 kB) Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) Using cached multidict-6.0.5-cp312-cp312-win_amd64.whl.metadata (4.3 kB) Collecting yarl<2.0,>=1.0 (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl.metadata (32 kB) Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses-json<0.7,>=0.5.7->langchain-community==0.0.28) Using cached marshmallow-3.21.1-py3-none-any.whl.metadata (7.2 kB) Collecting typing-inspect<1,>=0.4.0 (from dataclasses-json<0.7,>=0.5.7->langchain-community==0.0.28) Using cached typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB) Collecting jsonpatch<2.0,>=1.33 (from langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) Using cached jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB) Collecting packaging<24.0,>=23.2 (from langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting pydantic<3,>=1 (from langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) Using cached pydantic-2.7.1-py3-none-any.whl.metadata (107 kB) Collecting orjson<4.0.0,>=3.9.14 (from langsmith<0.2.0,>=0.1.0->langchain-community==0.0.28) Using cached orjson-3.10.1-cp312-none-win_amd64.whl.metadata (50 kB) Collecting charset-normalizer<4,>=2 (from requests<3,>=2->langchain-community==0.0.28) Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB) Collecting idna<4,>=2.5 (from requests<3,>=2->langchain-community==0.0.28) Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests<3,>=2->langchain-community==0.0.28) Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests<3,>=2->langchain-community==0.0.28) Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) Collecting typing-extensions>=4.6.0 (from SQLAlchemy<3,>=1.4->langchain-community==0.0.28) Using cached typing_extensions-4.11.0-py3-none-any.whl.metadata (3.0 kB) Collecting greenlet!=0.4.17 (from SQLAlchemy<3,>=1.4->langchain-community==0.0.28) Using cached greenlet-3.0.3-cp312-cp312-win_amd64.whl.metadata (3.9 kB) Collecting jsonpointer>=1.9 (from jsonpatch<2.0,>=1.33->langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) Using cached jsonpointer-2.4-py2.py3-none-any.whl.metadata (2.5 kB) Collecting annotated-types>=0.4.0 (from pydantic<3,>=1->langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.18.2 (from pydantic<3,>=1->langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) Using cached pydantic_core-2.18.2-cp312-none-win_amd64.whl.metadata (6.7 kB) Collecting mypy-extensions>=0.3.0 (from typing-inspect<1,>=0.4.0->dataclasses-json<0.7,>=0.5.7->langchain-community==0.0.28) Using cached mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB) Using cached langchain_community-0.0.28-py3-none-any.whl (1.8 MB) Using cached aiohttp-3.9.5-cp312-cp312-win_amd64.whl (369 kB) Using cached dataclasses_json-0.6.4-py3-none-any.whl (28 kB) Using cached langchain_core-0.1.45-py3-none-any.whl (291 kB) Using cached langsmith-0.1.50-py3-none-any.whl (115 kB) Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl (15.5 MB) Using cached PyYAML-6.0.1-cp312-cp312-win_amd64.whl (138 kB) Using cached requests-2.31.0-py3-none-any.whl (62 kB) Using cached SQLAlchemy-2.0.29-cp312-cp312-win_amd64.whl (2.1 MB) Using cached tenacity-8.2.3-py3-none-any.whl (24 kB) Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Using cached attrs-23.2.0-py3-none-any.whl (60 kB) Using cached certifi-2024.2.2-py3-none-any.whl (163 kB) Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB) Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl (50 kB) Using cached greenlet-3.0.3-cp312-cp312-win_amd64.whl (293 kB) Using cached idna-3.7-py3-none-any.whl (66 kB) Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB) Using cached marshmallow-3.21.1-py3-none-any.whl (49 kB) Using cached multidict-6.0.5-cp312-cp312-win_amd64.whl (27 kB) Using cached orjson-3.10.1-cp312-none-win_amd64.whl (139 kB) Using cached packaging-23.2-py3-none-any.whl (53 kB) Using cached pydantic-2.7.1-py3-none-any.whl (409 kB) Using cached pydantic_core-2.18.2-cp312-none-win_amd64.whl (1.9 MB) Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Using cached typing_inspect-0.9.0-py3-none-any.whl (8.8 kB) Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl (76 kB) Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB) Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB) Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Installing collected packages: urllib3, typing-extensions, tenacity, PyYAML, packaging, orjson, numpy, mypy-extensions, multidict, jsonpointer, idna, greenlet, frozenlist, charset-normalizer, certifi, attrs, annotated-types, yarl, typing-inspect, SQLAlchemy, requests, pydantic-core, marshmallow, jsonpatch, aiosignal, pydantic, dataclasses-json, aiohttp, langsmith, langchain-core, langchain-community Successfully installed PyYAML-6.0.1 SQLAlchemy-2.0.29 aiohttp-3.9.5 aiosignal-1.3.1 annotated-types-0.6.0 attrs-23.2.0 certifi-2024.2.2 charset-normalizer-3.3.2 dataclasses-json-0.6.4 frozenlist-1.4.1 greenlet-3.0.3 idna-3.7 jsonpatch-1.33 jsonpointer-2.4 langchain-community-0.0.28 langchain-core-0.1.45 langsmith-0.1.50 marshmallow-3.21.1 multidict-6.0.5 mypy-extensions-1.0.0 numpy-1.26.4 orjson-3.10.1 packaging-23.2 pydantic-2.7.1 pydantic-core-2.18.2 requests-2.31.0 tenacity-8.2.3 typing-extensions-4.11.0 typing-inspect-0.9.0 urllib3-2.2.1 yarl-1.9.4

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>chainlit run src\app.py -h 2024-04-24 23:05:13 - Loaded .env file Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Scripts\chainlit.exe__main.py", line 7, in File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call return self.main(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke return callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli__init.py", line 154, in chainlit_run run_chainlit(target) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli\init.py", line 56, in run_chainlit load_module(config.run.module_name) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\config.py", line 379, in load_module spec.loader.exec_module(module) File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\app.py", line 26, in from utils.functions_prep import PrepareFunctions File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\functions_prep.py", line 5, in from utils.specific_url_prep_func import prepare_the_requested_url_for_q_and_a File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\specific_url_prep_func.py", line 8, in from utils.prepare_url_vectordb import PrepareURLVectorDB File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\prepare_url_vectordb.py", line 5, in from langchain_community.document_loaders import WebBaseLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\init__.py", line 163, in from langchain_community.document_loaders.pebblo import PebbloSafeLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in import pwd ModuleNotFoundError: No module named 'pwd'

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>pip install langchain-community==0.0.28 Requirement already satisfied: langchain-community==0.0.28 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (0.0.28) Requirement already satisfied: PyYAML>=5.3 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (6.0.1) Requirement already satisfied: SQLAlchemy<3,>=1.4 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (2.0.29) Requirement already satisfied: aiohttp<4.0.0,>=3.8.3 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (3.9.5) Requirement already satisfied: dataclasses-json<0.7,>=0.5.7 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (0.6.4) Requirement already satisfied: langchain-core<0.2.0,>=0.1.31 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (0.1.45) Requirement already satisfied: langsmith<0.2.0,>=0.1.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (0.1.50) Requirement already satisfied: numpy<2,>=1 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (1.26.4) Requirement already satisfied: requests<3,>=2 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (2.31.0) Requirement already satisfied: tenacity<9.0.0,>=8.1.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-community==0.0.28) (8.2.3) Requirement already satisfied: aiosignal>=1.1.2 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) (1.3.1) Requirement already satisfied: attrs>=17.3.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) (23.2.0) Requirement already satisfied: frozenlist>=1.1.1 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) (1.4.1) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) (6.0.5) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from aiohttp<4.0.0,>=3.8.3->langchain-community==0.0.28) (1.9.4) Requirement already satisfied: marshmallow<4.0.0,>=3.18.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from dataclasses-json<0.7,>=0.5.7->langchain-community==0.0.28) (3.21.1) Requirement already satisfied: typing-inspect<1,>=0.4.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from dataclasses-json<0.7,>=0.5.7->langchain-community==0.0.28) (0.9.0) Requirement already satisfied: jsonpatch<2.0,>=1.33 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) (1.33) Requirement already satisfied: packaging<24.0,>=23.2 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) (23.2) Requirement already satisfied: pydantic<3,>=1 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) (2.7.1) Requirement already satisfied: orjson<4.0.0,>=3.9.14 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from langsmith<0.2.0,>=0.1.0->langchain-community==0.0.28) (3.10.1) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from requests<3,>=2->langchain-community==0.0.28) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from requests<3,>=2->langchain-community==0.0.28) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from requests<3,>=2->langchain-community==0.0.28) (2.2.1) Requirement already satisfied: certifi>=2017.4.17 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from requests<3,>=2->langchain-community==0.0.28) (2024.2.2) Requirement already satisfied: typing-extensions>=4.6.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from SQLAlchemy<3,>=1.4->langchain-community==0.0.28) (4.11.0) Requirement already satisfied: greenlet!=0.4.17 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from SQLAlchemy<3,>=1.4->langchain-community==0.0.28) (3.0.3) Requirement already satisfied: jsonpointer>=1.9 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from jsonpatch<2.0,>=1.33->langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) (2.4) Requirement already satisfied: annotated-types>=0.4.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from pydantic<3,>=1->langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) (0.6.0) Requirement already satisfied: pydantic-core==2.18.2 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from pydantic<3,>=1->langchain-core<0.2.0,>=0.1.31->langchain-community==0.0.28) (2.18.2) Requirement already satisfied: mypy-extensions>=0.3.0 in c:\users\nbk computer\downloads\llm-zero-to-hundred-master(1)\llm-zero-to-hundred-master\webragquery\venv\lib\site-packages (from typing-inspect<1,>=0.4.0->dataclasses-json<0.7,>=0.5.7->langchain-community==0.0.28) (1.0.0)

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>chainlit run src\app.py -h 2024-04-24 23:06:24 - Loaded .env file Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Scripts\chainlit.exe__main.py", line 7, in File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call return self.main(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke return callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli__init.py", line 154, in chainlit_run run_chainlit(target) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli\init.py", line 56, in run_chainlit load_module(config.run.module_name) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\config.py", line 379, in load_module spec.loader.exec_module(module) File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\app.py", line 26, in from utils.functions_prep import PrepareFunctions File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\functions_prep.py", line 5, in from utils.specific_url_prep_func import prepare_the_requested_url_for_q_and_a File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\specific_url_prep_func.py", line 8, in from utils.prepare_url_vectordb import PrepareURLVectorDB File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\prepare_url_vectordb.py", line 5, in from langchain_community.document_loaders import WebBaseLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\init__.py", line 163, in from langchain_community.document_loaders.pebblo import PebbloSafeLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in import pwd ModuleNotFoundError: No module named 'pwd' (venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>pip install pwd ERROR: Could not find a version that satisfies the requirement pwd (from versions: none) ERROR: No matching distribution found for pwd

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>

Farzad-R commented 5 months ago

remove the version infront of tiktoken and run the installation again. There is some sort of conflict with the current version. That should do the trick

Sibghakhan commented 5 months ago

I am still getting the pwd error after removing the version of tiktoken

Can you tell me which python version you are using? May be it has something to do with that

Farzad-R commented 5 months ago

I am using Python 3.10.12 on Linux and 3.11.9 on Windows. But that is not because of python version. langchain_community version needs to be fixed in my opinion. Remove langchain_community from requirements.txt and install it separately using:

pip install --upgrade langchain_community

and see if that can solve the problem

Sibghakhan commented 5 months ago

Still getting the same error. This is the complete error:

(venv) C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery>chainlit run src\app.py -h 2024-04-25 07:47:54 - Loaded .env file Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Scripts\chainlit.exe__main.py", line 7, in File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call return self.main(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke return callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli__init.py", line 154, in chainlit_run run_chainlit(target) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\cli\init.py", line 56, in run_chainlit load_module(config.run.module_name) File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\chainlit\config.py", line 379, in load_module spec.loader.exec_module(module) File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\app.py", line 26, in from utils.functions_prep import PrepareFunctions File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\functions_prep.py", line 5, in from utils.specific_url_prep_func import prepare_the_requested_url_for_q_and_a File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\specific_url_prep_func.py", line 8, in from utils.prepare_url_vectordb import PrepareURLVectorDB File "C:\Users\NBK COMPUTER\Downloads\LLM-Zero-to-Hundred-master(1)\LLM-Zero-to-Hundred-master\WebRAGQuery\src\utils\prepare_url_vectordb.py", line 5, in from langchain_community.document_loaders import WebBaseLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\init__.py", line 163, in from langchain_community.document_loaders.pebblo import PebbloSafeLoader File "C:\Users\NBK COMPUTER\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in import pwd ModuleNotFoundError: No module named 'pwd'

Farzad-R commented 5 months ago

Did you fix the problem?