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.py
so that's what is getting executed. This is directly from that interactive
console (and any interactive console in that environment):
>>> import PyQt5
>>> import imp
>>> imp.find_module('PyQt5')
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/ktn/env/lib/python3.4/imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'PyQt5'
>>>
imp.load_dynamic('PyQt5.QtCore','/home/ktn/env/lib/python3.4/site-packages/PyQt5/QtCore.so')
<module 'PyQt5.QtCore' from
'/home/ktn/env/lib/python3.4/site-packages/PyQt5/QtCore.so'>
The problem seems to be with dynamic libraries.
On Wed, May 7, 2014 at 12:06 PM, Thomas Kluyver <tak...@gmail.com> wrote:
> Hi Jack,
>
> On 6 May 2014 18:33, Jack Murray <j...@murray.cx> 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 Ubuntu, have packages of cx_Freeze for Python
> 2.7, and using that could result in the symptoms you see.
>
> Thomas
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find
> out:
> • 3 signs your SCM is hindering your productivity
> • Requirements for releasing software faster
> • Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users