On 23 April 2012 20:35, Thomas <[email protected]> wrote:
> I tried running the binary, but it fails with ImportError:
> ~/wc/software-dev/spye/current $ dist/spye.exe
> Traceback (most recent call last):
>  File 
> "/usr/local/lib/python2.7/dist-packages/cx_Freeze/initscripts/Console.py",
> line 27, in <module>
>    exec code in m.__dict__
>  File "spye-exe", line 2, in <module>
>    import spye
> ImportError: No module named spye

The output from setup.py looks OK, but I've not seen that sort of error before.

I notice in your setup.py file that you're specifying the executable
with the option targetDir = r"dist". I haven't followed through
exactly what effects that will have, but it's possible that not all
the files end up in the right place. Can you try commenting that line
out and running it again? It will place the files in build/exe...
(with more parts identifying the platform).

Thomas

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to