This is much better, but still not there yet....keep cutting the sample
down to the bare minimum needed to reproduce the problem...first get rid of
cython, and see if the problem still occurs.  Then cut down other.py down
to the minimum.  Maybe find out of the problem reproduces with nothing more
than the imports at the top with a

print "hello from my script"

in the place of all of the computation in other.py?  And if it does, start
cutting out all of the imports one by one until you find the one that
causes the problem.

http://sscce.org/


On Fri, Apr 12, 2013 at 6:37 PM, dbv <[email protected]> wrote:

> Re-uploaded as plain files.
>
> Put attached files in /tto folder at same level as /pyinstaller-develop
> folder.  Create .pyd with cythonize.py.  Generate --onedir executable using
> command line options in 'make.txt' from within /tto folder.  Run executable
> from /dist.
>
> The sample example is from
> http://docs.scipy.org/doc/scipy/reference/tutorial/optimize.html#still-too-slow-preconditioning
> .
>
> Works in python interpreter; works with pyd files; doesn't work with
> pyinstaller - see run-time "ImportError cannot import name Random" message.
> Note that source files do not directly use random or random.Random.
>
> Environment: windows XP/7, python 2.7.4, numpy 1.7.1, scipy 0.12, cython
> 0.18, pyinstaller 2.0, with and without virtualenv.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PyInstaller" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Daniel Hyams
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to