-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cannot install python-olm on Windows via pip (Py38 amd64) #25
Comments
The Python bindings require the C lib and C headers to be installed beforehand. @turt2live could you lend a hand in Windows land? I believe the error about the make file is safely ignored even though it shouldn't be there, this should be fixed by next release. Thanks for the report. |
Compiling on Windows is a terrible user experience for people who develope in Python and have no experience with C/C++. The knowledge isn't there, the build tools aren't there, and where are we supposed to get C libs/headers or place them? For example, I had to install the VS C++ build tools, which already required me to install a 4 GB package of Visual Studio on my computer only to compile a small module (which then still didn't work, as shown above). The best experience for any Windows user is, when they find a binary wheel uploaded to Pypi.
Would be great if that could happen when you release the next version. 💚 |
yes it is, particularly when you don't have a windows machine to build on... which is a big reason we don't ship windows binaries. |
We might want to let CI build statically linked wheels using something like cibuildwheel. CI would in this case push releases to PyPi as well, but that requires CI to be set up and I forgot what our stance on the legal side of things is with regards to this. |
Anybody got it compiled? |
It builds under Setup the
Get the latest
Once the build is done you should have the
The next step is to build the Python wheel from the
This will fail because the generated compile command for
After re-running the compile command you can continue building the Python wheel.
You should now have a completed wheel (
If all of that worked you'll end up with a wheel called |
@dirkbike Would it be possible to upload the wheel for cp38 and win64? This issue still seems to be unsolved. |
This issue is still not resolved. Apart from the method @dirkbike mentioned, is there an easier way to install python-olm on windows? |
Why not use wsl2? It works fine for me. |
Please add prebuilt libs or Windows onto pypi. |
The text was updated successfully, but these errors were encountered: