gia-guar / JARVIS-ChatGPT

A Conversational Assistant equipped with synthetic voices including J.A.R.V.I.S's. Powered by OpenAI and IBM Watson APIs and a Tacotron model for voice generation.
MIT License
384 stars 91 forks source link

Problem with aspose KeyError: 'aspose.pdf' #18

Open FlemlaUri opened 10 months ago

FlemlaUri commented 10 months ago

Hello, Sorry to bother you, i tried to install and use your project but i keep getting an error

`D:\Programmes\JARVIS-ChatGPT-main>call .\jarvis_venv\Scripts\activate

LOADING CREDENTIALS

D:\Programmes\JARVIS-ChatGPT-main\jarvis_venv\lib\site-packages\langchain__init.py:34: UserWarning: Importing OpenAI from langchain root module is no longer supported. Please use langchain.llms.OpenAI instead. warnings.warn( D:\Programmes\JARVIS-ChatGPT-main\jarvis_venv\lib\site-packages\langchain__init__.py:34: UserWarning: Importing LLMChain from langchain root module is no longer supported. Please use langchain.chains.LLMChain instead. warnings.warn( D:\Programmes\JARVIS-ChatGPT-main\jarvis_venv\lib\site-packages\langchain\init__.py:34: UserWarning: Importing PromptTemplate from langchain root module is no longer supported. Please use langchain.prompts.PromptTemplate instead. warnings.warn( Traceback (most recent call last): File "D:\Programmes\JARVIS-ChatGPT-main\openai_api_chatbot.py", line 5, in from Assistant.research_mode import ResearchAssistant File "D:\Programmes\JARVIS-ChatGPT-main\Assistant\research_mode.py", line 9, in from Assistant.semantic_scholar.agent_tools import * File "D:\Programmes\JARVIS-ChatGPT-main\Assistant\semantic_scholar\agent_tools.py", line 6, in from . import S2_tools as scholar File "D:\Programmes\JARVIS-ChatGPT-main\Assistant\semantic_scholar\S2_tools.py", line 6, in import aspose.pdf as ap File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 635, in _load_backward_compatible KeyError: 'aspose.pdf'`

I tried to fix it myself but it's beef a couple hours and i can't find any solution. Could you help me fix it please ?