Buildbot windows下安装

来源:互联网 发布:苹果怎么恢复备份数据 编辑:程序博客网 时间:2024/06/06 02:51


折腾了好久,记录下这些折腾的曲折过程。

官方参考文档是:

http://trac.buildbot.net/wiki/RunningBuildbotOnWindows

主要是这么一些依赖。1,2,4,5 都好说,奇葩的是安装完twisted的版本,import twisted死活找不到,而且在python的安装目录下site_package里面也没有。

可能的原因:

1,版本和zope以及python匹配的问题。  2 原来机器上安装了python3,然后再安装python2,版本之间冲突,但我试过卸载两者都没有用,第一个可能性比较大,当然也有可能存在其他的原因。

  • Python 2.x. Use the latest 2.x version of Python.
  • PyWin32. Match the version with the Python you installed.
  • Twisted. Match the version with the Python you installed.  下载地址:https://pypi.python.org/simple/twisted/
  • setuptools. Match the version with the Python you installed.
  • Use easy_install to install Zope.Interface: Open a Windows command prompt (cmd.exe) and run "C:\Python27\scripts\easy_install zope.interface".
  • Buildbot, of course. You need 0.8.2 or later. UseC:\Python27\scripts\easy_install whenever you seeeasy_install in the generic instructions.

最快速的方法,如果网络没有什么问题的话,直接用pip安装,第三方依赖包都会解决。

C:\Python27\Scripts>pip install buildbot


buildbot的下载地址:

https://pypi.python.org/pypi/buildbot/0.9.10

https://pypi.python.org/pypi/buildbot-worker#downloads



C:\Python27\Scripts>buildbot --version
Buildbot version: 2017.08.29
Twisted version: 17.5.0


原创粉丝点击