“synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.” problem in TensorFlow

前端 未结 7 1820
-上瘾入骨i
-上瘾入骨i 2020-12-08 18:43

I installed TensorFlow 1.10.1 but when I tried to import TensorFlow it said that I need TensorFlow version 1.10.0. Thus, I installed it and now I get the following warnings:

相关标签:
7条回答
  • 2020-12-08 19:40

    It is happening because of your TensorFlow version is incompatible with numpy. Try reinstalling numpy's previous versions. In my case I tried 1.16.4 : pip install numpy==1.16.4

    But first, you need to shutdown all running kernals and uninstall numpy with : pip uninstall numpy

    0 讨论(0)
提交回复
热议问题