我试图按照contribution guide获取文档。所需步骤包括:
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
但最后一个命令告诉我:
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'
这是generate2.py
的第36行:
我没有找到包含tensorflow_docs
的pip包。有什么想法吗?在
首先使用以下命令安装tensorflow_docs:
pip install git+https://github.com/tensorflow/docs
相关问题 更多 >
编程相关推荐