tensorflow / tensorflow/models

Failed to run the installation command , version problem?

Open
#11,245 0 comments 0 reactions 1 assignee View on GitHub

@laxmareddyp is already working on this.

Since Aug 1, 2024.

models:research type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.