palantir / python-language-server

An implementation of the Language Server Protocol for Python
MIT License
2.6k stars 282 forks source link

scrapy and twisted installation problem on pycharm (python 3.9) #883

Closed tamtam0280 closed 3 years ago

tamtam0280 commented 3 years ago

hello, I tried to install the scrapy package for python, you must first download twysted however it returns me this error (of which I put only the end which seems important to me, the whole is in attachment)

I work on python 3.9 I don't understand the solution

I previously downloaded visual C ++

Can you help me please.

Collecting Twisted.pdf src/twisted/internet/iocpreactor/iocpsupport/iocpsupport.c(8437): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3 error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe' failed with exit code 2

ERROR: Command errored out with exit status 1: 'C:\Users\tamtam\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\tamtam\AppData\Local\Temp\pycharm-packaging\twisted\setup.py'"'"'; file='"'"'C:\Users\tamtam\AppData\Local\Temp\pycharm-packaging\twisted\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\tamtam\AppData\Local\Temp\pip-record-9nu9h_21\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\tamtam\AppData\Local\Programs\Python\Python39\Include\Twisted' Check the logs for full command output.

Collecting Twisted.pdf

ccordoba12 commented 3 years ago

Hey @tamtam0280, thanks for reporting. Unfortunately, your problem has nothing to do with this package.