๋ค์ ๋ช ๋ น์ผ๋ก Anaconda ๋ด์ Mayavi๋ฅผ ์ค์นํ๋ ค๊ณ ํฉ๋๋ค.
ํ ์ค์น git+ https://github.com/enthought/mayavi
๋ค์ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\USER\Anaconda3\envs\tracx\libs /LIBPATH:C:\Users\USER\Anaconda3\envs\tracx\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" /EXPORT:PyInit_ctraits build\temp.win-amd64-3.5\Release\traits/ctraits.obj /OUT:build\lib.win-amd64-3.5\traits\ctraits.cp35-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.5\Release\traits\ctraits.cp35-win_amd64.lib
ctraits.obj : warning LNK4197: export 'PyInit_ctraits' specified multiple times; using first specification
Creating library build\temp.win-amd64-3.5\Release\traits\ctraits.cp35-win_amd64.lib and object build\temp.win-amd64-3.5\Release\traits\ctraits.cp35-win_amd64.exp
Generating code
Finished generating code
LINK : fatal error LNK1158: cannot run 'rc.exe'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158
----------------------------------------
Command "C:\Users\USER\Anaconda3\envs\tracx\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\USER\\AppData\\Local\\Temp\\pip-build-yk4daflv\\traits\\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\USER\AppData\Local\Temp\pip-6tm9qdu0-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\USER\AppData\Local\Temp\pip-build-yk4daflv\traits\
๋ฌธ์ ๊ฐ ๋ฌด์์ ๋๊น? ํน์ฑ ํจํค์ง์ ์์ต๋๊น? ์๋๋ฉด ์์ ํ ๋ค๋ฅธ ๊ฒ์ ๋๊น?
๋ฏธ๋ฆฌ ๊ฐ์ฌ๋๋ฆฝ๋๋ค!
Windows10์ ํน์ฑ์ ์ค์นํ ๋ ์ด์ ๋์ผํ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๋ค. ๋ต์ stackoverflow์ ์์ต๋๋ค.
์ ๊ฐ ํ,
C:\Program Files (x86)\Windows Kits\8.1\bin\x86
์์ ์ด ํ์ผ์ ๋ณต์ฌํฉ๋๋ค(์ฌ์ฉ์๋ง๋ค ๋ค๋ฅผ ์ ์์).rc.exe
rcdll.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
๊ทธ๋ผ pip install -v --process-dependency-links traits
fatal error LNK1158
๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๋ฐ ๋์์ด ๋ ๊ฒ ๊ฐ์ต๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
Windows10์ ํน์ฑ์ ์ค์นํ ๋ ์ด์ ๋์ผํ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๋ค. ๋ต์ stackoverflow์ ์์ต๋๋ค.
์ ๊ฐ ํ,
C:\Program Files (x86)\Windows Kits\8.1\bin\x86
์์ ์ด ํ์ผ์ ๋ณต์ฌํฉ๋๋ค(์ฌ์ฉ์๋ง๋ค ๋ค๋ฅผ ์ ์์).rc.exe
rcdll.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
๊ทธ๋ผ
pip install -v --process-dependency-links traits
fatal error LNK1158
๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๋ฐ ๋์์ด ๋ ๊ฒ ๊ฐ์ต๋๋ค.