【问题标题】:How to install scikit 0.19 dev version in anaconda?如何在 anaconda 中安装 scikit 0.19 dev 版本?
【发布时间】:2017-08-01 14:58:51
【问题描述】:

我正在尝试使用 pip install 安装 scikit 0.19 版本。我收到错误消息

 File "C:\Users\Anitha Naveen\Anaconda3\lib\site-packages\numpy\distutils\mingw32ccompiler.py", line 58, in __init__
        dry_run, force)
      File "C:\Users\Anitha Naveen\Anaconda3\lib\distutils\cygwinccompiler.py", line 157, in __init__
        self.dll_libraries = get_msvcr()
      File "C:\Users\Anitha Naveen\Anaconda3\lib\distutils\cygwinccompiler.py", line 86, in get_msvcr
        raise ValueError("Unknown MS Compiler version %s " % msc_ver)
    ValueError: Unknown MS Compiler version 1900
    [0x7FF91BFB1500] ANOMALY: meaningless REX prefix used
    [0x7FF91BFCD5E0] ANOMALY: meaningless REX prefix used
    [0x7FF91EDBF580] ANOMALY: use of REX.w is meaningless (default operand size is 64)
    [0x7FF91EDDA820] ANOMALY: use of REX.w is meaningless (default operand size is 64)
    [0x7FF91FA79E70] ANOMALY: meaningless REX prefix used

    ----------------------------------------
  Rolling back uninstall of scikit-learn
Command ""C:\Users\Anitha Naveen\Anaconda3\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\ANITHA~1\\AppData\\Local\\Temp\\pip-build-fiszbqmt\\scikit-learn\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ANITHA~1\AppData\Local\Temp\pip-f52l6cig-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\ANITHA~1\AppData\Local\Temp\pip-build-fiszbqmt\scikit-learn\

【问题讨论】:

  • 大部分问题都是“非常紧急”的,并不代表一定要向人说明。
  • 我尝试了上述问题的解决方案。我在 "cygwincompiler.py" 中遇到错误。错误是“valueError:未知的 MS 编译器版本 1900”。

标签: python-3.x scikit-learn anaconda


【解决方案1】:

请尝试sklearn官方instruction on installation,如果再次出现问题,请说明你的python和anaconda的版本!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-26
    • 1970-01-01
    • 1970-01-01
    • 2020-05-15
    • 2017-09-28
    • 1970-01-01
    相关资源
    最近更新 更多