【问题标题】:Is there an installer for geodict python library?是否有 geodict python 库的安装程序?
【发布时间】:2016-09-12 04:20:24
【问题描述】:

我想使用代码:

import geodict_lib
locations = geodict_lib.find_locations_in_text(text)

但似乎没有 geodict_lib 的安装程序。如何安装这是 Anaconda 3.0 Python 3?

【问题讨论】:

    标签: text location geo


    【解决方案1】:

    我知道这是一年过去了,但也许我可以帮助其他偶然发现这一点的人。您需要将文件放在 Python 安装正在监视的模块的目录中。

    1. 首先,从 GitHub here 下载 .zip 文件。

    2. 完成后,您可以在命令行或终端运行以下命令:

      conda 列表

    3. 这将提供 Python 安装中所有已安装包的路径。将下载的 geodict.zip 文件移动到该位置。您可能还想运行which python(请参阅here),因为您可能需要检查几个不同的安装。

    4. 现在,当您在 Python 中运行 python import geodict 时,它应该可以顺利运行了!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-15
      • 1970-01-01
      • 2015-10-21
      • 2010-10-06
      • 1970-01-01
      • 2012-09-23
      相关资源
      最近更新 更多