[SciPy-user] 'crashing' python

Victor Reijs genietdev0 at iol.ie
Sun Jul 31 16:24:10 CDT 2005


Hello Peter,

Thanks, I did this now. My sys.path is now:
['', 'C:\\Program Files\\Jasc Software Inc\\Paint Shop Pro 8\\Python 
Libraries', 'C:\\Program Files\\Jasc Software Inc\\Paint Shop Pro 
8\\Python Libraries\\DLLs', 'C:\\Program Files\\Jasc Software Inc\\Paint 
Shop Pro 8\\Python Libraries\\lib', 'C:\\Program Files\\Jasc Software 
Inc\\Paint Shop Pro 8\\Python Libraries\\lib\\plat-win', 'C:\\Program 
Files\\Jasc Software Inc\\Paint Shop Pro 8\\Python 
Libraries\\lib\\lib-tk', '', 'c:/python22/lib/site-packages', 
'c:/python22/lib/site-packages', 'c:/python22/lib/site-packages', 
'c:/python22/lib/site-packages']
<it looks like I have to check if the path already has it and if include 
I should not add it again with the next run>

But I still get this as errors (every line with 'Executing RunScript' 
means a RUN-command for the script; it seems something is changing while 
re-running the script):
"Executing RunScript
[1.3, 0.69999999999999996, 0.80000000000000004, 1.8999999999999999, 1.2]
Unknown error occurred with command: RunScript

Executing RunScript
ImportError: No module named _numpy

Executing RunScript
[1.3, 0.69999999999999996, 0.80000000000000004, 1.8999999999999999, 1.2]
Traceback (most recent call last):
   File "C:\Documents and Settings\vreijs\My Documents\My PSP8 
Files\Scripts-Trusted\pickcolorb.PspScript", line 19, in ?
     from scipy.optimize import fmin
   File "C:\Python22\Lib\site-packages\scipy\optimize\__init__.py", line 
7, in ?
     from optimize import *
   File "C:\Python22\Lib\site-packages\scipy\optimize\optimize.py", line 
56, in ?
     import Numeric
ImportError: No module named Numeric

Executing RunScript
[1.3, 0.69999999999999996, 0.80000000000000004, 1.8999999999999999, 1.2]
Traceback (most recent call last):
   File "C:\Documents and Settings\vreijs\My Documents\My PSP8 
Files\Scripts-Trusted\pickcolorb.PspScript", line 19, in ?
     from scipy.optimize import fmin
ImportError: cannot import name fmin
"

<Every new RUN-command of the script repeats the above last cannot 
import name fmin>

Does this provide some info, what I do wrong?

All the best,


Victor

Peter Wang wrote:

> import sys
> sys.path.append("c:/python23/lib/site-packages")
> from scipy import *
> from scipy.optimize import fmin



More information about the SciPy-user mailing list