import socket error in addon I was trying to install the Blender Cloud addon and got a python error. It looks like it is trying to load the socket library but is failing.
If I go to the Blender directory and run the python console from the command line, I can do an import with no error, but I cannot from the Blender python console. It is the same python installation since I have no installation external to Blender. 
Here is the result of an import socket from the Blender python console:

Traceback (most recent call last):
  File "&lt;blender_console&gt;", line 1, in &lt;module&gt;
  File "C:\Program Files\Blender Foundation\Blender\2.78\python\lib\socket.py", line 49, in &lt;module&gt;
    import _socket
ImportError: DLL load failed: %1 n’est pas une application Win32 valide.


So it's an invalid win32 DLL, it says.
The entire call when installing the addon (it's mostly the same thing):

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\modules\addon_utils.py", line 330, in enable
    mod = __import__(module_name)
  File "C:\Users\nicolas\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\blender_cloud\__init__.py", line 48, in &lt;module&gt;
    wheels.load_wheels()
  File "C:\Users\nicolas\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\blender_cloud\wheels\__init__.py", line 64, in load_wheels
    load_wheel('lockfile', 'lockfile')
  File "C:\Users\nicolas\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\blender_cloud\wheels\__init__.py", line 48, in load_wheel
    module = __import__(module_name)
  File "C:\Users\nicolas\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\blender_cloud\wheels\lockfile-0.12.2-py2.py3-none-any.whl\lockfile\__init__.py", line 58, in &lt;module&gt;
    import socket
  File "C:\Program Files\Blender Foundation\Blender\2.78\python\lib\socket.py", line 49, in &lt;module&gt;
    import _socket
ImportError: DLL load failed: %1 n’est pas une application Win32 valide.


I'm running a Windows 10 64bits and Blender 2.78. Any idea?
Try the following:


Close Blender
Rename C:\Users\YourNameHere\AppData\Roaming\Blender
Foundation\Blender\2.79 to
C:\Users\YourNameHere\AppData\Roaming\Blender
Foundation\Blender\2.79.bak
Use your login in Windows instead of YourNameHere and your version
of Blender instead of 2.79
Start Blender again