Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues I encountered when deploying this project. #7

Open
Galaxy955 opened this issue Sep 30, 2023 · 2 comments
Open

Some issues I encountered when deploying this project. #7

Galaxy955 opened this issue Sep 30, 2023 · 2 comments

Comments

@Galaxy955
Copy link

I stopped at the step of running test.py because I don't have an OpenAI API Key. In the previous steps, I encountered some problems. Hope this issue could help others.

  1. Two different versions of numpy would be required in the requirements.txt. I chosen the version 1.25.2.
  2. utils.py is not included in the reverie/backend_server and you should create it by yourself.
  3. After generating the utils.py, you should revise the code of the test.py or it will raise an error that "NameError: name 'openai_api_key' is not defined". You should replace the code "from utils import *" with "from reverie.backend_server import utils".
  4. Before running test.py, remember to install some needed packages which are not included in the requirements.txt. The required packages you need to install are as follows:
    openai, python-dotenv, litellm, gpt4all, utils, selenium
@learner20230724
Copy link

2023/10/13
文档里发现还有Requests、selenium重复了,asgiref还得改,其他的重复自己每次报错查找吧→整了三个小时,一条条改,已经改了很多条,感觉有点问题啊,搞不定。
我怀疑……

@aibot88
Copy link

aibot88 commented Jan 27, 2024

使用我在pull request中的 dev/aibot/fix分支提供的requirements文件,创立python 3.9环境。试一下。
Creating a Python 3.9 environment using the requirements file I provided in the "dev/aibot/fix" branch of the pull request。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants