xusenlinzy / api-for-open-llm

Openai style api for open large language models, using LLMs just as chatgpt! Support for LLaMA, LLaMA-2, BLOOM, Falcon, Baichuan, Qwen, Xverse, SqlCoder, CodeLLaMA, ChatGLM, ChatGLM2, ChatGLM3 etc. 开源大模型的统一后端接口
Apache License 2.0
2.33k stars 264 forks source link

Traceback (most recent call last): File "/Users/yaoxingzhi/Desktop/api-for-open-llm-master/api/server.py", line 1, in <module> from api.config import SETTINGS ModuleNotFoundError: No module named 'api' #254

Closed 779257747 closed 6 months ago

779257747 commented 6 months ago

提交前必须检查以下项目 | The following items must be checked before submission

问题类型 | Type of problem

启动命令 | Startup command

操作系统 | Operating system

Linux

详细描述问题 | Detailed description of the problem

(openllm) yaoxingzhi@yaoxingzhideMacBook-Pro api % export PYTHONPATH=.                 
(openllm) yaoxingzhi@yaoxingzhideMacBook-Pro api % python server.py 

Dependencies

python=3.10

运行日志或截图 | Runtime logs or screenshots

# 请在此处粘贴运行日志
# Please paste the run log here
779257747 commented 6 months ago

Traceback (most recent call last): File "/Users/yaoxingzhi/Desktop/api-for-open-llm-master/api/server.py", line 1, in from api.config import SETTINGS ModuleNotFoundError: No module named 'api' 在issue里的方法已经尝试过了 都不奏效 , 是不是得手动把所有的api.删掉。。