因此,我尝试将buildbot安装到OS X机器上,但无法通过setup.py文件安装它。当我尝试运行:sudo python setup.py build
时,它返回了以下内容:
error in buildbot setup command: 'install_requires' must be a string or list of strings
containing valid project/version requirement specifiers
我想知道如何解决此问题。我现在已经在运行ubuntu的计算机上安装了buildbot,但是似乎无法在OS X计算机上安装它。
编辑:这是指向setup.py的链接:https://github.com/buildbot/buildbot/blob/master/master/setup.py
编辑#2:修复了最初的问题,但是现在当我运行
python setup.py build
或python setup.py install
时,我不断收到错误消息:error: package directory buildbot/buildslave does not exist
最佳答案
为什么不只是使用easy_install?
sudo easy_install buildbot
关于python - Buildbot安装设置错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/17891903/