ues installing paper-qa
VaticanCameos99 opened this issue · 1 comments
I am running paper-qa in a conda environment. I tried installing the library using pip but I get a ModuleNotFoundError when trying to import it.
I then just cloned the repo and used it. and on running the example under the Usage section I get the following error:
Traceback (most recent call last):
File "/Users/username/envname/model1/simple_paperqa.py", line 4, in
from paperQA.paperqa import Docs
File "/Users/username/envname/model1/paperQA/paperqa/init.py", line 1, in
from .docs import Answer, Docs, PromptCollection, Doc, Text, Context
File "/Users/username/envname/model1/paperQA/paperqa/docs.py", line 9, in
from openai import AsyncOpenAI
ImportError: cannot import name 'AsyncOpenAI' from 'openai' (/Users/username/anaconda3/envs/envname/lib/python3.10/site-packages/openai/init.py)
I tried reinstalling openai but it doesn't resolve the issue.