-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update installation instructions #3
Comments
ifcopenshell is now also available via conda: Once I find a version that works with the toolchain I will update the installation instructions. |
Also see IfcOpenShell/IfcOpenShell#736 the package layout is changed in PythonOCC 7.4.0 |
@rurubino1
You need to apply changes from IfcOpenShell/IfcOpenShell/issues/736, but be sure to check out the proper tag, matching your version on conda. Also, use the latest PythonOCC, not 0.18.2, you will have more problem with dependencies that it's worth. And when it comes to PyQt5, install it with conda, not pip. Packages dealing with graphics need system graphic libraries to work and pip can't ship those, but conda can. I can't help with the last error, maybe upgrading PythonOCC will help. |
There might be some more breaking changes in PythonOCC 7.4.0. In this case you might be able to get away with just removing the
|
Thank you Thomas for your help! |
Hello all, thanks for the comments above.
I guess it would be good if someone in the development team can take a look and validate the changes above. Hope this helps, |
Thank you! |
@rurubino1: Thank you for your support and adaptions of the code to the current OCC version ! I just tested your code with a recompiled ifcopenshell libray and it works fine. So I included your changes into the latest submit. I also updated the submodule of the BuildingSystems library to he latest version. I will think about topic 5. (try: and except: instead of if: and else: ... ) Best Christoph |
@nytschgeusen : No problem, I really like this toolchain and think it can really be useful to facilitate building modeling in our applications. Once you understand how to use it (looking forward to some documentation!) it's also very easy to customize to generate any modelica model specific to your application. |
Regarding if-else versus try-except, this is also known as LBYL versus EAFP LBYL: Look before you leap. -> if-else https://devblogs.microsoft.com/python/idiomatic-python-eafp-versus-lbyl/ |
When I install the latest version of all packages listed here:
https://github.com/UdK-VPT/BIM2Modelica/blob/master/CoTeTo_Generators/IFC_MultiZoneBuildings_Modelica/Filters/IfcLib/README.md
I get an error
So maybe this has been removed in pythonocc-core or in oce?
Could you show the output of
conda list
here, or at least the version ofpythonocc-core
so I can install the same versions? Probably pythonocc-core version 0.18.1tpaviot/pythonocc-core#517 (comment)
https://anaconda.org/search?q=pythonocc
https://github.com/tpaviot/pythonocc-core#downloadinstall-binaries-for-linuxosxwindows
The text was updated successfully, but these errors were encountered: