Pubnub not installing (required for Wink)

Since the recent update, the Wink module has required pubnub to work, but when I try to install it as a dependency I get the error:

16-07-03 17:23:40 INFO (MainThread) [homeassistant.util.package] Attempting install of pubnub==3.7.6
Command "c:\Python34\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Jon\\AppData\\Local\\Temp\\pip-build-blh375vn\\pycrypto\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Jon\AppData\Local\Temp\pip-qptgqo23-record\install-record.txt --single-version-externally-managed --compile --home=C:\Users\Jon\AppData\Local\Temp\tmpn2htx22c" failed with error code 1 in C:\Users\Jon\AppData\Local\Temp\pip-build-blh375vn\pycrypto\
16-07-03 17:23:58 ERROR (MainThread) [homeassistant.bootstrap] Not initializing wink because could not install dependency pubnub==3.7.6

incredibly frustrating, can anyone make heads or tails of this error?

(Win10, Pyton 3.4)

contains some comments which could perhaps help.

I have the same problem. Had to revert back to HA 0.23 which was using a different version of Pubnub. Maybe open an issue for this, it seems to be a Windows problem that I don’t have the slightest clue how to fix.

Edit: I submitted this issue, so we will see what those smarter than I can come up with.

problem solved.

Turns out pycrypto wasn’t installing correctly. Someone suggested using the standalone windows installer and it worked like a charm.

Maybe you can tell me what I’m doing wrong, I tried that installer and am getting the same result when HA tries to install Pubnub. I’m also on Win 10 64 bit. Do I need to do something after I use the installer? Btw, I can get the version with win32 to install, the version with win-amd64 can’t find Python in the registry…

So i have this issue as well but im running it on a Pi. Any ideas?

@ChazBolt strange, are you running the latest release? Have you tried running in the foreground to see if it is trying to install pubnub? The first time it installs it has to do some compiling for pycrypto and even on a pi3 it take a couple minutes.

So i am running 0.27. but I’m not certain how I would check if it’s running in the foreground. And even still, it shouldn’t hav to install it every time, should it? I’ve rebooted it several times now and shouldn’t t take this long. Also I’m a Pi2

I still never found a way to make this work…