Tracktor代码win10上的环境配置

  1. conda中创建新环境
  2. 按照requirements.txt安装包,遇到错误的先删掉
    安装lap和lapsolver时遇到错误
 ERROR: Could not find a version that satisfies the requirement pytest-runner (from versions: none)
 ERROR: No matching distribution found for pytest-runner

lap用conda清华源安装了,lapsolver从pypi网站下载whl的win32版本pip安装好了
4. import sacred 出错

ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
    - be included in your $PATH
    - be set via $GIT_PYTHON_GIT_EXECUTABLE
    - explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
    - quiet|q|silence|s|none|n|0: for no warning or exception
    - warn|w|warning|1: for a printed warning
    - error|e|raise|r|2: for a raised exception

Exam

你可能感兴趣的:(Tracktor代码win10上的环境配置)