bnjmnp / pysoem

Cython wrapper for the Simple Open EtherCAT Master Library
MIT License
96 stars 37 forks source link

Failed to download pysoem using pip in the win10 system. Urgent! #86

Open Tyhmg opened 1 year ago

Tyhmg commented 1 year ago

I have installed Npcap (compatible with Winpcap), but the error prompt when using pip to download pysoem is: LINK: fatal error LNK1181: cannot open input file 'wpcap. lib'

Tyhmg commented 1 year ago

I have solved the problem. You only need to place three lib files: libsoem.lib, Packet.lib, wpcap.lib in the file path: C: Program Files (x86) Microsoft Visual Studio 14.0 VC lib

bnjmnp commented 1 year ago

Are you using a 32-bit Python distribution?

Tyhmg commented 1 year ago

Yes, the python I use is 32-bit.

bnjmnp commented 1 year ago

Someone else created an issue in regards to 32-bit Python, maybe you will find an alternative solution there: #69.

I'm wondering why some people need to use a 32-bit Python? Maybe it is a good idea for me to update the build to also work for 32-bit Python right away?