安装 Microsoft CNTK 时出错
Error Installing Microsoft CNTK
在安装过程中我收到以下错误:
This script will setup the CNTK prequisites and the CNTK Python
environment onto the machine. More help is given by calling 'get-help
.\install.ps1' in your powershell environment.
The script will analyse your machine and will determine which
components are required. The required components will be downloaded in
[C:\local\Scripts\windows\InstallCache] Repeated operation of this
script will reuse already downloaded components.
- If required VS2012 Runtime and VS2013 Runtime will be installed
- If required MSMPI will be installed
- If required the standard Git tool will be installed
- CNTK source will be cloned from Git into [c:\repos\CNTK]
- Anaconda3 will be installed into [C:\local\Anaconda3-4.1.1-Windows-x86_64]
- A CNTK-PY34 environment will be created in [C:\local\Anaconda3-4.1.1-Windows-x86_64\envs]
- CNTK will be installed into the CNTK-PY34 environment
1 - I agree and want to continue Q - Quit the installation process
1 Determining Operations to perform. This will take a moment...
The following operations will be performed: * Setup/Update CNTK Wheel
* Clone CNTK from Github repository
Do you want to continue? (y/n) y Performing download operations
Download operations finished
Performing install operations Setup/Update of CNTK Wheel environment.
Please be patient.... You are using pip version 8.1.2, however version
9.0.0 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. Cloning CNTK (branch v2.0.beta2.0)
repository....
Fatal error during script execution!
System.InvalidOperationException: This command cannot be run due to
the error: The system cannot find the file specifie d. at
System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord
errorRecord)
PS C:\local\Scripts\windows>
我对 powershell 不熟悉,所以我不知道从哪里开始。
几个问题。您使用的是 beta1 还是 beta2?
如果您使用的是 beta1,请注意,现在有一个 beta2,其中包含错误修复和对安装脚本的一些改进,但我不要认为这个特定问题已得到解决!
看起来 cntk git 存储库的克隆失败了。
你的机器上安装了Git吗? c:\Program Files\Git\bin\?
里面有没有GIT.EXE
我认为安装找到了一个现有的 git.exe
(在不同的位置),现在正试图在 'wrong' 位置调用它。
最简单的解决方法(如果您安装了 git),从命令提示符:
cd c:/
md \repos
cd repos
clone --branch v2.0.beta1.0 --recursive https://github.com/Microsoft/CNTK
如果您已移动到 beta2,请将 v2.0.beta1.0 替换为 v2.0 .beta2.0
在安装过程中我收到以下错误:
This script will setup the CNTK prequisites and the CNTK Python environment onto the machine. More help is given by calling 'get-help .\install.ps1' in your powershell environment.
The script will analyse your machine and will determine which components are required. The required components will be downloaded in [C:\local\Scripts\windows\InstallCache] Repeated operation of this script will reuse already downloaded components.
- If required VS2012 Runtime and VS2013 Runtime will be installed
- If required MSMPI will be installed
- If required the standard Git tool will be installed
- CNTK source will be cloned from Git into [c:\repos\CNTK]
- Anaconda3 will be installed into [C:\local\Anaconda3-4.1.1-Windows-x86_64]
- A CNTK-PY34 environment will be created in [C:\local\Anaconda3-4.1.1-Windows-x86_64\envs]
- CNTK will be installed into the CNTK-PY34 environment
1 - I agree and want to continue Q - Quit the installation process
1 Determining Operations to perform. This will take a moment...
The following operations will be performed: * Setup/Update CNTK Wheel * Clone CNTK from Github repository
Do you want to continue? (y/n) y Performing download operations Download operations finished
Performing install operations Setup/Update of CNTK Wheel environment. Please be patient.... You are using pip version 8.1.2, however version 9.0.0 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. Cloning CNTK (branch v2.0.beta2.0) repository....
Fatal error during script execution! System.InvalidOperationException: This command cannot be run due to the error: The system cannot find the file specifie d. at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
PS C:\local\Scripts\windows>
我对 powershell 不熟悉,所以我不知道从哪里开始。
几个问题。您使用的是 beta1 还是 beta2? 如果您使用的是 beta1,请注意,现在有一个 beta2,其中包含错误修复和对安装脚本的一些改进,但我不要认为这个特定问题已得到解决!
看起来 cntk git 存储库的克隆失败了。
你的机器上安装了Git吗? c:\Program Files\Git\bin\?
我认为安装找到了一个现有的 git.exe
(在不同的位置),现在正试图在 'wrong' 位置调用它。
最简单的解决方法(如果您安装了 git),从命令提示符:
cd c:/
md \repos
cd repos
clone --branch v2.0.beta1.0 --recursive https://github.com/Microsoft/CNTK
如果您已移动到 beta2,请将 v2.0.beta1.0 替换为 v2.0 .beta2.0