AttributeError: module 'proto' has no attribute 'module'
GongXinyuu opened this issue · comments
Xinyu Gong commented
⚠️ Search for existing issues first ⚠️
- I have searched the existing issues, and there is no existing issue for my problem
Which Operating System are you using?
Linux
Which version of AutoGPT are you using?
Latest Release
Do you use OpenAI GPT-3 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
I have followed the instruction to run
./run setup
And then
./run agent start autogpt
It throws an error
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "anaconda3/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "AutoGPT/autogpts/autogpt/autogpt/app/cli.py", line 8, in <module>
from autogpt.logs.config import LogFormatName
File "AutoGPT/autogpts/autogpt/autogpt/logs/__init__.py", line 1, in <module>
from .config import configure_chat_plugins, configure_logging
File "AutoGPT/autogpts/autogpt/autogpt/logs/config.py", line 21, in <module>
from .formatters import AutoGptFormatter, StructuredLoggingFormatter
File "AutoGPT/autogpts/autogpt/autogpt/logs/formatters.py", line 4, in <module>
from google.cloud.logging_v2.handlers import CloudLoggingFilter, StructuredLogHandler
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/__init__.py", line 21, in <module>
from google.cloud.logging_v2.client import Client
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/client.py", line 25, in <module>
from google.cloud.logging_v2._helpers import _add_defaults_to_filter
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/_helpers.py", line 25, in <module>
from google.cloud.logging_v2.entries import LogEntry
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/entries.py", line 32, in <module>
import google.cloud.appengine_logging # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging/__init__.py", line 21, in <module>
from google.cloud.appengine_logging_v1.types.request_log import (
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging_v1/__init__.py", line 21, in <module>
from .types.request_log import LogLine, RequestLog, SourceLocation, SourceReference
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging_v1/types/__init__.py", line 16, in <module>
from .request_log import LogLine, RequestLog, SourceLocation, SourceReference
File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging_v1/types/request_log.py", line 25, in <module>
__protobuf__ = proto.module(
^^^^^^^^^^^^
AttributeError: module 'proto' has no attribute 'module'
Upload Activity Log Content
No response
Upload Error Log Content
No response
github-actions commented
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.
github-actions commented
This issue was closed automatically because it has been stale for 10 days with no activity.