Questions tagged [pythonxy]

Python(x,y) (also denoted pythonxy) is a free (GPLv3 licensed) scientific and engineering development software. It is a tool for numerical computations, data analysis and data visualization based on the Python programming language,

Python(x,y) (also denoted pythonxy) is a free (GPLv3 licensed) scientific and engineering development software. It is a tool for numerical computations, data analysis and data visualization based on the Python programming language,

Python(x,y) can:

  • perform interactive calculations,
  • plot 2D and 3D graphs or symbolic maths.
  • MATLAB-like functional programming or extensive object-oriented programming,
  • scripting complex scientific applications using Qt development framework and Spyder development environment,
  • support for parallel computing using multi-core/multi-processor computers or clusters.
72 questions
0
votes
0 answers

Python (x,y) MatplotLib Widget Initialisation

I'm trying to get started with Python(x,y) and its MatplotlibWidget for PyQt. I've got the widget plopped in my prospective GUI with QTDesigner and have converted the .ui to .py, but I'm lost on what to do for a meaningful matplotlibwidget.py…
0
votes
0 answers

matplotlib dependency: kernel32.dll

I have a question that is very similar to Matplotlib on Windows - dependency unresolved, but I have a conflict with c:\windows\system32\kernel32.dll. Backstory: with pythonxy, on import matplotlib.pyplot as plt I get: File…
Nick
  • 169
  • 1
  • 13
0
votes
2 answers

Configparser error leads to crash of Spyder 3 under Python(x,y)

During its startup, Spyder3 IDE crashes under Python(x,y). I have installed a Python(x,y) distribution (2.7.10.0) of Python2.7 under Windows 7 and after updating the package spyder to the most recent version (with pip: V3.0.x), it does not restart…
strpeter
  • 2,562
  • 3
  • 27
  • 48
0
votes
0 answers

Update Pandas within Spyder

I use Spyder as the IDE to program python. Pandas 0.13.1 had been installed before. There is an attribute error while I was programming: AttributeError: 'Series' object has no attribute 'weekday'. I figured out that it was a Pandas version problem.…
0
votes
1 answer

itk library error in python-xy 2.7.10

I recenlty installed python-xy 2.7.10 and trying to run a simple script using itk fails due to the following error: RuntimeError: C:\u\itk-git_b\Modules\Remote\SCIFIO\src\itkSCIFIOImageIO.cxx:274: itk::ERROR: SCIFIOImageIO(0295DBE0):…
0
votes
0 answers

Python 2.7 + Spyder + issues with OpenGL.GL, OpenGL.GLU, OpenGL.GLUT

I am using python 2.7 , and spyder as my IDE. However, I keep getting this warning message for each of the import statements. 'from OpenGL.GL import *' used; unable to detect undefined names 'from OpenGL.GL import *' used; unable to detect…
Tom DelFranco
  • 31
  • 1
  • 5
0
votes
1 answer

Python-xy 3d plot from text file

I have a text file containing 500x500 intensity values. I'm attempting to produce a 3D plot of this data using Python-XY. Only a particular part of this 500x500 array is meant to be plotted (235:268, 210:280). Here is one of many attempts of the…
Azaxa
  • 49
  • 7
0
votes
1 answer

Vectorizing Files using sklearn

I am trying to read 100 training files and vectorize them using sklean. The contents of these files are word representing system calls. Once vectorized, I would like to print the vectors out. My first attempt was the following: import re import…
SSF
  • 915
  • 5
  • 23
  • 47
0
votes
1 answer

Error for numpy and scipy after Installation of pythonxy

I recieved an error after the installation of pythonxy, as far as I know pythonxy including numpy and scipy, however I can't import these features on the command prompt. How can I deal this problem ? Here is my error message, thank you stackoverflow…
oneral
  • 1
  • 3
0
votes
1 answer

Importing numpy/scipy through Powershell with Python(x,y)

I recently downloaded Python(x,y) onto my machine (Windows 7), which included all the scientific computing libraries (numpy, scipy, etc). I am able to import numpy on IDLE and Spyder (the IDE provided by Python(x,y)) but cannot do it with…
user217285
  • 346
  • 3
  • 16
0
votes
0 answers

Installing Enthought Canopy and Python(x,y) together returns an error

I have Enthought Canopy (Academic Version) now I want install Python(x,y) besides it. After installing it in both Enthought Canopy (after running a code) and Python(x,y) (when loading) I'm getting this error: ImportError: DLL load failed: %1 is not…
Eghbal
  • 3,892
  • 13
  • 51
  • 112
0
votes
7 answers

Python pyVISA GPIB connection issue

I'm trying to connect to a GPIB instrument using pyVISA but I get an error. I'm following the simple example on the pyVISA website: http://pyvisa.readthedocs.org/en/master/ I type the following code into the IPython console: import visa rm =…
ND24
  • 23
  • 1
  • 7
0
votes
0 answers

Using for loop to calculate value of function from list

I need to create simple program which will take every element of list and put it in polyfit polynomial,then calculate it. Here is my code import pylab as p import numpy as np import sympy as s from random import…
wiedzminYo
  • 531
  • 4
  • 11
  • 24
0
votes
0 answers

Spyder / PyQt4 Qapplication gives error on SECOND try

In the past, this worked but now is broken: I had my work computer "upgraded" to Windows 7. I had to re-install Python(x,y) and I use Spyder. Code I have that uses PyQt4 will run the first time I open it, but if I try to run it a second time…
mauve
  • 2,707
  • 1
  • 20
  • 34
0
votes
1 answer

RuntimeWarning while using lambda function (Win8 computer)

I installed Python(x,y)-2.7.5.0 to run python programs on my Win8 Laptop. The Programs run on Linux, but when I use python(x,y) I get this error message: D:\Python27\lib\site-packages\scipy\optimize\minpack.py:402: RuntimeWarning: Number of calls…
Emily
  • 163
  • 1
  • 7