David MacKay: Useful stuff: Python

.
Useful stuff

.
Hardware
· Mouse
· USB
.
Linux
.
Windows
.
html
· debian
· IRC
· R
· Python «
· Yudit


Search :

Any questions?
metafaq

Home
.

Additional instructions for VPython, beyond these.

  1. Missing packages required
     sudo apt-get install xlibmesa-dev
     sudo apt-get install python2.2-tk 
    
  2. Need corrected configure script for the visual package. save this as configure in python/visual-2.1.9
Method:
 sudo apt-get install gtkglarea5-dev
 sudo apt-get install python2.2-dev
 sudo apt-get install python2.2-numeric
 sudo apt-get install xlibmesa-dev
 sudo apt-get install python2.2-tk
 mkdir python
 mv Numeric-23.1.tar.gz python
 cd python
 tar -zxf Numeric-23.1.tar.gz
 cd Numeric-23.1
 sudo python setup.py install
 cd ~/python 
 tar -zxf visual-2.1.9-20031005.tar.gz
 cd visual-2.1.9
 cp ~sanjoy/tmp/visual-2.1.9/configure ../VISUAL219CONFIGUREUPDATE
 cp ../VISUAL219CONFIGUREUPDATE ./configure
 ./configure --prefix=/usr
 make
 sudo make install
 rehash
 vpython

David J.C. MacKay
Site last modified Tue Sep 1 14:54:05 BST 2009

AltStyle によって変換されたページ (->オリジナル) /