googleapis / googleapis/python-aiplatform

Missing tensorflow dependency

Open
#5,725 0 comments 0 reactions 0 assignees View on GitHub
api: vertex-ai
Dominant language
Python
Stars
905
Forks
465
Avg merge
1d 13h
Merged PRs (30d)
44

Description

#### Environment details

- OS type and version: macOS Sequoia 15.6
- Python version: 3.10
- pip version: 24.3.1
- `google-cloud-aiplatform` version: 1.108.0

#### Steps to reproduce

1. `pip install "google-cloud-aiplatform[tensorboard]==1.108.0"`
2. `python -c "from google.cloud.aiplatform.tensorboard.uploader import TensorBoardUploader"`

The following error will appear:
```
ModuleNotFoundError: No module named 'tensorflow'
```

#### Code example

See above.

#### Stack trace
```
Traceback (most recent call last):
File "", line 1, in
File "/Users/.../.pyenv/versions/.../lib/python3.10/site-packages/google/cloud/aiplatform/tensorboard/uploader.py", line 41, in
from google.cloud.aiplatform.tensorboard import logdir_loader
File "/Users/.../.pyenv/versions/.../lib/python3.10/site-packages/google/cloud/aiplatform/tensorboard/logdir_loader.py", line 22, in
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.