[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Win32/Python 2.3 installation



Hi Nick,


> This looks like mixminion isn't actually installed where python expects to
> find packages.

I thought, this goes automatically? The installer added mixminion* scripts under
L:\Python23\Scripts and a mixminion directory under
L:\Python23\Lib\site-packages\mixminion.

> You should probably edit the "mixminion" script and make sure that the
> sys.path line refers to the site-packages directory of the actual python
> distribution where mixminion is installed.

You mean mixminion.py?

#!l:\python23\python.exe
  ^^ # showed the wrong device "d:" after installation
import sys
try:
    import mixminion.Main
except:
    print 'ERROR importing mixminion package.'
    raise

mixminion.Main.main(sys.argv, 1)

I don't see a sys.path line here?

-- 
Ciao
Kai

Homepage: http://kai.iks-jena.de/
Weblog: http://rabe.supersized.org/