I ran a few more tests on this. It seems to me that there is a bug within pip that makes it download ifcopenshell-0.7.*-py36-none-win_amd64 on python 3.9. not sure why but I have logged a YT for this:
RH-80975 Pip installs wrong ifcopenshell
In the meantime
- Download ifcopenshell for Python 3.9 / 64bit from:
https://blenderbim.org/docs-python/ifcopenshell-python/installation.html
- Extract to a directory where you’d like tho keep this library untouched.
- Add the path of where this library is stored to your script
# env: C:\Users\ein\Downloads\MyLibraries
import ifcopenshell as ifc
print(ifc)