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

No module named 'openai' #30

Closed
1 of 2 tasks
xupenggao opened this issue Apr 26, 2023 · 0 comments
Closed
1 of 2 tasks

No module named 'openai' #30

xupenggao opened this issue Apr 26, 2023 · 0 comments

Comments

@xupenggao
Copy link

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

GPT-3 or GPT-4

  • I am using Auto-GPT with GPT-3 (GPT-3.5)

Steps to reproduce 🕹

E:\ideaProgram\gitProgram\Auto-GPT-ZH>python -m autogpt
Auto-GPT 正在启动...
Traceback (most recent call last):
File "D:\ProgramData\anaconda3\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\ProgramData\anaconda3\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt_main
.py", line 8, in
autogpt.cli.main()
File "D:\ProgramData\anaconda3\lib\site-packages\click\core.py", line 1128, in call
return self.main(*args, **kwargs)
File "D:\ProgramData\anaconda3\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "D:\ProgramData\anaconda3\lib\site-packages\click\core.py", line 1637, in invoke
super().invoke(ctx)
File "D:\ProgramData\anaconda3\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "D:\ProgramData\anaconda3\lib\site-packages\click\core.py", line 754, in invoke
return callback(*args, **kwargs)
File "D:\ProgramData\anaconda3\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt\cli.py", line 78, in main
from autogpt.agent.agent import Agent
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt\agent_init
.py", line 1, in
from autogpt.agent.agent import Agent
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt\agent\agent.py", line 3, in
from autogpt.app import execute_command, get_command
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt\app.py", line 5, in
from autogpt.agent.agent_manager import AgentManager
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt\agent\agent_manager.py", line 6, in
from autogpt.config.config import Singleton
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt\config_init
.py", line 5, in
from autogpt.config.config import Config, check_openai_api_key
File "E:\ideaProgram\gitProgram\Auto-GPT-ZH\autogpt\config\config.py", line 4, in
import openai
ModuleNotFoundError: No module named 'openai'

我卸载openai模块重新使用pip install openai命令安装后还是提示以上报错,pip版本也是最新的23.1.1

Current behavior 😯

No response

Expected behavior 🤔

No response

Your prompt 📝

# Paste your prompt here
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

1 participant