Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #529 (new defect)

Opened 14 months ago

numpy import -> ImportError: No module named multiarray on SVN, mac 10.6, python 2.7

Reported by: pinchies Owned by: matysek
Priority: normal Milestone:
Component: Platform Mac Version: 1.5.1
Severity: normal Keywords:
Cc:

Description

I am experiencing a similar problem to http://www.pyinstaller.org/ticket/363. I created a test script with one line to demonstrate:

import numpy running this script from IDLE works perfectly. When I compile (from pyinstaller SVN version, using Jon Baer's excellent scipy superpack)

I get:

Last login: Sun Mar 11 23:10:51 on ttys003 /Users/pinchies/Desktop/Speed/pyinstaller/test/dist/test ; exit; pinchiess-mac:~ pinchies$ /Users/pinchies/Desktop/Speed/pyinstaller/test/dist/test ; exit; Traceback (most recent call last):

File "<string>", line 1, in <module> File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 437, in importHook

mod = _self_doimport(nm, ctx, fqname)

File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 527, in doimport

exec co in mod.dict

File "/Users/pinchies/Desktop/Speed/pyinstaller/test/build/pyi.darwin/test/out01-PYZ.pyz/numpy", line 137, in <module> File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 437, in importHook

mod = _self_doimport(nm, ctx, fqname)

File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 527, in doimport

exec co in mod.dict

File "/Users/pinchies/Desktop/Speed/pyinstaller/test/build/pyi.darwin/test/out01-PYZ.pyz/numpy.add_newdocs", line 9, in <module> File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 437, in importHook

mod = _self_doimport(nm, ctx, fqname)

File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 527, in doimport

exec co in mod.dict

File "/Users/pinchies/Desktop/Speed/pyinstaller/test/build/pyi.darwin/test/out01-PYZ.pyz/numpy.lib", line 4, in <module> File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 437, in importHook

mod = _self_doimport(nm, ctx, fqname)

File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 527, in doimport

exec co in mod.dict

File "/Users/pinchies/Desktop/Speed/pyinstaller/test/build/pyi.darwin/test/out01-PYZ.pyz/numpy.lib.type_check", line 8, in <module> File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 437, in importHook

mod = _self_doimport(nm, ctx, fqname)

File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 527, in doimport

exec co in mod.dict

File "/Users/pinchies/Desktop/Speed/pyinstaller/test/build/pyi.darwin/test/out01-PYZ.pyz/numpy.core", line 5, in <module> File "/Users/pinchies/Desktop/Speed/pyinstaller/PyInstaller/loader/iu.py", line 456, in importHook

raise ImportError?("No module named %s" % fqname)

ImportError?: No module named multiarray logout

[Process completed]

I have checked, and the multiarray files are all there?

Attachments

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.