-
Notifications
You must be signed in to change notification settings - Fork 772
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
Autobahn and pyInstaller not compatible anymore #1627
Comments
What results? Apparently, this issue - if it actually is one - misses any logs, versions, etc. Don't get me wrong, but currently, it's pretty useless, you might be new to open-source, so no offense;) I recognize you've been directed here which is good, thanks @om26er! this repo should probably have an issue template asking for the usual / relevant stuff. Do you happen to have one? |
No problem and thank you for your answer.
When I try to install the zlmdb package, it fails (I tried also with different versions): Collecting lmdb>=1.4.0 (from zlmdb) × Getting requirements to build wheel did not run successfully.
The point now is that the patch-ng is already installed with version 1.17.4 Regarding your question, when I go to Pypi and search for autobahn (https://pypi.org/project/autobahn/) I can see the following: When I click on the "pyinstaller failing" button to get more info I'm redirected to the following url where I have the impression that Autobahn has currently some issue with pyinstaller: As further info, pyinstaller 3.5 was succesfully running on my project with Python 3.7.4, autobahn 20.12.3. Please let me know if more details are needed, thanks. |
yes, sure, that was only a hint / question to @om26er actually whether we want to have such a template in this repo here in general (independent of your specific issue) asking users to provide infos .. which I now did manually, but I like to automate stuff! ;)
ah, right, see, couple of things now are clear you are using windows, which sucks, and issues like these are expected from time to time, not only with autobahn, but in general with lots of OSS, as many developers have moved to sane/decent OSs .. so if you can, I'd recomment next, zLMDB is installed with Autobahn only if you install the finally, the issue pops up on Windows and for zLMDB and probably should be hosted in that repo https://github.com/crossbario/zlmdb/ - BUT: now that you've opened it here, let's keep it here
no, thanks, it's only on Windows, that's all I (me personally) need to know;) here are you options in summary:
sorry, but I hope this helps! |
Thank you, this helps a lot my understanding but it's not yet solving at the current stage. |
For WebSocket using Twisted for networking only, you should be good with If you want to use WebSocket compression (optional, quite exotic), add On non-Windows, and on CPython (not PyPy), add All the dist flags are here Line 275 in 359f868
yeah, it's a small mess, specifically on windows, on standard or non-standard pythons;) have a look at
|
I created a new virtual env but I see the folder xbr always creating when using the commands you suggested. |
I don't have a template, however to keep things super simple we should create a template that asks the basic
I will come up with a PR to add an issue template and we may discuss there |
I also came from pyinstaller 3.5 (got a dependabot to upgrade to 5.13.2)
Note that latest gives a warning about mnemonic, then when i install that, it complains about base58 My application is for windows users; unfortunately i can't make all my users install linux 💯 |
=) yeah, I feel your pain, unfortunately. having been trapped for many years since DOS 3.3, I escaped - personally - more than a decade ago .. but there is no escape in the industry. anyways, trying to give some hints/tips nevertheless .. on Windows, my best tip is: only use the autobahn flavor that you need ... such as
this will not install
if you need twisted rather than asyncio, then you must get that working on windows usually, this isn't a problem as twisted is quite mature and people look after it also on crap platforms (windows) now, pyinstaller, and pyinstaller on windows is a whole other level of challenge of course I'd recommend getting a trivial non-autobahn python example with only twisted + pyinstaller on windows working with the latest cpython / twisted that you want first if you need autobahn[xbr] or any of those flavors requiring lmdb, then I'd test minimal twisted+lmdb wrapped with pyinstaller for windows first be aware, you can easily waste many hours fiddling around with this. sorry, DOS 3.3 is still a thing for users, and |
As results on Pypy, Pyinstaller is not compatible anymore with Autobahn. Is there a plan to fix this compatibility? Thanks
The text was updated successfully, but these errors were encountered: