[BlenderBIM] installation problem
I have been struggling to get Blender BIM to install. When i 'tick the box' to enable I get the following Traceback... I know it's me :) Some insight into why it's me will be really appreciated.
Traceback (most recent call last):
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\modules\requests\compat.py", line 11, in
import chardet
ModuleNotFoundError: No module named 'chardet'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\modules\addon_utils.py", line 333, in enable
mod = import(module_name)
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\blenderbim__init__.py", line 39, in
import blenderbim.bim
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\blenderbim\bim__init__.py", line 80, in
modules[name] = importlib.import_module(f"blenderbim.bim.module.{name}")
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\blenderbim\bim\module\lca__init__.py", line 20, in
from . import ui, prop, operator
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\blenderbim\bim\module\lca\prop.py", line 20, in
from blenderbim.bim.module.lca.data import LcaData
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\blenderbim\bim\module\lca\data.py", line 20, in
import olca
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\blenderbim\libs\site\packages\olca__init__.py", line 1, in
from .ipc import *
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\blenderbim\libs\site\packages\olca\ipc.py", line 3, in
import requests
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\modules\requests__init__.py", line 45, in
from .exceptions import RequestsDependencyWarning
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\modules\requests\exceptions.py", line 9, in
from .compat import JSONDecodeError as CompatJSONDecodeError
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\modules\requests\compat.py", line 13, in
import charset_normalizer as chardet
File "C:\Users\nigel\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\modules\charset_normalizer__init__.py", line 24, in
from .api import from_bytes, from_fp, from_path
ModuleNotFoundError: No module named 'charset_normalizer.api'
Comments
Seems to be this module after googling:
https://pypi.org/project/chardet/
That is odd because BlenderBIM works for me without this module, I also don't have it installed.
Maybe some other add-on is causing it?
Atleast what you could try is trying to install the chardet add-on from Blender and see if the message dissappears
Or try disabling all other add-ons and see if the message dissapears
@Coen thank you for your help, alas to no avail. It is doing my head in, I have disabled all Addons, reinstalled Blender. Now lost for clues :(
Try installing a latest unstable release?
https://github.com/IfcOpenShell/IfcOpenShell/releases
@Coen OMG I'm such a dummy, I needed to run Blender as an administrator and your code worked, BlenderBIM enabled successfully. Thank you. I'll write that on a post note and stick on my monitor :)