-
Notifications
You must be signed in to change notification settings - Fork 183
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
Python bindings: Unresolved symbols #3964
Comments
The problem starts in configuring step
Mismatched libraries Thank you |
That's just a warning and shouldn't pose problems, as you can see "Generating done". I opened a PR upstream to conan zlib for this anyways conan-io/conan-center-index#1526 |
It would be very helpful to have these bindings work. I have a number of workflows that use the Python bindings in Jupyter, but these won't work with latest version of OS. This causes me to look for other solutions, but OS bindings in Python is my preferred solution. Hoping this can be solved in a future version. Otherwise, I think it's best to note the lack of support for Python in the wiki and documentation. |
Please note that the bindings actually work when installed. They aren't working right now inside the build folder. |
Thank you very much @jmarrec |
develop
|
|
You're having a completely different error it seems?
Anyways, if you want to play with python bindings right now, I'm toying with making a pip package. I have wheels ready for Linux, and for Windows (python 3.7 / 3.8). You do not need to compile openstudio or even have openstudio installed, it's self contained. Install via
|
The install error was because I specified -DBUILD_RUBY_BINDINGS=OFF I'm interested in these python bindings, of course. Thank you. |
@damianCaceres If you are on linux, use I built the rc8 on python 3.9 and realized after trying to install them on a python3.8 machine that there is ABI breakage. With rc9 I built them on python3.8 and tested that they work on both py38 and py39 Do not mind the rc9... in fact these are the current develop, so openstudio sdk 3.1.0-rc4. It's just that everytime I notice an issue with my testpypi, I have to create a new release because I cannot overwrite anything |
Well, I'm especially interested in the package, but more for the pypi wheel with compiled code you have made than for the bindings themselves. I'm introducing in pypi technology. |
(openstudio) damian@damian-HP:~$ pip3.8 install -i https://test.pypi.org/simple openstudio==3.1.0rc9 |
Fix #3964 - Adjustments to python bindings and produce a pypi package
Issue overview
This expands on #3961 fixed by #3963 which specifically only dealt with the broken build itself.
Now that the python bindings are built properly, they still don't work.
Current Behavior
Using #3963 :
Expected Behavior
The bindings should work
Steps to Reproduce
Build with
-DBUILD_PYTHON_BINDINGS:BOOL=ON
. I use Python 3.8 from a virtual env myself.Now try to run the above command.
Details
Environment
Some additional details about your environment for this issue (if relevant):
Context
The text was updated successfully, but these errors were encountered: