No Module Named '_pywrap_tensorflow_internal'

前端 未结 10 1525
自闭症患者
自闭症患者 2020-12-03 17:23

While trying to validate the installation of tensorflow-gpu, I get an ImportError when trying to execute \"import tensorflow as tf\". I am using a Quadro K620 on Windows 7.

相关标签:
10条回答
  • 2020-12-03 17:47

    I found the solution for the CPU: It worked for me

    Just run below command if necessary then update it

    pip install tensorflow==1.5

    0 讨论(0)
  • 2020-12-03 17:50

    this is all about your video chip/card and CPU compatibility with TF VERSION! Current version of Tensor Flow is 1.8 and it crashes on both my machines.

    I have a win7 Gateway notebook using an I5 CPU and intel video chip. I have a desktop win7 unit with AMD Phenom II and AMD Radeon HD5450 video card. The I5 notebook requires V1.6 of TensorFlow and the desktop AMD unit takes V1.5. I don't have a GPU available for running ANN's so I don't know how that would affect it.

    Here's the command line for PIP install: pip install --upgrade tensorflow==1.5.0 (or whatever other version you need). This will uninstall your current version and then install the indicated version.

    Build or copy a small TensorFlow script and run it in a command window. Open a second command window and install a different version. I'd recommend starting at 1.5 and working your way up.

    0 讨论(0)
  • 2020-12-03 17:52

    The only thing that worked for me (Windows 10) is: Install Microsoft Visual C++ 2015 Redistributable Update 3 If you have a new fresh computer setup this one might miss.

    0 讨论(0)
  • 2020-12-03 17:54

    I am a chinese, so my english is poor, and my answer is that however you use cudnn 7 or 6 or 5 , you must rename the dll from cudnn64_x.dll to cudnn64_6.dll after you copy files. maybe soon, you need to rename the dll to 7 or 8 or 9 as possible.

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