Skip to content

Failed to run the installation command , version problem? #11245

Open
@xAnyaForger

Description

@xAnyaForger

Command: python object_detection/builders/model_builder_tf2_test.py

Traceback (most recent call last):
File "C:\Users\user\Desktop\TF2\models\research\object_detection\builders\model_builder_tf2_test.py", line 24, in
from object_detection.builders import model_builder
File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\object_detection\builders\model_builder.py", line 23, in
from object_detection.builders import anchor_generator_builder
File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\object_detection\builders\anchor_generator_builder.py", line 26, in
from object_detection.protos import anchor_generator_pb2
File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\object_detection\protos\anchor_generator_pb2.py", line 9, in
from google.protobuf import runtime_version as runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (C:\Users\user\AppData\Roaming\Python\Python311\site-packages\google\protobuf_init
.py)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions