Just to make sure I tried all the combinations, I went through them some of 
them again:

Pyinstaller dev version from earlier today
1. -onedir  with debug=True, console=True builds and runs.

2. -onefile with debug=True, console=True builds and runs.

3. -onefile with debug=True, console=False gave:
KeyError: 'PYI_PYTHON_LIBRARY_NAME'.  I set console back to true and got the 
same error.

4. back to config #2:
upx: C:\Documents and Settings\Lynn\Application 
Data\pyinstaller\bincache01_py27\clapack.pyd: IOException: rename error:  
Permission denied
WindowsError: [Error 2] The system cannot find the file specified: 
'C:\\Documents and Settings\\Lynn\\Application 
Data\\pyinstaller\\bincache01_py27\\clapack.pyd'

Pyinstaller-2.0
5. I restored the clapack.pyd file and tried #2 again:
ImportError: No module named multiarray

Pyinstaller dev version
6. Build -onedir debug=false (i.e. normal build) using python dev version, 
builds and runs.

I'm obviously having better luck with the dev version, but it seems to get 
weird errors as well. I did #6 several more times:
run 1:
upx: C:\Documents and Settings\Lynn\Application 
Data\pyinstaller\bincache01_py27\clapack.pyd: IOException: rename error:  
Permission denied
WindowsError: [Error 2] The system cannot find the file specified: 
'C:\\Documents and Settings\\Lynn\\Application 
Data\\pyinstaller\\bincache01_py27\\clapack.pyd'
KeyError: 'PYI_PYTHON_LIBRARY_NAME'

run 2: after restoring clapack.pyd, 
KeyError: 'PYI_PYTHON_LIBRARY_NAME'

run 3:
upx: C:\Documents and Settings\Lynn\Application 
Data\pyinstaller\bincache01_py27\clapack.pyd: IOException: rename error:  
Permission denied
WindowsError: [Error 2] The system cannot find the file specified: 
'C:\\Documents and Settings\\Lynn\\Application 
Data\\pyinstaller\\bincache01_py27\\clapack.pyd'

run 4, after restoring clapack.pyd:
KeyError: 'PYI_PYTHON_LIBRARY_NAME'

Not a single successful build after the first one.

Any idea why 2.0 quite working, or how to get the dev version to work more than 
once per type of build?

Lynn

On Nov 5, 2012, at 2:55 PM, Lynn <[email protected]> wrote:

> This problem just reappeared today on my windows xp machine: ImportError: No 
> module named multiarray
> 
> It happens in both onedir and onefile modes, and the file is present.  It 
> happens with pyinstaller-2.0 as well as the most current dev version.
> 
> I don't know what I might have done to trigger the issue, but I have been 
> adding unicode support to my program recently.
> 
> At the same time, the missing clapack.pyd problem reappeared, so once again I 
> copied it into the appropriate directory.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "PyInstaller" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/pyinstaller/-/2oLcSORr8fgJ.
> 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.

-- 
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.

Reply via email to