I'm trying to follow the contribution guide for documentation. The required steps are:
git clone https://github.com/tensorflow/tensorflow tensorflow
cd tensorflow/tensorflow/tools/docs
pip install tensorflow==2.0.0-alpha0
python generate2.py --output_dir=/tmp/out
But the last command gives me:
Traceback (most recent call last): File "generate2.py", line 36, in from tensorflow_docs.api_generator import doc_controls ModuleNotFoundError: No module named 'tensorflow_docs'
This is in line 36 of generate2.py
:
from tensorflow_docs.api_generator import doc_controls
I haven't found a pip package containing tensorflow_docs
. Any ideas?
First install tensorflow_docs using this command:
pip install git+https://github.com/tensorflow/docs
first, you need to install git.
install git by using this command conda install git
in anaconda prompt. then run the following command
!pip install -q git+https://github.com/tensorflow/docs
in jupyter notebook
OR
pip install -q git+https://github.com/tensorflow/docs
in anaconda prompt.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With