1

I am working in anaconda environment
I used conda install tensorflow to install tensorflow
In the code I :

import tensorflow as tf
from tensorflow.python.data import Dataset

The first command passes but the second command does not (Import error)
I looked In the github of tensorflow and saw that the tensorflow.python.data module exists but probably changed
Is there a way to get Dataset class from the anaconda installation?
If not is there a workaround ?
Ilan

1 Answer 1

1

My mistake was that i used :

conda install tensorflow

rather than follow the instructions in the tensorflow site
Ilan

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.