【发布时间】:2010-10-29 14:27:30
【问题描述】:
我使用的是安装了 Mercurial TortoiseHg 的 Windows XP。现在我需要安装外部activity extension。我下载了扩展并在 hgrc 中启用了它。
当我尝试使用命令调用它时:
hg activity
我收到以下错误:
There are 292 changesets
Hg activity options: you need matplotlib in your python path in order to use the hg activity extension.
然后我安装了 python 2.6 和 matplotlib。所以它们的路径是:
- D:\Python26\
- D:\Python26\Lib\site-packages\matplotlib
现在我不知道如何告诉 mercurial 活动扩展从该位置使用 matplotlib?我在TortoiseHg FAQ 中找到了一些解释,标题为“TortoiseHg 扩展在哪里查找 Windows 上的外部 Python 模块?”
但是当我执行那里写的步骤时,我收到与上面相同的错误消息。
【问题讨论】:
标签: windows mercurial tortoisehg