Blender import error on installation

We will do our best @zoomer, but @Jedd and the team will be focused on SpeckleCon for the next few days. We don’t actively support Beta OSes or Beta Blenders.

1 Like

As far as my Speckle experience, I am sure.

But take your time and enjoy SpeckleCon.

I am not in a hurry with Blender Connector.
This is just for information.
I just wonder what happened as I had no issues for a year or more.
And have no clue if it is me as a user error or whatever.

Of course !
Unfortunately updating/installation, or better activation got impossible
for official Blender now also.
Yes, this does not help for my macOS Public Beta misuage … But I have
seen here that I am not alone with current Blender Connector installation
issues.
And I had Speckle Connector running already before, on Blender 3.6 and
4.0 Alpha on (2 version earlier ?) Sonoma Beta …

Anyway,
this is not urgent for me.
So for now I only wish a great SpeckleCon !

Thanks for your patience.
As Jonathon said, we’re quite tied up with Speckle Con. So I’ve not been able to investigate too much.

However, I have got some updates to share with you that may help you out.

I’ve just published Blender Connector 2.17.0-alpha4. If you get the time. I would appreciate if you could give this a test on your mac, and let me know if there’s any progress.

Alpha 4 includes an extra step in our Mac installers to uninstall any old dependencies in ~/.config/Speckle/connector_installations upon every install. This should prevent any chance for older versions of our connector conflicting with newer versions.

However, this won’t do much for other Addons that install conflicting dependencies.
By “other addon” I do exclusively mean addons that install additional dependencies (such as BlenderBim, BlenderGIS, BlenderKit, etc). I’m unware of any first party Blender addons that include additional dependencies that may conflict, so I expect all of these to work fine.

I’m not 100% sure if disabling BlenderBIM is enough to prevent conflicts. We need to do some more testing to provide clear advice. But I do know that deleting everything in scripts\addons and reinstalling the Blender connector through Manager removes any chance for conflicts.


Additionally, Starting with 2.17.0-alpha4 I have added Blender 4.0 and Blender 4.1 to the list of versions our installers will check for.
This means our connector will install to these blender versions.
I have given it a quick test, and applied a few minor 4.X related bug fixes, and our plugin appears to work fine.
But (and I can’t emphasise this enough) I don’t recommend using our plugin with any Blender 4.X for any serious production work. Once Blender 4.0 is officially released, we’ll start our more intensive internal testing, and once we’re happy, you’ll see an announcement in our change log and docs.

1 Like

I see that worked !
SpecklePy in all 3 of my Blender Setting Folders now.

And I had the 3,6 Folder open when installing and saw that Manager
cleaned the old SpecklePy before adding the new one …

First test, Blender 3.6 activation still fails.
(4.1 too)
But I did not deactivate any other AddOns so far.
AFAIK my only external AddOns are BlenderBIM,
and All_Material_List, which I installed lately for the first time …
(And had issues installing Had to manually copy it over as the
Zip had wrong, redundant subfolders …)

Thanks for clearing things up !

I will play with deactivating/hiding my external AddOns the nexr days …

1 Like

Hi. I have a similar problem. Im using Blender 3.5, and tried both the specle blender offical release, and the new alpha version. I desactivated all the add ons. All of them. I get an error as per screenshot below

Hi @Wojciech_Kumik

Sorry to hear your having issues with the Blender Connector.

Likely another addon you have installed is conflicting with ours. It may not be sufficient to just dissable the addon from within Blender.

To resolve your issue, please can you follow these steps:

  1. Backup your addons folder to another location, just incase you need to restore to your old setup.
  2. Remove all files and folders from the addons directory.
  3. Reinstall Speckle from Speckle Manager. Verify it works.
  4. Finally, you should download the latest version of the other addons you need. (ideally testing them one at a time)
    If you find installing one breaks our connector, Please let us know the addon name and version, and we can investigate.

Please let me know how you get on, I’d be happy to assist further if you’re unable to get our connector to work.

Interesting,
I tried Blender 4.0 final on Windows (11 23H2) and also get the error message
there when trying to activate Speckle Connector AddOn.
Therefore updated to 17 Alpha 4 (?) via Manager, but with same result …

Please can you send me the full console log please

Sorry, did not save it, will come soon.

For now,
I can just say that AFAIR it differed from what @Wojciech_Kumik posted.
And likely I do not have much Addons like All_Materials installed on Windows (?)
as I do not really use the PC.
And if it is because of BlenderBIM AddOn - I need that :slight_smile:

Do you mean the Blender Traceback message ?

Traceback (most recent call last):
File “C:\Users\Speckle\AppData\Roaming\Speckle\connector_installations\Blender 4.0\requests_toolbelt_compat.py”, line 48, in
from requests.packages.urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name ‘appengine’ from ‘requests.packages.urllib3.contrib’ (C:\Users\Speckle\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blenderbim\libs\site\packages\urllib3\contrib_init_.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\WindowsApps\BlenderFoundation.Blender_4.0.0.0_x64__ppwjx1n5r4v9t\Blender\4.0\scripts\modules\addon_utils.py”, line 364, in enable
mod = importlib.import_module(module_name)
File “C:\Program Files\WindowsApps\BlenderFoundation.Blender_4.0.0.0_x64__ppwjx1n5r4v9t\Blender\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\Speckle\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle_init
.py", line 10, in
from bpy_speckle.operators import *
File "C:\Users\Speckle\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\operators_init
.py", line 1, in
from .users import LoadUsers, LoadUserStreams, ResetUsers
File “C:\Users\Speckle\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\operators\users.py”, line 8, in
from bpy_speckle.clients import speckle_clients
File “C:\Users\Speckle\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\bpy_speckle\clients.py”, line 4, in
from specklepy.core.api.client import SpeckleClient
File “C:\Users\Speckle\AppData\Roaming\Speckle\connector_installations\Blender 4.0\specklepy\core\api\client.py”, line 8, in
from gql.transport.requests import RequestsHTTPTransport
File “C:\Users\Speckle\AppData\Roaming\Speckle\connector_installations\Blender 4.0\gql\transport\requests.py”, line 11, in
from requests_toolbelt.multipart.encoder import MultipartEncoder
File "C:\Users\Speckle\AppData\Roaming\Speckle\connector_installations\Blender 4.0\requests_toolbelt_init
.py", line 12, in
from .adapters import SSLAdapter, SourceAddressAdapter
File "C:\Users\Speckle\AppData\Roaming\Speckle\connector_installations\Blender 4.0\requests_toolbelt\adapters_init
.py", line 12, in
from .ssl import SSLAdapter
File “C:\Users\Speckle\AppData\Roaming\Speckle\connector_installations\Blender 4.0\requests_toolbelt\adapters\ssl.py”, line 16, in
from …compat import poolmanager
File “C:\Users\Speckle\AppData\Roaming\Speckle\connector_installations\Blender 4.0\requests_toolbelt_compat.py”, line 50, in
from urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name ‘appengine’ from ‘urllib3.contrib’ (C:\Users\Speckle\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\blenderbim\libs\site\packages\urllib3\contrib_init
.py)

For Blender 4.1 Alpha - on Mac Sonoma PB
it looks like :

Traceback (most recent call last):
File “/Users/Speckle/.config/Speckle/connector_installations/Blender 4.1/requests_toolbelt/_compat.py”, line 48, in
from requests.packages.urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name ‘appengine’ from ‘requests.packages.urllib3.contrib’ (/Users/Speckle/Library/Application Support/Blender/4.1/scripts/addons/blenderbim/libs/site/packages/urllib3/contrib/init.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Applications/Blender400.app/Contents/Resources/4.1/scripts/modules/addon_utils.py”, line 364, in enable
mod = importlib.import_module(module_name)
File “/Applications/Blender400.app/Contents/Resources/4.1/python/lib/python3.10/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 “/Users/Speckle/Library/Application Support/Blender/4.1/scripts/addons/bpy_speckle/init.py”, line 10, in
from bpy_speckle.operators import *
File “/Users/Speckle/Library/Application Support/Blender/4.1/scripts/addons/bpy_speckle/operators/init.py”, line 1, in
from .users import LoadUsers, LoadUserStreams, ResetUsers
File “/Users/Speckle/Library/Application Support/Blender/4.1/scripts/addons/bpy_speckle/operators/users.py”, line 8, in
from bpy_speckle.clients import speckle_clients
File “/Users/Speckle/Library/Application Support/Blender/4.1/scripts/addons/bpy_speckle/clients.py”, line 4, in
from specklepy.core.api.client import SpeckleClient
File “/Users/Speckle/.config/Speckle/connector_installations/Blender 4.1/specklepy/core/api/client.py”, line 8, in
from gql.transport.requests import RequestsHTTPTransport
File “/Users/Speckle/.config/Speckle/connector_installations/Blender 4.1/gql/transport/requests.py”, line 11, in
from requests_toolbelt.multipart.encoder import MultipartEncoder
File “/Users/Speckle/.config/Speckle/connector_installations/Blender 4.1/requests_toolbelt/init.py”, line 12, in
from .adapters import SSLAdapter, SourceAddressAdapter
File “/Users/Speckle/.config/Speckle/connector_installations/Blender 4.1/requests_toolbelt/adapters/init.py”, line 12, in
from .ssl import SSLAdapter
File “/Users/Speckle/.config/Speckle/connector_installations/Blender 4.1/requests_toolbelt/adapters/ssl.py”, line 16, in
from …_compat import poolmanager
File “/Users/Speckle/.config/Speckle/connector_installations/Blender 4.1/requests_toolbelt/_compat.py”, line 50, in
from urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name ‘appengine’ from ‘urllib3.contrib’ (/Users/Speckle/Library/Application Support/Blender/4.1/scripts/addons/blenderbim/libs/site/packages/urllib3/contrib/init.py)

EDIT :

I wonder a bit why Speckle is searching things in BlenderBIM’s folder.

And BTW,
Speckle AddOn was activated (!) after I installed latest 4.0.1 official Blender - on Mac !
(Opposed to Blender 4.0.0 on PC or 4.1. Alpha on Mac)

But it looks like that activated Speckle AddOn does not really work anyway.
Speckle Panel is there and I can refresh and see my accounts and uploads,
but I am not able to stream something to Blender.
Everything looks OK until I press OK - then nothing happens …

I have some updates.

It’s looking like BlenderBIM recently added a dependency of urllib3 2.x which is incompatible with the urllib3 1.X version that our Blender Connector requires.

I’ve tested version 230506 of the BlenderBIM addon, before they added urllib3, and there’s no conflict here; both plugins load correctly.

Our current advice then, is to use this slightly older version of BlenderBIM if you also want to use our connector.


We’re currently investigating what we can do to resolve this. However, it may be beyond our control as we wait for GQL 3.5.X who’s waiting on graphql-js 17.X to release a stable build :pensive:

Please let me know how acceptable using version 230506 of Blender BIM is for you all.

1 Like

For anyone else experience similar errors without BlenderBIM. Then likely you have a different plugin that also conflicts. In these cases.

  1. Please, try disabling your other plugins to find which one is conflicting.
  2. Open a new Topic here on our forums, letting us know the name and version of the plugin that conflicts. What OS you are using, as well as the error message that is displayed.
    Also let us know if you have tried other versions (newer or older)
  3. If all else fails, and you just want the Speckle addon to work, then follow these steps to uninstall conflicting plugins.
1 Like

In general - of course it is OK from my side.
:+1:

Thanks a lot for pointing me to it !

WTF
I was pretty sure that I use the latest official BlenderBIM, no betas.
And 231104 is the latest official.
So I checked my BBIM AddOns for 4.0 and 4.1 and had to realize that
these had only a BBIM from September !?
Must have happened with Blender 4 switching and setting migration.
I expect Blender 4.0 official took the AddOns from the old abandoned
4.0 Blender Beta Settings and latest 4.1 Alpha migrated them again …

231104 is the version I expected to have.

Now I updated BBIM on both Blenders to 231104 … and now
Speckle AddOn and BlenderBIM coexist peacefulle beside each other
and work flawlessly.

BTW,
I am pretty sure that this may be the same reason for my problem
with Blender Speckle activation on Windows …

My apologies, I must have copied the wrong version number :man_facepalming:
I meant to say version 230506

Strange,
it did not work here with a 2309xx.
But it now works with 231104 !?

Probably because I deactivated BlenderBIM, rebooted, uninstalled BBIM,
checked Speckle (AFAIR they were all already activated) and then
reinstalled current BlenderBIM.

I checked both Blenders, 4.0.1 and 4.1.x Alpha.
Speckle AddOn is available and downloads my Stream.
(But I changed from XYZ to Speckle latest Server this time)

OK, I have to admit it does not work.

I have updated Blender 4.1 Alpha to latest now and suddenly both Speckle
and BlenderBIM got deactivated and would not activate again with
usual error messages.

So I searched and found a new official BlenderBIM version and tried
the usual uninstall/upgrade procedure which did also fail.

Unfortunately this happens in Blender 4.1 Alpha as well as 4.0 official (!?)

At least the trick with installing Speckle from Manager - while no BlenderBIM
installed seems to still work.

So Speckle for Blender runs fine on both, Alpha and official.

BTW,
it looks like I am no more able to install BlenderBIM in my Blenders at all
(Maybe as long as Speckle installed, active or not, but I would need to test that)

230506 is the newest version of SpeckleBIM that we currently are compatible with.

1 Like

Update.

Blender 8.1 and 8.2 works for me here fine with
latest(!) BlenderBIM and Speckle.

The problem why I was no more able to install BlenderBIM
in Blender Versions above 8.0 - was just that Blender 8.1+
uses a higher Python Version.

And I missed BlenderBIM py311 downloads as they sorted in the
list behind py310 version !
(BlenderBIM P311 versions had been available since months)
So since I realized that, installation and activation of BlenderBIM
in current Blender official and alpha works like a charm.
(FYI, latest py311 BlenderBIM versions do not install on previous
Blender 8.0 this needs a previous Python version)

So for me also BlenderBIM AddOn does not interfere with Speckle AddOn !
I updated to 2.18.1

There is only one issue.
My (existing) Blender 8.2 Alpha Settings Folder was ignored by latest Speckle Update !
(It was 2.18.0)

This is not for the first time that not all Blender Setting Folders got updated.
I am just not sure if is really especially 8.2, or alternating between any of my 8.x
that Speckle Manager misses to update Speckle AddOn in some of Blender Settings.

I did it the Speckle Update from 2.18.0 to 2.18.1 manually by replacing the SpecklyPy
Folder in Blender 8.2 Settings by the one from my 8.1.