Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我在安装tfds时候除了问题 #6

Open
qq87258580 opened this issue May 13, 2019 · 4 comments
Open

我在安装tfds时候除了问题 #6

qq87258580 opened this issue May 13, 2019 · 4 comments

Comments

@qq87258580
Copy link

ImportError Traceback (most recent call last)
in ()
1 from future import absolute_import, division, print_function, unicode_literals
2 # 安装tfds pip install tfds-nightly==1.0.2.dev201904090105
----> 3 import tensorflow_datasets as tfds
4 import tensorflow as tf
5 import tensorflow.keras.layers as layers

~\Anaconda3\lib\site-packages\tensorflow_datasets_init_.py in ()
44 # needs to happen before anything else, since the imports below will try to
45 # import tensorflow, too.
---> 46 from tensorflow_datasets.core import tf_compat
47 tf_compat.ensure_tf_install()
48

~\Anaconda3\lib\site-packages\tensorflow_datasets\core_init_.py in ()
16 """API to define datasets."""
17
---> 18 from tensorflow_datasets.core.dataset_builder import BeamBasedBuilder
19 from tensorflow_datasets.core.dataset_builder import BuilderConfig
20 from tensorflow_datasets.core.dataset_builder import DatasetBuilder

~\Anaconda3\lib\site-packages\tensorflow_datasets\core\dataset_builder.py in ()
31 from tensorflow_datasets.core import api_utils
32 from tensorflow_datasets.core import constants
---> 33 from tensorflow_datasets.core import dataset_utils
34 from tensorflow_datasets.core import download
35 from tensorflow_datasets.core import file_format_adapter

~\Anaconda3\lib\site-packages\tensorflow_datasets\core\dataset_utils.py in ()
27 from tensorflow_datasets.core import api_utils
28 from tensorflow_datasets.core import tf_compat
---> 29 from tensorflow_datasets.core import utils
30
31

~\Anaconda3\lib\site-packages\tensorflow_datasets\core\utils_init_.py in ()
19 from tensorflow_datasets.core.utils.py_utils import *
20 from tensorflow_datasets.core.utils.tf_utils import *
---> 21 from tensorflow_datasets.core.utils.tqdm_utils import *
22 from tensorflow_datasets.core.utils.version import Version
23 # pylint: enable=wildcard-import

~\Anaconda3\lib\site-packages\tensorflow_datasets\core\utils\tqdm_utils.py in ()
23 import contextlib
24
---> 25 from tqdm import auto as tqdm_lib
26
27

ImportError: cannot import name 'auto'

@czy36mengfei
Copy link
Owner

需要执行: pip install tfds-nightly==1.0.2.dev201904090105
来安装tfds,官方教程给的翻译数据集只有这个版本的tfds可以用

@qq87258580
Copy link
Author

好的 谢谢。。

@statham-stone
Copy link

好像没用

@Loovelj
Copy link

Loovelj commented Oct 19, 2019

参考 https://zhuanlan.zhihu.com/p/65822023,需要升级tdqm, pip install tqdm==4.32.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants