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
1
vote
2 answers

Python:Passing list as argument in scipy.optimize.newton

I want to pass list as an argument in optimize.newton. I have imported one csv and stored each row in an array. The code for this looks like: with open('rand1.csv','rb') as f: array=[] for line in f: array.append(line) Now, if I…
1
vote
0 answers

PythonXY: Error when compiling C Extension on Windows: bad reloc address 0x0 in section `.data' collect2.exe: error: ld returned 1 exit status

I face a problem when compiling pyxrr (http://carichte.github.io/pyxrr/) on a Windows 7 machine (64bit) when using the latest Version of PythonXY with mingw32. In the past the Compilation worked without problems on similar machines. The following…
dnalow
  • 974
  • 4
  • 14
1
vote
1 answer

Python27 Memory Error Issues

I'm trying to process some data utilizing python but encounter "MemoryError" frequently. For my data processing, I need to run a loop ~400 times. The issue is, every time I get 20-30 times into this loop I get "MemoryError". While watching Task…
user2208604
  • 301
  • 2
  • 6
  • 15
1
vote
1 answer

PIP not working in Pythonxy?

I am using Pythonxy (have uninstalled all old instances of Python) and it has pip as a standard plugin as per the document page https://code.google.com/p/pythonxy/wiki/StandardPlugins But when i use pip commands it fails. Can anybody kindly please…
Prajosh Premdas
  • 970
  • 4
  • 17
  • 40
1
vote
1 answer

Tkinter -- StringVar() not working correctly

While trying to initialize a StringVar() using TkInter I am getting this huge error back. So the error is as follows: In [160]: from Tkinter import * In [161]: p =…
ssm
  • 5,277
  • 1
  • 24
  • 42
1
vote
1 answer

Hold is not working for pyplot

I have a problem using pyplot. I am new to Python so sorry if I am doing some obvious mistake. After I have plotted something using pyplot it shows the graph, but when I then try and add e.g. ylabel it will not update the current graph. It results…
user3212593
  • 496
  • 2
  • 8
1
vote
1 answer

How to make a script execute just after python shell starts and before customuer's input?

In Pythonxy I can edit some python scripts in an pre-defined folder so that they will be executed (or import? I don't know). For example, if I put a script in that folder: import numpy as np import scipy as sp Then after I enter python shell, I can…
Warbean
  • 547
  • 2
  • 5
  • 19
1
vote
4 answers

Random generator function in Python

I have been learning Java since September, but have been given an assignment for a science course by a professor to create a program in Python that will generate a random diameter using a max and minimum value, and 15 random points within this…
airgold
  • 1
  • 2
  • 6
1
vote
1 answer

Python modules are different between IDE's

I am developing algorithms in python and mostly use IPython notebook, but when ever I need to debug I usually use Wing IDE. I'm currently having a strange problem. In the notebook, I do have a method from the matplotlib package (subplot2grid) but in…
idoda
  • 6,248
  • 10
  • 39
  • 52
1
vote
2 answers

Spyder/Pythonxy crashes

Upon installing python xy 2.7.5 on my laptop, I tried to launch the Spyder IDE. This yielded the following error: C:\Python27\Scripts>spyder.exe Traceback (most recent call last): File "C:\Python27\Scripts\spyder-script.py", line 9, in …
wirrbel
  • 3,173
  • 3
  • 26
  • 49
1
vote
2 answers

PythonXY, IPython Qt Console, matplotlib, draw something not in inline mode

I'm new to PythonXY and Matplotlib. I installed PythonXY (v2.7.3.1) in default full mode. I use the "IPython Qt Console" application. I draw something using matplotlib.pyplot (imported as plt). For example. When plt.plot([1,3,2,4]), the figure…
Babeler
  • 45
  • 1
  • 6
1
vote
1 answer

Enaml examples from Enthought not working with Python(x,y) Enthought Tool Suite version of Enaml

I recently discovered Enaml, a Python GUI development package from Enthought. I'm very interested in using it with Enthought Traits and Chaco for more rapid scientific application development. I've been using Python(x,y) as my base Python…
flutefreak7
  • 2,321
  • 5
  • 29
  • 39
0
votes
1 answer

pythonxy can't be reinstalled or uninsalled

For convenience, I am applying pythonxy But when I try to reload or uninstall,log2del has been in the process,program stoped there I can not reinstall or uninsall
rosickey
  • 265
  • 2
  • 5
0
votes
1 answer

Best way to upgrade the Spyder2 IDE that was packaged with Python(xy)

I recently purchased a high resolution laptop. My Spyder IDE now has small icons and is nearly unusable. I found a solution on Stack Overflow however my version of the IDE doesn't have the functionality needed to fix the problem. I'm assuming I have…
Mike C.
  • 1,761
  • 2
  • 22
  • 46
0
votes
1 answer

Searching pip in python(xy)

Today I fully installed Python(xy) on my machine. Now I'm still lacking the package sphinx-intl, so that I was trying to install it with pip sphinx-intl. Unfortunately, I was not able to find the pip.exe in the Python27 directory. Where do I have…
Aleph0
  • 5,816
  • 4
  • 29
  • 80