Jacek WojcieszyƄski | 23 Apr 15:51 2014
Picon

cvxopt not reachable from python(x,y)

I just installed out of the box the latest version of python(x,y) with python 2.7.6 on Windows 7 64-bits platorm. When I run python shell I can not import cvxopt library. What could went wrong?

I installed it once on another PC without any problem, but now I can not find a solution.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/d/optout.
Rolf Hemmerling | 2 Apr 18:33 2014
Picon

Python pypi download broken on Win8.1, how to fix ? ( typical error message: _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed )

Hello,
on my Win8.1 computer,

a)
with latest Python x,y 2.7.6.0 distribution installed,
and I also tried with some earlier 2.7.5.x distributions,

since lately, I can´t download and install by easy_install from pypi .

So a command like "easy_install behave" failes by:
***********************
Searching for behave
Reading https://pypi.python.org/simple/behave/
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
easy_install : Download error on https://pypi.python.org/simple/behave/: [Errno 1] _ssl.c:507: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
Couldn't find index page for 'behave' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:507: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
No local packages or download links found for behave
error: Could not find suitable distribution for Requirement.parse('behave')
***********************

Same with any other pypi package.
Obviously SSL download is broken.

b)
I had no problem with Python x.y 2.7.6.0 distribution on another Win7 computer,
there is everything ok with EASY_INSTALL.

c)
On the other hand, on the computer where EASY_INSTALL fails,
with the latest Anaconda 1.9.1 distribution
there is everything ok with EASY_INSTALL - I can do the installation "easy_install behave" successfully, and I may there use the "Conda" installer too ( which does not download from pypi ).

The reason why I like to use Python x,y instead of Anaconda for the next steps, is that a working version of QT is installed with Python x,y but not with Anaconda.
And I am hesitating what's wrong at all with my computer that Python x,y network SSL connections fail!

I did not find any clue by Internet search, some indications are that I have invalid certificates loaded..  but how to fix it, on Windows?!
There was also the tip to install a very-old PIP 1.2.1 which does not yet use SSL,
but other people in the Internet pointed to the fact, that most instructions how to install PIP require a working EASY_INSTALL and vice versa.
And this does not explain anything.

So any help or hint is appreciated!
 
Sincerely
Rolf

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/d/optout.
Pedro Morais | 1 Apr 16:23 2014
Picon

Teorema de bolzano num ficheiro WAV


Boas! 

Precisava de um apoio num código. Preciso de descobrir o número de zeros, o número de vezes que passa por "X" de uma onda de um ficheiro WAV.

neste momento  estamos a usar;

import matplotlib.pyplot as plt
import numpy as np
from scipy.io import wavfile

contagem = 0
i = 0

fs, data = wavfile.read('FURELISE.WAV');

#print(np.array([data]))

for i in range(data):
    if (i*i)<0:
        print ()
    
    
plt.plot(data);
plt.title('FURELISE');
plt.show()


e dá erro  de  
TypeError: only length-1 arrays can be converted to Python scalars

agradeço a ajuda!!

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/d/optout.
Hagai Shalev | 18 Mar 13:34 2014
Picon

IPython Qt Console

Hi,
I installed Pythonxy on win7 laptop and I can't launch  "IPython Qt Console " form the "Run selected application" button (green V sign button ):

1. There is no response on screen
2. A new python.exe process appears in the "Windows Task manager" (but not seen on screen)
3. It is possible to launch C:\Python27\Scripts\ipython-script.py directly from the folder, but it appears in black background.
4. reinstall pythonxy didn't help
5. other applications (Spyder, GNUplot etc.) runs with no problems

Any ideas?
Thanks

Hagai



--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/pythonxy.
For more options, visit https://groups.google.com/d/optout.
James Kerns | 3 Mar 01:47 2014
Picon

Matplotlib Qt widget

Hello, Python noob here. I'm sure there's something simple I'm missing here, but here goes.

I'm trying to create a GUI via Qt Designer with a matplotlib widget (defined here). 

I've added it into the GUI in the designer, converted to a *.py, where it uses the above definition. However, I don't have the normal methods associated with a matplotlib figure or axes (at least shown in autocompletion). 

E.g. I'd like to plot an image on the matplotlib widget. The example in the definition works fine, but the methods it uses are not listed when I try to do it myself. The only ones available are figure, axes, and a few others, but autocompletion doesn't show me the methods available in figure or axes. Am I missing some inheritance thing here? I'm an amateur programmer so I never know what methods are and aren't available to me, so I always glance through the autocompletion options.

Many thanks, 

James

--
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.
Matthias Kauer | 26 Feb 05:18 2014
Picon

MingW uninstallation / parallel installation question

Hi,
I'm wondering what MingW is required for in pythonxy. 

More specifically, for C++ development purposes, I'd like to upgrade MingW to a newer version. Is the best option to
1) install the newest pythonxy? Does it have MingW 0.6 with gcc 4.6?
2) update from within Mingw32-xy (assuming you bring the update software)
3) uninstall pythonxy, reinstall without mingw, install mingw on its own
4) install newer mingw version in parallel - probably a really bad idea, no?

Thanks for weighing in on this.

Best,
Matthias

--
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.
Nadu99 | 16 Feb 05:23 2014
Picon

New to Python(x,y)

Hello Everyone,

I am new to using python, I have installed python(x,y). When I click on the desktop icon of python(x,y) it opens a small rectangular window (kind of) Shown below 


I am not sure what to do or how to open the python 2.7  IDLE after this.. Basically I am clueless about how to proceed from here.. so, I would appreciate if some one can point out what needs to be done,..


Thanks a lot in advance...

--
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.
kalstrams | 3 Feb 07:35 2014
Picon

CMD returs " `python` is not recognized ..."

Python 2.7 is installed on C:/Python27 (through python(x,y) package). Windows 8.1 x64. How do I make Python 2.7 run from CMD ?

I want to do this as I am following "Learn Python The Hard Way" book and I got stuck on Excercise 0: The Setup.

I have tried:

  • Powershell [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User")
  • Adding Python to Windows PATH (both through the Control Panel and terminal).
  • Copying a python.bat file with  <at> C:\Python27\python.exe %* to the system32.
  • Running CMD both as adminstrator and the regualr way.
  • Restarting CMD and PC between operations.

Both python and call python executed in CMD return 'python' is not recogniz message. If I enter in CMD C:\Python27\python.exe then Python starts properly.

User variable Path:

C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\OpenVPN\bin;C:\Program Files\Calibre2\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\OpenVPN\bin;C:\Program Files\Calibre2\;C:\Python27\Lib\site-packages\PyQt4;C:\MiKTeX\miktex\bin\;C:\Python27;C:\Python27\DLLs;C:\Python27\Scripts;C:\Python27\Lib\site-packages\vtk;C:\Python27\gnuplot\binary;C:\Python27\Lib\site-packages\osgeo;C:\Program Files (x86)\pythonxy\SciTE-3.3.2-3;C:\Program Files (x86)\pythonxy\console;C:\MinGW32-xy\bin;C:\Program Files (x86)\pythonxy\swig;C:\Program Files (x86)\pythonxy\gettext\bin

System variable Path:

C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\OpenVPN\bin;C:\Program Files\Calibre2\;C:\Python27\Lib\site-packages\PyQt4;C:\MiKTeX\miktex\bin\;C:\Python27;C:\Python27\DLLs;C:\Python27\Scripts;C:\Python27\Lib\site-packages\vtk;C:\Python27\gnuplot\binary;C:\Python27\Lib\site-packages\osgeo;C:\Program Files (x86)\pythonxy\SciTE-3.3.2-3;C:\Program Files (x86)\pythonxy\console;C:\MinGW32-xy\bin;C:\Program Files (x86)\pythonxy\swig;C:\Program Files (x86)\pythonxy\gettext\bin

Thing that is possible strange. If I launch enhanced console in C:\Python27 then I get same message for `python` command as well. Python from there launches only if I run in console `python.exe`.

--
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.
guohengkaighk | 29 Jan 15:38 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.
Pete Bachant | 27 Jan 23:25 2014
Picon

Thinking of moving to WinPython for 3.3 support

The packages I use are all present in both WinPython and Python(x,y), and it seems WinPython can register itself with Windows, making it very similar to Python(x,y). Are there any downsides to using WinPython 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.
Peter Camels | 30 Jan 15:05 2014
Picon

(Spyder via Python(x,y)) Python files are associated to Spyder instead of to the interpreter

Hello, I have installed Spyder, through Python(x,y), on Win 8.1,
and when I'm trying to do something through the command prompt, eg.

django-admin.py startproject testsite

it opens django-admin.py in the editor of Spyder, instead of running it.

How can I disassociate them?

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