Hi Lauri,
Can you show us a copy of your setup.py file?
Thanks,
Thomas
On 19 January 2014 11:31, Lauri Kajan <lauri.ka...@gmail.com> wrote:
> Hi all,
>
> I'm trying to build my application that use numpy.
> I'm using python 3.2 on a windows 7 machine.
>
> When running my setup script I'm getting and ImportError: No module named
> 'numpy'
> I definitely have numpy installed and importing it works well in my script
> when running it using python.exe.
> I use cx_freeze 4.3.2.
>
> I have tried to add numpy in packages in build options but it's not
> working.
>
> Traceback (most recent call last):
> File "C:\myapp\setup.py", line 74, in <module>
> executables = [myapp_exe]
> File "C:\Python32\lib\site-packages\cx_Freeze\dist.py", line 362, in
> setup
> distutils.core.setup(**attrs)
> File "C:\Python32\lib\distutils\core.py", line 148, in setup
> dist.run_commands()
> File "C:\Python32\lib\distutils\dist.py", line 917, in run_commands
> self.run_command(cmd)
> File "C:\Python32\lib\distutils\dist.py", line 936, in run_command
> cmd_obj.run()
> File "C:\Python32\lib\distutils\command\install.py", line 569, in run
> self.run_command('build')
> File "C:\Python32\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python32\lib\distutils\dist.py", line 936, in run_command
> cmd_obj.run()
> File "C:\Python32\lib\distutils\command\build.py", line 126, in run
> self.run_command(cmd_name)
> File "C:\Python32\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python32\lib\distutils\dist.py", line 936, in run_command
> cmd_obj.run()
> File "C:\Python32\lib\site-packages\cx_Freeze\dist.py", line 232, in run
> freezer.Freeze()
> File "C:\Python32\lib\site-packages\cx_Freeze\freezer.py", line 575, in
> Freeze
> self.finder = self._GetModuleFinder()
> File "C:\Python32\lib\site-packages\cx_Freeze\freezer.py", line 330, in
> _GetModuleFinder
> finder.IncludePackage(name)
> File "C:\Python32\lib\site-packages\cx_Freeze\finder.py", line 579, in
> IncludePackage
> module = self._ImportModule(name, deferredImports)
> File "C:\Python32\lib\site-packages\cx_Freeze\finder.py", line 288, in
> _ImportModule
> raise ImportError("No module named %r" % name)
> ImportError: No module named 'numpy'
>
>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users