Re: [cx-freeze-users] PyQt5, python3

2014-05-07 Thread Thomas Kluyver
On 7 May 2014 15:38, Jack Murray wrote: > I fixed this problem by touching touching __init__.py in > env/lib/python3.4/site-packages/PyQt5/ -- it couldn't find the package > otherwise. > Ah, that makes sense. I think it should be possible to work around that by specifying PyQt5 in 'packages', an

Re: [cx-freeze-users] PyQt5, python3

2014-05-07 Thread Jack Murray
(the __init__.py thing is still necessary even after using the latest version from the repository) On Thu, May 8, 2014 at 8:38 AM, Jack Murray wrote: > I fixed this problem by touching touching __init__.py in > env/lib/python3.4/site-packages/PyQt5/ -- it couldn't find the package > otherwise.

Re: [cx-freeze-users] PyQt5, python3

2014-05-07 Thread Jack Murray
I fixed this problem by touching touching __init__.py in env/lib/python3.4/site-packages/PyQt5/ -- it couldn't find the package otherwise. After fixing this problem I did indeed also have to update to the bitbucket version of cxfreeze because I was getting NameError: name '__file__' is not defined

Re: [cx-freeze-users] PyQt5, python3

2014-05-07 Thread Thomas Kluyver
On 6 May 2014 20:46, Jack Murray wrote: > The file that I edited to add the code.inspect() was > env/lib/python3.4/site-packages/cx_Freeze-4.3.2-py3.4-linux-x86_64.egg/cx_Freeze/finder.py > cx_Freeze 4.3.2 had trouble with Python 3.4 - can you try upgrading to cx_Freeze 4.3.3? Thanks, Thomas --

Re: [cx-freeze-users] PyQt5, python3

2014-05-06 Thread Jack Murray
I think it's the right version. I installed it into a virtual environment. `which cxfreeze` gives me the one from the virtual environment I'm operating in. The file that I edited to add the code.inspect() was env/lib/python3.4/site-packages/cx_Freeze-4.3.2-py3.4-linux-x86_64.egg/cx_Freeze/finder.p

Re: [cx-freeze-users] PyQt5, python3

2014-05-06 Thread Thomas Kluyver
Hi Jack, On 6 May 2014 18:33, Jack Murray wrote: > Now cx_freeze raises the import error. This first occurs near line 146 in > finder.py within cx_freeze. I added a code.interact() statement: Are you definitely running cx_Freeze with the right version of Python? Some Linux distros, such as Ubu

[cx-freeze-users] PyQt5, python3

2014-05-06 Thread Jack Murray
Hi, I'm new to cx_freeze. I'm trying to get something that imports PyQt5 working with cx_freeze and python3 on linux (x86_64). When I just run cx_freeze without any arguments on the binary, it is missing many dependencies in the build. When I run it, it raises an import error for PyQt5 So I adde