![](/img/trans.png)
[英]how to create a django project in windows command promt, i am getting an error of “the system cannot find the the path specified”
[英]Cannot find command 'git' - windows
我正在嘗試使用我的 python django 應用程序安裝 mongodb_engine,但是我收到了這個錯誤
Cannot find command 'git'
如果你使用 Anacoda,那么你可以試試這個
conda install git
從這里下載並在您的 Windows 中安裝 git:
https:\/\/git-scm.com\/download\/win<\/a>
然后將其安裝bin路徑添加到你windows的環境路徑中。 然后你會在全局命令提示符下找到 git 命令。
這可能會解決你的問題。
如何更改環境變量: Git:使用適用於 Windows 的 GitHub 客戶端在 PATH 中安裝 Git<\/a>
添加環境變量后的 Visual Studio 代碼重啟
將 git.exe 的路徑添加到名為“路徑”的 Windows 環境變量中。 我的 git.exe 位於“C:\\Users\\LW\\AppData\\Local\\GitHub\\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\\bin\\git.exe”的路徑中。 您可以在類似的文件夾路徑中找到您的 exe 文件。
您可以安裝 git 並使用系統變量路徑中的 git 目錄配置路徑。
如何添加,你能改寫命令嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.