Windows上的PySCIPOpt安装问题

时间:2019-02-15 07:30:02

标签: python windows pip scip

当我运行pip install pyscipopt时,出现以下错误:

 build\lib.win32-3.7\pyscipopt\scip.cp37-win32.pyd : fatal error LNK1120: 311 unresolved externals
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x86\\link.exe' failed with exit status 1120

    ----------------------------------------
Command "c:\users\mwars\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\mwars\\AppData\\Local\\Temp\\pip-install-wsiojhnh\\pyscipopt\\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\mwars\AppData\Local\Temp\pip-record-xtl04q1v\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\mwars\AppData\Local\Temp\pip-install-wsiojhnh\pyscipopt\

我设置了SCIPOPTDIR,并将ScipOptSuite\bin添加到了PATH变量中

0 个答案:

没有答案