ImportError: cannot import name '_validate_lengths'

后端 未结 7 1892
自闭症患者
自闭症患者 2021-01-01 08:13

I have started learning Tensorflow. I am using Pycharm and my environment is Ubuntu 16.04. I am following the tutorial. I cross check the nump. It is up-to-date. I don\'t kn

相关标签:
7条回答
  • 2021-01-01 09:02

    upgrade scikit-image to latest, OR downgrade NumPy to 1.15.

     pip install -U scikit-image
    

    or

     pip install numpy==1.15
    

    if the pip isn't latest. You may need this:

    python -m pip install --upgrade pip
    

    refer to Getting ImportError: cannot import name '_validate_lengths' #3906 .

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