issue with twisted installation

karankotvenkatesh
i have tried all the possible ways which are mention in the forum but no luck.
i am using python 3.9.1 64 bit and unable to install kite connect package please help
Tagged:
  • rakeshr
    @karankotvenkatesh
    Can you paste here the complete installation error stack trace?
  • karankotvenkatesh
    karankotvenkatesh edited January 8
    ERROR: Command errored out with exit status 1: 'c:\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-slwrj7qy\\twisted_a121f774d1524033b6de9dbcb607c6a2\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-slwrj7qy\\twisted_a121f774d1524033b6de9dbcb607c6a2\\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-record-hteml_lq\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\Twisted' Check the logs for full command output.
    @rakeshr
  • karankotvenkatesh
    @rakeshr
    ERROR: Command errored out with exit status 1: 'c:\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-slwrj7qy\\twisted_a121f774d1524033b6de9dbcb607c6a2\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-slwrj7qy\\twisted_a121f774d1524033b6de9dbcb607c6a2\\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-record-hteml_lq\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\Twisted' Check the logs for full command output.
  • rakeshr
    @karankotvenkatesh
    Can you try installing twisted client for your python version using the below command? Then install the Kiteconnect package.
    pip install Twisted‑20.3.0‑cp39‑cp39‑win_amd64.whl
Sign In or Register to comment.