Re: NumPy, SciPy, & Python 3X Installation/compatibility issues

2014-09-23 Thread SK
Hi EK,
Did you figure out questions 1, 2 and 3? SciPy (0.14.0) on installation asks me 
for Python 2.7. First day on Python here, I am really struggling :/
Thanks,
SK

On Saturday, May 10, 2014 7:07:33 PM UTC+2, [email protected] wrote:
> Hi All--
> 
> 
> 
> Let me state at the start that I am new to Python. I am moving away from 
> Fortran and Matlab to Python and I use all different types of numerical and 
> statistical recipes in my work. I have been reading about NumPy and SciPy and 
> could not find any definitive answers to my questions, below.  I had run into 
> many mostly installation problems that I could never get NumPy or SciPy to 
> work with Python 3.3 or newer.  I am using Windows7 64 bit OS. 
> 
> A few questions:
> 
> 1.What are the latest versions of NumPy and SciPy that are compatible 
> with Python 3.3 or newer and Windows7 64 bit? 
> 
> 2.What is the best source to download and install them on my computer?
> 
> 3.Are they all installable on my OS w/o any major problems/addition?
> 
> 4.In the long run, would it be better to use UNIX instead of Windows, if 
> I were to use Python for all of my research?
> 
> Thanks in advance. EK

-- 
https://mail.python.org/mailman/listinfo/python-list


Why do you use python?

2009-10-31 Thread sk
What would be your answer if this question is asked to you in an
interview?

a modified version might be:
"Where would you use python over C/C++/Java?"

(because my resume says I know C/C++/Java)?
-- 
http://mail.python.org/mailman/listinfo/python-list


multiprocessing and freezing on Windows

2009-07-02 Thread SK
Is there a method for freezing a Python 2.6 app using multiprocessing
on Windows using PyInstaller or py2exe that works? It is trying to
call my executable instead of python.exe when the process starts and
passes it --multiprocessing-fork . Adding a freeze_support() to my
main doesn't help. Do I have to bundle all of Python and use
set_executable() to point to the bundled python.exe? I can't find any
workable information on the canonical way to do this.

Thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing and freezing on Windows

2009-07-04 Thread SK
To add a bit more information, I found that I needed to patch
get_command_line in multiprocessing/forking.py replacing:

if getattr(sys, 'frozen', False):
return [sys.executable, '--multiprocessing-fork']
else:
prog = 'from multiprocessing.forking import main; main()'
return [_python_exe, '-c', prog, '--multiprocessing-fork']

with:

if WINEXE:
prog = 'from multiprocessing.forking import main; main()'
return [_python_exe, '-c', prog, '--multiprocessing-fork']
elif getattr(sys, 'frozen', False):
return [sys.executable, '--multiprocessing-fork']
else:
prog = 'from multiprocessing.forking import main; main()'
return [_python_exe, '-c', prog, '--multiprocessing-fork']

and then using py2exe I can get a working "frozen" package if I
include pythonw.exe and a subset of Python's Lib directory in my
package and call multiprocessing.set_executable to point to that
pythonw.exe.

Does the above patch address a real bug?

Is packaging with multiprocessing supposed to be this hard? If so,
some documentation is needed.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing and freezing on Windows

2009-07-18 Thread SK
Thanks Gabriel.

Posted as: http://bugs.python.org/issue6461

The multiprocessing author has tentatively confirmed the bug.
-- 
http://mail.python.org/mailman/listinfo/python-list


Free chat for u.....hot.hot.....hot..............

2010-02-21 Thread sk raj
http://chattingfree.blogspot.com/
-- 
http://mail.python.org/mailman/listinfo/python-list


troubleshooting

2016-04-04 Thread Sk. Amirul Islam
i recently installed the application but when i ran it it gave a 'runtime
error". i even reinstalled it. but it gives the same error everytime i try.
im eclosing a screenshot of the error . thank you
-- 
https://mail.python.org/mailman/listinfo/python-list