Unable to import TFlearn in python.

Asked 1 years ago, Updated 1 years ago, 69 views

I installed TFlearn according to the book "First TensorFlow" on my Macbook, but when I try to import it in python, the following display appears.
Please let me know how to solve this problem.

Thank you for your cooperation.

Shiraishi-Sadaaki-no-Macbook-ea:~shiraishisadaaki$python
Python 3.5.0 (default, Jun 14 2017, 14:38:36)
GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42) on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>import tflearn
/Users/shiraishisadaaki/.pyenv/3.5.0/lib/python3.5/site-packages/h5py/_init__.py:36:FutureWarning:Conversion of the second argument of issudtype from `float` to `np.floating` is depressed.infected, future.64 (infloated.floatting` is depressed.future.future.fruit.fruit.64
  from._conv import register_converters as_register_converters
WARNING: tensorflow: From/Users/shiraishisadaaki/.pyenv/versions/3.5.0/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:198: retry(from tensorflow.contrib.learn.learn.learn.deepase.learn.learn.deepening)
Instructions for updating:
Use the retry module or similar alternatives.
>>import tflearn

python machine-learning tensorflow deep-learning

2022-09-29 22:01

1 Answers

Both messages are Warning, not errors.Also, both warnings are just saying that the function used to run TFlearn will not be available (deprecated) due to future version upgrades, and not immediately.When using packages that are frequently updated, frequently increasing the version of the packages that depend on them changes the API, which often results in these warnings.

Therefore, you can ignore these warnings.You can continue to use it as it is unless you see some other error.

However, it is not very good behavior to leave the warning alone because it will lead to errors in the future.If you really want to erase the warning, you can think of the following:


2022-09-29 22:01

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.