代码之家  ›  专栏  ›  技术社区  ›  Matt Anderson

“轻松安装”期间发出的警告

  •  4
  • Matt Anderson  · 技术社区  · 16 年前

    当我 easy_install 一些python模块,警告如下:

    <some module>: module references __file__
    <some module>: module references __path__
    <some module>: module MAY be using inspect.trace
    <some module>: module MAY be using inspect.getsourcefile
    

    有时会被发射。

    这些消息来自哪里(什么包/源文件)?为什么引用 __file__ __path__ 被认为是坏事?

    2 回复  |  直到 14 年前
        1
  •  6
  •   sorin    14 年前

    easy_install __file__ __path__

        2
  •  1
  •   Jason Baker    16 年前

    -Z easy_install

    pip