Lists <li...@nodatagrabbing.com> wrote: > On 2024-11-08 13:57, Chris Green wrote: > > songbird <songb...@anthive.com> wrote: > >> Chris Green wrote: > >>> songbird <songb...@anthive.com> wrote: > >>>> Chris Green wrote: > >>>> ... > >>>> > >>>> i haven't needed them and also haven't gotten into > >>>> them. > >>>> > >>>> > >>>>> I'm particularly interested in a way to run (say) Debian Bullseye > >>>>> within my Debian Bookworm system. I'm looking for something slightly > >>>>> 'lighter weight' than a full-blown virtual machine like virtualbox > >>>>> though I guess I can use virtualbox if I have to. > >>>> > >>>> the easiest and lightest weight to me is just having > >>>> another partition and booting that. no extra layers of > >>>> anything needed at all. > >>>> > >>> No use at all! :-) It's a scanner applet to drive my OKI scanner and > >>> I want the output to end up on my working system where I will use it > >>> in E-Mail or whatever. > >> > >> can you say what that scanner applet is? > >> > >> > >>> A VirtualBox instance running the old distro would work for me as you > >>> can share files between that an the 'parent' system but it really > >>> seems like overkill for running just one little app/program. > >>> > >>> At present the simplest solution for me seems to be to install the old > >>> distro on a low-power consumption system and simply run the scanner > >>> utility via 'ssh -X' so that I can see it on my desktop screen. That > >>> does work OK, the only downside is the small extra bit of power > >>> consumption. > >> > >> it seems like that right now, but perhaps some poking > >> around may come up with another way. > >> > > I'm still poking! :-) > > > > > >> is the constraint for the applet that it needs python 2? > >> or? > >> > > Basically yes, what makes it impossiblr to migrate to Python3 is that > > there is a .so file which is a python package built for Python 2, > > otherwise I would be quite happy to convert it all to Python 3. > > > > I am just a novice with Python (migrating from perl, which I have > programmed in for more than 25 years), but wouldn't a Python Virtual > Environment (venv) be just the thing for this? I've been tinkering with > that in pycharm and it seems like it could do what you need. > > See https://docs.python.org/3/library/venv.html for more information. > Well, yes, it sounds like it doesn't it. However, apparently, there are various things that prevent one from creating a python 2.x virtual environment on a system that has only Python 3.
-- Chris Green ยท