zoukankan      html  css  js  c++  java
  • tensorflow神奇问题

    运行tensorflow程序时,遇到了各种奇葩的问题,比如:

    1、Import Error: DLL load failed: The specified module could not be found

    2、Importing the multiarray numpy extension module failed

    3、ImportError:  Importing the multiarray numpy extension module failed.  Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try `git clean -xdf` (removes all files not under version control).  Otherwise reinstall numpy. Original error was: DLL load failed:

    4、AttributeError: module 'numpy' has no attribute 'version'

    5、numpy.core.multiarray failed to import

    等等,一系列神奇的问题,查找百度,stackflow等,很多解决方案,有些是要下载文件,有些要删除问题,有些要重装等等;

    但是,首先要做的是按照问题提示,先升级报错的包(在anaconda prompt下),一般都是版本不匹配问题,一个个升级,问题一个个就解决掉了,

    最不提倡的是上来就卸载,重装等,会破坏一些一些重要文件,引入其他问题

    主要在anaconda prompt下执行:

    1、conda install xxx

    2、conda upgrade xxx

  • 相关阅读:

    二分查找法
    LeetCode-Two Sum III
    LeetCode-Add and Search Word
    LeetCode-Longest Substring with At Least K Repeating Characters
    LeetCode-Rearrange String k Distance Apart
    LeetCode-Game of Life
    LeetCode-Walls and Gates
    LeetCode-Water and Jug Problem
    LeetCode-Inorder Successor in BST
  • 原文地址:https://www.cnblogs.com/heiao10duan/p/9237321.html
Copyright © 2011-2022 走看看