Command "python setup.py egg_info" failed with error code 1 / pip install --upgrade kiteconnect

subhag
pip install --upgrade kiteconnect

Not working Getting Error:-

Command "python setup.py egg_info" failed with error code 1
  • subhag
    Even after downgrading Python from 3.7 to 3.6 ...it's not working...

    Python version :- Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 12:45:02) [MSC v.1900 32 bit (Intel)] on win32

    Error:-

    Command "c:\users\subhag.ghosh\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\SUBHAG~1.GHO\\AppData\\Local\\Temp\\pip-install-44d7yszl\\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\SUBHAG~1.GHO\AppData\Local\Temp\pip-record-l8jf3uuz\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\SUBHAG~1.GHO\AppData\Local\Temp\pip-install-44d7yszl\Twisted\
  • subhag
    Anyone, could you please let me know...which is a workable version of python to import kiteconnect?
  • subhag
    What Worked:-

    1. Installed Python 2.7.15
    2. Upgraded the PIP :- python -m pip install --upgrade pip
    3. Downloaded :- Microsoft Visual C++ Compiler for Python 2.7 from https://www.microsoft.com/en-us/download/details.aspx?id=44266
    4. ppip install --upgrade kiteconnect

    pip install --upgrade kiteconnect

    Thanks God.
This discussion has been closed.