2016-09-14 28 views
-1

通過以下鏈接:https://github.com/ansible/tower-cli/,您使用pip install安裝tower-cli來安裝tower-cli,但是當您運行命令,如:tower-cli config host www.myWebsite.comWindows 10上的Ansible tower-cli-tower-cli'不被識別爲內部或外部命令

你得到這個錯誤:tower-cli' is not recognized as an internal or external command, 14-Sep-2016 15:41:49 operable program or batch file.

我知道,錯誤意味着我需要的是可執行文件的位置添加到Windows路徑,我認爲我做了:

enter image description here

但仍然是同樣的錯誤,有什麼想法?

回答

0

如果您在您的Windows外殼命令python和得到這個錯誤,「巨蟒」不被識別爲一個內部或外部命令,可操作的程序或bathc文件,然後執行以下操作:

更換蟒蛇py,所以在命令提示符下鍵入py,它會工作。

Again type "py" NOT "python" in your command prompt and it should work ! 
相關問題