guohengkaighk | 29 Jan 15:29 2014
Picon

About itkPyBuffer

Hello all,

It seems that the latest version of Python(x, y) didn't contain PyBuffer in ITK, which is very useful for image processing. Can you add it in it? Or is there any other solution for me to convert itk image into numpy array?

Thank you!

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
Colby Christensen | 13 Jan 21:15 2014
Picon

New to Python

I'm attempting to teach myself to program in Python. I haven't programmed since my basic programming class as an engineering undergrad (long time ago). My understanding is that Python (x,y) uses Python 2.7. I have begun with Python 3 and would like to stick with that. What is the time frame when Python (x,y) will run Python 3? My end goal is to develop some civil/structural engineering programs. So far I have only been able to find this project and Pyzo that are geared toward engineering. I'm open to any recommendations.
Thanks

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
Ghanima | 9 Jan 22:46 2014
Picon

Just thanks

Hi there,

just wanted to thank everybody involved in the effort taken to provide python(x,y). I used it just half a day and got a nice import of images, least-square fitting and evaluation going - saving a lot of time in the future. After going through pypi for the last two hours just to see what nice libs there are out there - the effort of compiling the most useful stuff in the python(x,y) package is even more appreciated.

However after working with Python3 on an embedded linux machine, my question of course is: when is p3 going to be included :)


Thanks and best regards

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
oysteinmonsen1234 | 3 Jan 21:16 2014
Picon

Spyder stuck in cmd window

I have been doing my pythoning in Spyder, and gotten pretty used to this environment. Then, yesterday, the UI froze and died, and I found myself unable to restart Spyder. Any triggering of the executable simply brings up the blackspace command prompt for spyder without actually launching the program. This is also the case for the resetting executable or the Spyder (light) executable. It remains a problem after reinstallation (with a full install).

Is this a known issue? I have no idea what I might have done to trigger it.

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
SixString | 2 Jan 22:50 2014

Pylint 1.1.0-8 installation errors

I got errors when attempting to install Pylint 1.1.0-8 over Python(x,y) 2.7.5.2 on Win7 x64.  Here is Pylint's install.log file contents:

logging set to 1
CreateDirectory: "C:\Program Files (x86)\Python27\Lib\site-packages\pylint" (1)
File: overwriteflag=0, allowskipfilesflag=2, name="python.ico"
File: wrote 15086 to "C:\Program Files (x86)\Python27\Lib\site-packages\pylint\python.ico"
File: overwriteflag=0, allowskipfilesflag=2, name="license.txt"
File: wrote 17987 to "C:\Program Files (x86)\Python27\Lib\site-packages\pylint\license.txt"
CreateDirectory: "C:\Program Files (x86)\Python27\Lib\site-packages" (1)
File: overwriteflag=0, allowskipfilesflag=2, name="logilab_common-0.60.1-py2.7-nspkg.pth"
File: wrote 311 to "C:\Program Files (x86)\Python27\Lib\site-packages\logilab_common-0.60.1-py2.7-nspkg.pth"
CreateDirectory: "C:\Program Files (x86)\Python27\Lib\site-packages\astroid" (1)
CreateDirectory: can't create "C:\Program Files (x86)\Python27\Lib\site-packages\astroid" (err=5)
File: overwriteflag=0, allowskipfilesflag=2, name="__init__.py"
File: error creating "C:\Program Files (x86)\Python27\Lib\site-packages\astroid\__init__.py"
File: error, user retry
File: error creating "C:\Program Files (x86)\Python27\Lib\site-packages\astroid\__init__.py"
File: error, user cancel
File: overwriteflag=0, allowskipfilesflag=2, name="__pkginfo__.py"
File: error creating "C:\Program Files (x86)\Python27\Lib\site-packages\astroid\__pkginfo__.py"
File: error, user cancel
File: overwriteflag=0, allowskipfilesflag=2, name="as_string.py"
File: error creating "C:\Program Files (x86)\Python27\Lib\site-packages\astroid\as_string.py"
File: error, user abort
Delete: DeleteFile("C:\Users\KNIGHT~1\AppData\Local\Temp\nsy4D88.tmp\modern-header.bmp")
Delete: DeleteFile("C:\Users\KNIGHT~1\AppData\Local\Temp\nsy4D88.tmp\modern-wizard.bmp")
Delete: DeleteFile("C:\Users\KNIGHT~1\AppData\Local\Temp\nsy4D88.tmp\nsDialogs.dll")
Delete: DeleteFile("C:\Users\KNIGHT~1\AppData\Local\Temp\nsy4D88.tmp\System.dll")
RMDir: RemoveDirectory("C:\Users\KNIGHT~1\AppData\Local\Temp\nsy4D88.tmp\")

Does the install script have an error?  Should line 7 be ...site-packages\logilab_common instead?

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
harleen kaur | 5 Dec 12:48 2013
Picon

stuck in the python program

from math import *

def main():
    n = abs(input("Enter a number: "))
    i = 2
    msg = 'is a prime number.'
    while i <= sqrt(n):
        if n % i == 0:
            msg = 'is not a prime number.'
        i = i + 1
    print n, msg

main()

how to correct this program, when i run it it said, sqrt is not defined or
if i do 
from math import sqrt
even though it is  not working

--

-- 
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe@...
To post to this group, send email to pythonxy@...
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.

Wyatt Storches | 14 Nov 07:46 2013
Picon

Import Error in Numpy, fresh install

Hello,

Just now installed on windows 7 64 bit machine.  Used all default settings, after having uninstalled all previous versions using the msi and then deleting all registry values left behind by (all) the other installations I gave up on (because I couldn't get numpy and/or scipy to work).

So the first thing I tried was;

>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\numpy\__init__.py", line 137, in <module>
    import add_newdocs
  File "C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>

    from numpy.lib import add_newdoc
  File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 13, in <modul
e>
    from polynomial import *
  File "C:\Python27\lib\site-packages\numpy\lib\polynomial.py", line 17, in <mod
ule>
    from numpy.linalg import eigvals, lstsq, inv
  File "C:\Python27\lib\site-packages\numpy\linalg\__init__.py", line 48, in <mo
dule>
    from linalg import *
  File "C:\Python27\lib\site-packages\numpy\linalg\linalg.py", line 23, in <modu
le>
    from numpy.linalg import lapack_lite
ImportError: DLL load failed: The specified module could not be found.
>>>


<Sigh> 

There IS a lapack_lite.pyd file in that directory.
Any help anyone could offer would be most happily appreciated.  Thanks!

--Wyatt--

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
Hannah Ayles | 7 Nov 15:27 2013
Picon

Spyder won't open in Python (x,y)-Distribution not found

I downloaded Python (x,y) v. 2.7.5.1 with the intention of only using the Spyder add-on but it won't open and a blac text box with code flashes up very briefly that says 'Distribution not found' before quickly closing again. This happens every time I try and open it. In my Python (x,y) Home it says that I have Spyder v 2.2.4-8 installed so why won't it open? Hope someone can help!

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
Rick Jones | 26 Oct 02:50 2013
Picon

hd5dll.dll missing (needed by PyTables) in 2.7.5.1

Did a clean install (no previous Python instalation) of PythonXY on Win7 and tried to use pyTables. __init__() in the tables package complained it could not load "hd5dll.dll"

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
Joseph | 24 Oct 17:03 2013
Picon

Unattended (silent) installation

Hi,

Is there an up-to-date documentation for the silent install of Python(x,y)?

I would like to be able to install automatically a selection of modules without any input from the end-user.

Thanks
Joseph


--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.
gdiaczok | 22 Sep 19:03 2013
Picon

Python 2.7.5.0 install prob running Spyder, IDLE, IPython, PyLab on Win 8.

Installed PythonXY 2.7.5.0 on Windows 8 as 64 bit.  I used default selections for the install.  The "Issues"  Q/A 
can be found in Issue #687.  Spyder, IDLE, IPython, PyLab, flash the command window and don't run from "Start Screen" icons.  Python interpreter, SciTE, Python documentation, Pythonxy  documentation run from "Start Screen" icons.  I installed other Python installer packages before deciding on PythonXY.  I've cleaned the registry of Python and Enthought entries before installing PythonXY, checked the Path for the two PythonXY entries identified in the Python "Issues", and entered a problem in the Issues, # 687.  Hopefully, identifying the applications that do and don't run might be a clue to someone.  My goal is to get Spyder up and running as a Matlab substitute. 

--
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/groups/opt_out.

Gmane