Gitlab-ci does not recognize python
ci 找不到python$ python -Vpython : The term ‘python’ is not recognized as the name of a cmdlet, function, script file, or operable program. Checkthe spelling of the name, or if a path was included, verif
·
ci 找不到python
$ python -V
python : The term ‘python’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\WINDOWS\TEMP\build_script377697220\script.ps1:195 char:1
- python -V
-
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
在gitlab_runner 的 config.toml 里面加
environment = [‘PATH=%PATH%;C:\Windows\System32;C:/Program Files/Git/bin;C:\Python27;D:\Python27;C:\Python27\Scripts;D:\Python27\Scripts’]
更多推荐
已为社区贡献1条内容
所有评论(0)