Windows 7 如何在64位Windows 7中安装behat和mink驱动程序?

Windows 7 如何在64位Windows 7中安装behat和mink驱动程序?,windows-7,windows-7-x64,behat,mink,Windows 7,Windows 7 X64,Behat,Mink,我正在尝试设置水貂与behat一起工作,使用上的说明。正如您将看到的,大约有2个屏幕向下显示,它告诉我们安装了mink,但没有驱动程序。我想这意味着它什么都不能说 然后,它为新手提供了一个composer.json文件。我试过了,当我跑的时候 php composer.phar install 这就是我得到的 D:\Projects\TestCoachmaster>php composer.phar update Loading composer repositories with pa

我正在尝试设置水貂与behat一起工作,使用上的说明。正如您将看到的,大约有2个屏幕向下显示,它告诉我们安装了mink,但没有驱动程序。我想这意味着它什么都不能说

然后,它为新手提供了一个composer.json文件。我试过了,当我跑的时候

php composer.phar install
这就是我得到的

D:\Projects\TestCoachmaster>php composer.phar update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for behat/mink-zombie-driver * -> satisfiable by behat/mink-zombie-driver v1.0.0.
    - behat/mink-zombie-driver v1.0.0 requires symfony/process >=2.1.0,<2.2.0-dev -> no matching package found
.
  Problem 2
    - behat/mink-goutte-driver v1.0.0 requires fabpot/goutte 1.0.* -> no matching package found.
    - behat/mink-goutte-driver v1.0.3 requires fabpot/goutte @dev -> no matching package found.
    - behat/mink-goutte-driver v1.0.2 requires fabpot/goutte 1.0.*@dev -> no matching package found.
    - behat/mink-goutte-driver v1.0.1 requires fabpot/goutte 1.0.x-dev -> no matching package found.
    - Installation request for behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver v1.0.1, b
ehat/mink-goutte-driver v1.0.2, behat/mink-goutte-driver v1.0.3, behat/mink-goutte-driver v1.0.0.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting 
   see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

D:\Projects\TestCoachmaster>
D:\Projects\TestCoachmaster>php composer.phar更新
使用包信息加载composer存储库
更新依赖项
无法将您的需求解析为可安装的软件包集。
问题1
-behat/mink僵尸驱动程序的安装请求*->可由behat/mink僵尸驱动程序v1.0.0满足。
-behat/mink僵尸驱动程序v1.0.0要求symfony/process>=2.1.0,未找到匹配的软件包
.
问题2
-behat/mink goutte驱动程序v1.0.0需要Fabbot/goutte 1.0.*->未找到匹配的软件包。
-behat/mink goutte驱动程序v1.0.3需要Fabbot/goutte@dev->未找到匹配的软件包。
-behat/mink goutte驱动程序v1.0.2需要Fabbot/goutte 1.0.*@dev->未找到匹配的软件包。
-behat/mink goutte驱动程序v1.0.1需要Fabbot/goutte 1.0.x-dev->未找到匹配的软件包。
-behat/mink痛风驱动程序的安装请求*->behat/mink痛风驱动程序v1.0.1,b可满足
ehat/水貂痛风驱动程序v1.0.2,behat/水貂痛风驱动程序v1.0.3,behat/水貂痛风驱动程序v1.0.0。
潜在原因:
-软件包名称中的输入错误
-根据您的最低稳定性设置,该软件包没有足够稳定的版本
看见https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion 更多细节。
D:\Projects\TestCoachmaster>
我已经尝试过调整dev的最小稳定性,但没有任何帮助

我在Windows7下运行,64位,为了让bhat和mink安装,我做了很多调整。我确实认为他们有-是驱动器没有

得到了感激的帮助。
伊恩

我几天前也遇到过同样的问题。这是最低限度的稳定性问题。我不知道您是如何设置最小稳定性的,但您应该做的是:

composer.json:

{
    "require": {
        "behat/mink-goutte-driver": "*",
        "behat/mink-selenium-driver": "*",
        "behat/mink-selenium2-driver": "*",
        "behat/mink-sahi-driver": "*",
        "behat/mink-zombie-driver": "*"
    },
    "minimum-stability": "dev" 
}

这应该管用,我现在就试过了。请注意,我删除了对behat/mink的引用,因为这会产生另一个错误,应该会自动将其作为这些驱动程序的依赖项找到。

在windows上安装behat的分步指南:

当我尝试这样做时,我会得到有关goutte驱动程序的错误。取出后,它没有抱怨,但它删除了behat/behat和gerkin,使我没有任何有用的东西。