citronneur / rdpy

Remote Desktop Protocol in Twisted Python
GNU General Public License v3.0
1.67k stars 545 forks source link

Unable to install rdpy by Build or PIP in Windows Python. #132

Open thisismudith opened 2 months ago

thisismudith commented 2 months ago

I am getting the following error when running pip install rdpy or by following the 3-step build method:

ext/rle.c(930): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
ext/rle.c(945): warning C4013: 'Py_InitModule' undefined; assuming extern returning int
LINK : error LNK2001: unresolved external symbol PyInit_rle
build\temp.win-amd64-cpython-311\Release\ext\rle.cp311-win_amd64.lib : fatal error LNK1120: 1 unresolved externals
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120