[Samba] Gentoo Linux-installed Samba 4 alpha 21 getting python error

Bjoern Baumbach bb at sernet.de
Thu Jun 14 03:02:44 MDT 2012


On 06/14/2012 05:56 AM, Amitay Isaacs wrote:
> On Fri, Jun 8, 2012 at 6:19 AM, John Dekowski <jdekowski at gmail.com> wrote:
>> > I installed the Samba 4 alpha 21 using the Samba 4 alpha 20 ebuild as a
>> > template:
>> >
>> > When I try to run the samba-tool command, I keep getting
>> >
>> > *Code:*File "/usr/bin/samba-tool", line 38
>> >    except SystemExit, e:
>> >                     ^
>> > SyntaxError: invalid syntax
> What version of python are you using? Samba requires python 2.x and not 3.x.

Please use "eselect python list" to check your python version.

python2.7 is working for me.

In some cases you need to run "python-updater".

Björn

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list