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 "<blender_console>", line 1, in <module>
File "C:\Program Files\Blender Foundation\Blender\2.78\python\lib\socket.py", line 49, in <module>
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 <module>
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 <module>
import socket
File "C:\Program Files\Blender Foundation\Blender\2.78\python\lib\socket.py", line 49, in <module>
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?
import socket
no problem. $\endgroup$PYTHON INTERACTIVE CONSOLE 3.5.3 (default, May 20 2017, 19:10:40) [MSC v.1800 64 bit (AMD64)]
? $\endgroup$