Fail to connect/access with Blender Speckle

I tried connecting with Speckle for Blender but always failed to access.
The add-on shows up in Blender settings, but I always get an error message when I try to activate it.

Blockquote
Traceback (most recent call last):
File “C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py”, line 364, in enable
mod = importlib.import_module(module_name)
File “C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib_init_.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in call_with_frames_removed
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle_init
.py", line 4, in
ensure_dependencies(f"Blender {bpy.app.version[0]}.{bpy.app.version[1]}")
File “C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\installer.py”, line 200, in ensure_dependencies
install_dependencies(host_application)
File “C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\installer.py”, line 179, in install_dependencies
install_requirements(host_application)
File “C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\installer.py”, line 172, in install_requirements
raise Exception(m)
Exception: Failed to install dependenices through pip, got 1 return code
Blockquote

I only have this problem at our office workplace and contacted our IT specialists.

They told me that they generated the exceptions on the firewall as described in the FAQs, but unfortunately these weren’t the only ones.

I hope you can help. Thx

Hi, When you first launch the blender plugin, we fetch several python packages (via pip)

Looking at this stackoverflow post, it could be that your company blocks some of these domains.


Please could you try disabling any VPN software you have, and restarting blender.
If its possible to try a different network also (mobile hotspot?).

Once the dependencies are fetched, they shouldn’t need to be re-fetched until next you update the connector.

Please let me know if any of the above resolves the issue.

1 Like

Thank you Jedd, for your help and quick response. I have now forwarded this to our IT specialists and am curious to see if they can fix it.

I will let you know if this was the solution

2 Likes

Hello Jedd,

maybe you can help me again. I have forwarded this issue to the IT department and they have told me that they have made the exceptions.
In Rhino the plugin works without any problems.
However, I just can’t get it to work in Blender. The add-on just won’t activate
I use Blender 4.0.2.

Do you get any error messages when enabling the Speckle blender addon?

If you open the system Console (*Window → Toggle System Console`), perhaps there’s some more info there?
blender-system-console

1 Like

Thanks for the tip.
I have already written to you about what I found in the Toggle System Console.
I have only replaced the name (username) here because the thread is public.

Traceback (most recent call last):
File “C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py”, line 364, in enable
mod = importlib.import_module(module_name)
File “C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib_*init* _.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in <em>call_with_frames_removed
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle_*init*</em> .py", line 4, in
ensure_dependencies(f"Blender {bpy.app.version[0]}.{bpy.app.version[1]}")
File “C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\installer.py”, line 200, in ensure_dependencies
install_dependencies(host_application)
File “C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\installer.py”, line 179, in install_dependencies
install_requirements(host_application)
File “C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\installer.py”, line 172, in install_requirements
raise Exception(m)
Exception: Failed to install dependenices through pip, got 1 return code

What I also found is the SpeckleCoreLog file. Can I send it to you via PM?

Hi @MathWohl

Don’t worry about the core log file for the minute, those are created only from our .NET connectors (Rhino, Revit, Archicad, etc…)


Are you able to test from another network. I still suspect that there’s some issue with network blocking Python’s package index?

Hi @Jedd

Sorry for the late reply. Okay, I understand. Is there another current solution for this? The IT experts from my company claim that they have unlocked everything. However, I know that special administrator rights are required for program installations on the individual workstations (presumably as virtual machines). Which is really annoying as I have to ask every time. And so far that hasn’t helped either.
Is there not a possibility from your side to take this into account in the future programming of Speckle so that company computers are not affected?
No currently, i am not able to test it on another network with this kind of configurations.

Regards.