We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to install mayavi within Anaconda by the following command:
pip install git+https://github.com/enthought/mayavi
and get the following error:
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\
What is the problem? Is it in the traits package? Or something completely different?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I ran into this same problem when installing traits on Windows10. The answer is at stackoverflow
What I did,
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
Then did pip install -v --process-dependency-links traits I think this should help resolve the fatal error LNK1158
pip install -v --process-dependency-links traits
fatal error LNK1158
Sorry, something went wrong.
No branches or pull requests
I am trying to install mayavi within Anaconda by the following command:
pip install git+https://github.com/enthought/mayavi
and get the following error:
What is the problem? Is it in the traits package? Or something completely different?
Thanks in advance!
The text was updated successfully, but these errors were encountered: