Hi,
I am pretty new to python and will use it mainly in
combination with scientific packages. I am running ubuntu
breezy right now and see that some packages are out of date.
Do you have any suggestion, how I can get/keep the latest
python modules (e.g. scipy, numpy,...) on my ubuntu system?
I.e. does there exist any script/program, which downloads
and installs automatically the latest stable releases of selected
modules? It would be nice, if the program can remove the
installed modules, too!?
Or would it be easier to stick to apt/deb and create own
packages ...
Greetings!
Fabian 4 4194
You should consider gentoo as it big on python with all the latest
packages. And no, installing doesn't take much effort.
Fabian Braennstroem wrote: I am pretty new to python and will use it mainly in combination with scientific packages. I am running ubuntu breezy right now and see that some packages are out of date.
You can quite often backport some of the newer packages from
packages.ubuntu.com, although this can often lead to a lot of work
backporting dependencies and working around changes to the build
environment in more recent Ubuntu work. For example, I promised Tim
Parkin that I'd look into making Ubuntu Hoary packages for the
python.org tools, but got substantially slowed down looking into
backporting the Twisted 2 packages (which are only some of the many
dependencies that Pyramid seems to have). Of course, I could just do a
"python setup.py install" and forget about all this, but I don't want
to discover bizarre behaviour later on in some installed package
because some other, rarely-used package trampled over some important
files or caused some naming conflict when it was installed.
Do you have any suggestion, how I can get/keep the latest python modules (e.g. scipy, numpy,...) on my ubuntu system? I.e. does there exist any script/program, which downloads and installs automatically the latest stable releases of selected modules? It would be nice, if the program can remove the installed modules, too!?
The removal part is typically the neglected thing here. My habit right
now is to package up Python modules into Debian packages and to install
them that way. Once upon a time, on Red Hat, I played with checkinstall
[1] to create packages of things that didn't have a "make uninstall"
feature, but I'm now fairly practised at making Debian packages that
seem to work - thanks must go to Andrew Kuchling whose packaging
scripts (from some software which he maintains) served as the basis for
my own packaging attempts.
Or would it be easier to stick to apt/deb and create own packages ...
There's a big incentive to use the native package system: it works with
the administration tools you have installed, and your packages should
then integrate properly with all the other packages on your system.
I've made packages from my own works and distributed them, and changing
even a simple command issuing experience to a point-and-click
installation experience does seem to have a dramatic influence on
whether people will bother looking at software or not. Plus, they can
always easily remove the software afterwards. ;-)
Paul
[1] http://asic-linux.com.mx/~izto/checkinstall/
Fabian Braennstroem <f.************@gmx.de> writes: Hi,
I am pretty new to python and will use it mainly in combination with scientific packages. I am running ubuntu breezy right now and see that some packages are out of date. Do you have any suggestion, how I can get/keep the latest python modules (e.g. scipy, numpy,...) on my ubuntu system? I.e. does there exist any script/program, which downloads and installs automatically the latest stable releases of selected modules? It would be nice, if the program can remove the installed modules, too!?
Or would it be easier to stick to apt/deb and create own packages ...
Greetings! Fabian
I find it helpful to leave the as-delivered Python (e.g.,
/usr/bin/python) as-is. It is being used to run your basic Linux
system. Screwing around with it can have nasty side effects. Instead
I build a new one at /usr/local, give it a unique name, and
upgrade/hack that one to my heart's content. E.g., if the base system
is using Python 2.2, you can be running Python 2.4 as
/usr/local/bin/py24, and add all the numerical packages you wish at
use/local/lib/python2.4/site-packages. Also, make sure root doesn't
have /usr/local/bin on its PATH (which is a good rule anyway).
--
Harry George
PLM Engineering Architecture
Hi Harry,
* Harry George <ha************@boeing.com> wrote: Fabian Braennstroem <f.************@gmx.de> writes:
Hi,
I am pretty new to python and will use it mainly in combination with scientific packages. I am running ubuntu breezy right now and see that some packages are out of date. Do you have any suggestion, how I can get/keep the latest python modules (e.g. scipy, numpy,...) on my ubuntu system? I.e. does there exist any script/program, which downloads and installs automatically the latest stable releases of selected modules? It would be nice, if the program can remove the installed modules, too!?
Or would it be easier to stick to apt/deb and create own packages ...
Greetings! Fabian
I find it helpful to leave the as-delivered Python (e.g., /usr/bin/python) as-is. It is being used to run your basic Linux system. Screwing around with it can have nasty side effects. Instead I build a new one at /usr/local, give it a unique name, and upgrade/hack that one to my heart's content. E.g., if the base system is using Python 2.2, you can be running Python 2.4 as /usr/local/bin/py24, and add all the numerical packages you wish at use/local/lib/python2.4/site-packages. Also, make sure root doesn't have /usr/local/bin on its PATH (which is a good rule anyway).
Maybe, I should consider this, too. Thanks!
Greetings!
Fabian This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Alexander Skwar |
last post by:
Hello!
I'm having problems getting PHP 4.3.3RC4 successfully to install on my
HP-UX 11.00 server.
After a (successfull?) compile, "make install" errors out with this error
message:
...
|
by: Rob Andrews |
last post by:
I'm on a Red Hat 9 system, which has Python 2.2.2 installed, and I installed
2.3 separately into /home/rob/Python-2.3/ (creating the symbolic link
"py23" to point to my 2.3 installation). Now I'm...
|
by: Berthold Hoellmann |
last post by:
Hello,
When I use
./configure --with-thread --with-fpectl --with-signal-module \
--with-pymalloc --enable-shared --with-cxx=g++
make test
on 2.3.3 I get
|
by: Jerald |
last post by:
Running python 2.3.4 on valgrind (a tool like purify which checks
the use of uninitialized memory, etc), gives a lot of errors.
See below.
jfj@cluster:~/> python -V
Python 2.3.4...
|
by: jonathan |
last post by:
hey all,
I'd like to implement an application that is truly dynamic: the
components are not only just known at runtime, but also the components
are unknown at runtime: ie: some don't even ship...
|
by: DrUg13 |
last post by:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
could someone please help me understand the different ways to do the
same thing in...
|
by: venkatbo |
last post by:
Hi folks,
On i686 Linux, I would like to place my python modules as:
<base_dir>/src/py-modules/*.py
and use the cmd from <base_dire>:
...base_dir]$ python src/py-modules/setup.py install...
|
by: Sorin Schwimmer |
last post by:
Hi All,
After a disaster in which I lost my whole harddrive,
I decided to install the newest everything that I use.
I put the latest Gentoo Linux, with gcc 4.1.1,
installed
tcl/tk 8.4.14 and...
|
by: jgelfand |
last post by:
I'm installing Python 2.4.4 on a CentOS release 4.6 (Final) 64-bit machine. Running "./configure --prefix="/
usr/local/yosi/ciao-4.0/ots" --enable-shared" appears to be fine, but
I get the...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
|
by: Johno34 |
last post by:
I have this click event on my form. It speaks to a Datasheet Subform
Private Sub Command260_Click()
Dim r As DAO.Recordset
Set r = Form_frmABCD.Form.RecordsetClone
r.MoveFirst
Do
If...
| |