Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67300
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed1.swip.net!newsfeed3.funet.fi!newsfeeds.funet.fi!news.utu.fi!news.cc.tut.fi!not-for-mail |
|---|---|
| From | Anssi Saari <as@sci.fi> |
| Newsgroups | comp.lang.python |
| Subject | Re: how to install automatically missing modules on a debian-system |
| Date | Sat, 01 Mar 2014 08:54:45 +0200 |
| Lines | 14 |
| Message-ID | <vg34n3ixvbe.fsf@coffee.modeemi.fi> (permalink) |
| References | <7841a394-46ff-4f63-8afc-12b396bb8695@googlegroups.com> |
| NNTP-Posting-Host | coffee.modeemi.fi |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | news.cc.tut.fi 1393656885 20222 2001:708:310:3430:213:21ff:fe1b:b396 (1 Mar 2014 06:54:45 GMT) |
| X-Complaints-To | abuse@tut.fi |
| NNTP-Posting-Date | Sat, 1 Mar 2014 06:54:45 +0000 (UTC) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
| Cancel-Lock | sha1:n1QgbiCz3xF5RsGrY/mK2JtcDWA= |
| Xref | csiph.com comp.lang.python:67300 |
Show key headers only | View raw
hugocoolens <hugocoolens@gmail.com> writes: > It often happens I start a python-script I wrote some time ago on another > system and get messages like "module_x is missing". I then perform an apt-cache search module_x, followed by an apt-get install name_of_missing_module.deb > I was wondering whether someone here has a kind of method which automatically > looks for the missing modules as debian-packages and offers to install them? I don't know if there's anything that works with random Python scripts. I suppose the straightforward Debian way of it would be to package your script in a .deb package and include the proper dependencies, then apt would take care of installing those too. Debian has a wiki page covering the project's Python packaging policy and how to do it at https://wiki.debian.org/Python/Packaging.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
how to install automatically missing modules on a debian-system hugocoolens <hugocoolens@gmail.com> - 2014-02-19 03:02 -0800 Re: how to install automatically missing modules on a debian-system Anssi Saari <as@sci.fi> - 2014-03-01 08:54 +0200
csiph-web