Turing-Project / SimAIWorld

A simulated world consist of several auto-drived and unpredictable AI based on GPT
Apache License 2.0
196 stars 26 forks source link

Some issues I encountered when deploying this project. #7

Open Galaxy955 opened 1 year ago

Galaxy955 commented 1 year ago

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 commented 1 year ago

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

aibot88 commented 9 months ago

使用我在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。