it looks like the odrive install script cannot work unless pywin32 is installed upfront.
I had just installed a fresh python 3.6 32bits on a win7 and i got
NameError: name ‘win32console’ is not defined
after installing pywin32, odrive successfully installed.
c:\Users\fr.mtb.ug.deco_ftt\Desktop\odrive>C:\Users\fr.mtb.ug.deco_ftt\AppData\L
ocal\Programs\Python\Python36-32\python.exe -m pip install odrive
Collecting odrive
Using cached https://files.pythonhosted.org/packages/f6/a6/a6d88eebc45d45beab2
16a2aa69cf0f4cf1f99bc51f2be6a3e83de5175a7/odrive-0.4.0.post2.tar.gz
Complete output from command python setup.py egg_info:
Could not init terminal features.
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\FRMTBU~1.DEC\AppData\Local\Temp\pip-install-b97ig9zt\odrive
\setup.py”, line 48, in
import odrive.version
File “C:\Users\FRMTBU~1.DEC\AppData\Local\Temp\pip-install-b97ig9zt\odrive
\odrive_init_.py”, line 8, in
import fibre
File “C:\Users\FRMTBU~1.DEC\AppData\Local\Temp\pip-install-b97ig9zt\odrive
\fibre_init_.py”, line 2, in
from .discovery import find_any, find_all
File “C:\Users\FRMTBU~1.DEC\AppData\Local\Temp\pip-install-b97ig9zt\odrive
\fibre\discovery.py”, line 113, in
timeout=None, logger=Logger(verbose=False)):
File “C:\Users\FRMTBU~1.DEC\AppData\Local\Temp\pip-install-b97ig9zt\odrive
\fibre\utils.py”, line 152, in init
self._stdout_buf = win32console.GetStdHandle(win32console.STD_OUTPUT_HAN
DLE)
NameError: name ‘win32console’ is not defined
----------------------------------------
Command “python setup.py egg_info” failed with error code 1 in C:\Users\FRMTBU~1
.DEC\AppData\Local\Temp\pip-install-b97ig9zt\odrive\