facing the following error despite having microsoft visual build tools installed:
Collecting kiteconnect Using cached kiteconnect-4.1.0-py3-none-any.whl (24 kB) Collecting service-identity>=18.1.0 Using cached service_identity-21.1.0-py2.py3-none-any.whl (12 kB) Collecting requests>=2.18.4 Using cached requests-2.28.1-py3-none-any.whl (62 kB) Collecting six>=1.11.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting pyOpenSSL>=17.5.0 Using cached pyOpenSSL-23.0.0-py3-none-any.whl (57 kB) Collecting enum34>=1.1.6 Using cached enum34-1.1.10-py3-none-any.whl (11 kB) Collecting python-dateutil>=2.6.1 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting autobahn[twisted]==19.11.2 Using cached autobahn-19.11.2-py2.py3-none-any.whl (771 kB) Collecting pywin32 Using cached pywin32-305-cp311-cp311-win_amd64.whl (12.1 MB) Collecting txaio>=18.8.1 Using cached txaio-22.2.1-py2.py3-none-any.whl (30 kB) Collecting cryptography>=2.7 Using cached cryptography-39.0.0-cp36-abi3-win_amd64.whl (2.5 MB) Collecting zope.interface>=3.6.0 Using cached zope.interface-5.5.2-cp311-cp311-win_amd64.whl (211 kB) Collecting Twisted>=12.1.0 Using cached Twisted-22.10.0-py3-none-any.whl (3.1 MB) Collecting charset-normalizer<3,>=2 Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB) Collecting certifi>=2017.4.17 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB) Collecting attrs>=19.1.0 Using cached attrs-22.2.0-py3-none-any.whl (60 kB) Collecting pyasn1-modules Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting pyasn1 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting cffi>=1.12 Using cached cffi-1.15.1-cp311-cp311-win_amd64.whl (179 kB) Collecting constantly>=15.1 Using cached constantly-15.1.0-py2.py3-none-any.whl (7.9 kB) Collecting incremental>=21.3.0 Using cached incremental-22.10.0-py2.py3-none-any.whl (16 kB) Collecting Automat>=0.8.0 Using cached Automat-22.10.0-py2.py3-none-any.whl (26 kB) Collecting hyperlink>=17.1.1 Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB) Collecting typing-extensions>=3.6.5 Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting twisted-iocpsupport<2,>=1.0.2 Using cached twisted-iocpsupport-1.0.2.tar.gz (10 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: setuptools in c:\users\lenovo\documents\python\lib\site-packages (from zope.interface>=3.6.0->autobahn[twisted]==19.11.2->kiteconnect) (65.6.3) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Building wheels for collected packages: twisted-iocpsupport Building wheel for twisted-iocpsupport (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [5 lines of output] running bdist_wheel running build running build_ext building 'twisted_iocpsupport.iocpsupport' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for twisted-iocpsupport Failed to build twisted-iocpsupport ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject.toml-based projects
Could install the whl file and kiteconnect afterwards.