【问题标题】:can't import permutations after installing anaconda安装 anaconda 后无法导入排列
【发布时间】:2015-09-08 15:22:40
【问题描述】:

我收到 from functools import permutations 的 ImportError,但它以前可以正常工作。我在 Windows 7 上,我看到的唯一重大变化是安装 现在的蟒蛇。我有 python 2.7.10 和 anaconda 2.7.9 ...我尝试卸载常规 python 并在 Anaconda 提示符下运行 python,但仍然是同样的错误。我怎样才能解决这个问题并仍然保留 Anaconda?谢谢你

【问题讨论】:

    标签: python windows anaconda


    【解决方案1】:

    我在functools 的文档中没有看到permutationshttps://docs.python.org/3/library/functools.html

    但是,我在itertools 中看到了它,也许你拼错了? https://docs.python.org/2/library/itertools.html

    【讨论】:

      猜你喜欢
      • 2016-02-22
      • 2016-01-30
      • 2020-10-30
      • 1970-01-01
      • 1970-01-01
      • 2017-06-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多