首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Windows虚拟环境中安装tortoise Mercurial

如何在Windows虚拟环境中安装tortoise Mercurial
EN

Stack Overflow用户
提问于 2019-10-25 06:32:27
回答 1查看 129关注 0票数 0

我正在尝试安装Django的debug_toolbar行分析器。根据the docs,我需要安装Mercurial。

我已经在我的Windows机器上安装了Mercurial,当我在项目的虚拟环境之外的命令提示符下输入hg时,它看起来正常。问题是,当我在虚拟环境中输入相同的命令时,它会抛出一个错误:

代码语言:javascript
复制
ERROR: Error [WinError 2] The system cannot find the file specified while executing command hg clone --noupdate -q https://bitbucket.org/kmike/line_profiler 'c:\[user]\environments\[project]\src\line-profiler'

ERROR: Cannot find command 'hg' - do you have 'hg' installed and in your PATH?

我该怎么解决这个问题呢?最终目标是安装line_profiler

EN

回答 1

Stack Overflow用户

发布于 2019-11-05 22:16:56

ERROR: Cannot find command 'hg' - do you have 'hg' installed and in your PATH?

关键是这个错误消息。你的Windows path中有hg.exe的路径吗?你的“虚拟环境”到底是什么意思?

在我看来,在Windows上运行mercurial最简单的方法就是使用。

然后,您不必担心添加路径,只需安装mercurial via即可

代码语言:javascript
复制
scoop install mercurial

你就完了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58549945

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档