Talk:IfcOpenShell code examples

From Wiki.OSArch
Revision as of 07:18, 20 October 2021 by Oshamed (talk | contribs) (IfcOpenShell python ModuleNotFoundError)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hi there,

it is really helpful this kind of tutorial. however, when I try to follow the examples, I face some problems. I believe these problems may be related to package installation although I have installed it using conda ($ conda install -c conda-forge -c oce -c dlr-sc -c ifcopenshell ifcopenshell). for example:

1. when I want to import Selector:

import ifcopenshell.util from ifcopenshell.util.selector import Selector Italic text

I get this error:

ModuleNotFoundError: No module named 'lark'Bold text

2. when I try to access property sets:

import ifcopenshell.util.pset from ifcopenshell import util Italic text

I get this error:

ModuleNotFoundError: No module named 'ifcopenshell.util.pset'Bold text

I am using Jupiter, my python version is 3.8.10