python-qt5 icon indicating copy to clipboard operation
python-qt5 copied to clipboard

64-bit vs 32-bit

Open jacksonofalltrades opened this issue 10 years ago • 9 comments

In some cases on Windows, I get this error: "The binaries distributed wtih this version are for the 64-bit version of Python only."

I'm confused, because I'm fairly certain the python I was running is 64-bit. Having said that, do you have a version that will work with 32-bit Python? It's likely on some Windows I may need to support that.

Thanks!

jacksonofalltrades avatar Jan 21 '16 17:01 jacksonofalltrades

Sadly I don't, and this project only supports 64-bit distributions. :(

But if you are able and willing to provide a 32-bit version and a method of storing and accessing them from here I'd be happy to host them. Potentially as a dedicated branch?

Here's a tutorial on how to compile and upload PyQt, should apply to 32-bit as well.

  • https://github.com/pyqt/python-qt5/wiki/Updating-the-repository

mottosso avatar Jan 21 '16 18:01 mottosso

Ok, so making a 32-bit version of this might be as simple as rebuilding PyQt on a 32-bit Win platform? If so, I'm happy to do it and contribute it.

jacksonofalltrades avatar Jan 21 '16 18:01 jacksonofalltrades

Compiling is unfortunately only part of the story.. the main hassle comes with bundling, that's why the guide is so much longer than it otherwise would have had to have been.

Do have a look at it though, and if it seems manageable to you, I'll try and help best I can.

mottosso avatar Jan 21 '16 18:01 mottosso

I really appreciate that! I will. At the moment, my client is ok with us supporting 64-bit only, but eventually we will need this. So probably I won't get to this for a few months, but I'm trying to plan/think ahead.

jacksonofalltrades avatar Jan 21 '16 18:01 jacksonofalltrades

I read through these comments and have been searching high and low for someone who has already compiled a PyQT5 for a 32bit version of python 2.7.x ... I will be creating one (potentially) and wanted to see if you made any progress?

xeacott avatar Oct 31 '17 17:10 xeacott

Hi @xeacott, I haven't had a look at this, but maybe @jacksonofalltrades would know more?

mottosso avatar Nov 01 '17 07:11 mottosso

Sure thing. I found this guide: http://blog.abstractfactory.io/pyqt5-1-1-for-python-2-7/ (not sure if you've seen it, rather not sure if you might have written it yourself) and it highlights some of the same things you do in your guide. It appears to be a very straight forward...

xeacott avatar Nov 01 '17 16:11 xeacott

Yup, that's me. :)

mottosso avatar Nov 02 '17 08:11 mottosso

I guess that leaves me with this task. I'll report anything i find along the way!

xeacott avatar Nov 02 '17 13:11 xeacott