Reputation: 412
I'm trying to install cx_Oracle, but i've faced with the problem while installing.
I've got an error:
LINK : error LNK2001: unresolved external symbol _DllMainCRTStartup build\lib.win-amd64-3.4_mysql.pyd : fatal error LNK1120: 56 unresolved extern als error: command 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin \amd64\link.exe' failed with exit status 1120
System Info:
Windows 7 x64
Python 3.4.3 x64.
I use the following guide for setup C++ part of installation: http://blog.ionelmc.ro/2014/12/21/compiling-python-extensions-on-windows/#id7
I've googled a lot of issues, but i didn't manage to find solution for my own one. Also I've got the same error while installing MySQL-python.
Upvotes: 0
Views: 6148
Reputation: 41
Try to use this commands in command line.
here is a link also: [link to try]
Upvotes: 0
Reputation: 21
Upvotes: 2
Reputation: 493
Ran into the same issue with the source install, but the binaries got it working for me. Install the binary from http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_oracle. If you need here is the guide for the pip wheel install: https://pip.pypa.io/en/latest/user_guide/#installing-from-wheels
Upvotes: 1