I too have a program that imports numpy and scipy. When I try to use
PyInstaller, I get the following error:
File "<string>", line 21, in <module>
NameError: name 'io' is not defined
The code up to line 21 is (line numbers differ because of comments):
from numpy import *
from numpy import random
from scipy import *
from scipy.linalg import cholesky
from scipy.io import write_array
model=raw_input('MF2K or UCode? ')
model=model.upper()
fname=raw_input('Root name? ')
NumRan=raw_input('Number of random realizations? ')
NumRan=int(NumRan)
outfile=fname+".ranvar"
MvName=fname+"._mv"
Mv=io.read_array(MvName,lines=(1,-1)
I have seen related posts, but I really don't understand what the fix
is. Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---