I recently wrote a short introductory tutorial for parsing IFC files with IfcOpenShell and Python on my blog here:
I thought users on this forum might find it useful as an introduction. It’s a really simply library and great for querying IFC files to check if their contents are correct.
You have not sufficiently described your scenario for us to give useful feedback. Let’s start with the basics - you will need to run a python interpreter and import the ifcopenshell program.
Can you try the following, and describe exactly what you are doing, and what happens on the computer as a result (be sure to include any error messages exactly as they are shown).
Forget PyCharm for a moment, go and open up a new terminal.
Run the “python” command - if successful, it should start an interactive interpreter where you can start typing in python code. It will also tell you what version of python you have: please tell us what this version is.
If the python command is successful, can start typing, such as “print(‘foo’)” and press enter and it will result in the message “foo” being displayed. if that works, try typing “import ifcopenshell” and press enter. If successful, there will be no message. If it fails, it will say something like module not found. Let us know.
If it says it cannot find the ifcopenshell module, type in “import sys”, press enter. This would should work and not display any success message. Then type “sys.path” and press enter. You should tell us exactly what this command outputs.