On Thu, Aug 5, 2010 at 7:33 PM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote: > It's been awhile since I've used python, and I recall there is a way to find > the version number from the IDLE command line prompt. dir, help, > __version.__? > > I made the most minimal change to a program, and it works for me, but not my > partner. He gets > > Traceback (most recent call last): > File "C:\Documents and > Settings\HP_Administrator.DavesDesktop\Desktop\NC-FireballReport20100729.py", > line 40, in <module> > from scipy import stats as stats # scoreatpercentile > File "C:\Python25\lib\site-packages\scipy\stats\__init__.py", line 7, in > <module> > from stats import * > File "C:\Python25\lib\site-packages\scipy\stats\stats.py", line 191, in > <module> > import scipy.special as special > File "C:\Python25\lib\site-packages\scipy\special\__init__.py", line 22, > in <module> > from numpy.testing import NumpyTest > ImportError: cannot import name NumpyTest > > Here are the first few lines of code. > > import sys, os, glob > import string > from numpy import * > from datetime import datetime, timedelta > import time > from scipy import stats as stats # scoreatpercentile > > I'm pretty sure he has the same version of Python, 2.5, but perhaps not the > numpy or scipy modules. I need to find out his version numbers. > > -- > Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > > (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > > "Republicans are always complaining that government is > out of control. If they get into power, they will > prove it." -- R. J. Rourke > > > Web Page: <www.speckledwithstars.net/> > > _______________________________________________ > Tutor maillist - tu...@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > >
I'm pretty sure their might be an easier way, but since no one has replied just yet. You can go into your command prompt and type pydoc -p 1234(noth the python interpreter, and you might have to cd to the Lib directory with pydoc in it). Then use a browser and go to localhost:1234, and in the sight packages section click on the numpy, or scipy, and it shows the version in parentheses beside the name at top. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor