I installed python-dev-is-python3, and it solved the problem. Thanks.

On Mon, 9 Jan, 2023, 8:15 pm Oleg Parashchenko, <[email protected]> wrote:

> Hello,
>
> in my docker images I install "python3-dev" and later create a symlink:
>
> ```
> ln -s /usr/bin/python3 /usr/bin/python
> ```
>
> Regards,
> Oleg
>
> On Wed, 4 Jan 2023 17:35:41 +0530
> Sainik  Kumar Mahata <[email protected]> wrote:
>
> > I think, the issue is with the "python-dev" package that is installed as
> a
> > dependency.
> >
> > Executing: /home/sainik/mosesdecoder/tools/merge_alignment.py
> >
> /home/sainik/working/train/giza.bn-en/bn-en.A3.final.part*>/home/sainik/working/train/giza.bn-en/bn-en.A3.final
> > /usr/bin/env: 'python': No such file or directory
> > Exit code: 127
> >
> > When I am trying to install python-dev, ubuntu says that there is no
> > installation certificate, and instead tells me to
> > install python2-dev/python2/python-dev-is-python3
> >
> > Can you kindly suggest, what to install instead of python-dev?
> >
> >
> >
> >
> > [image: Mailtrack]
> > <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&;
> >
> > Sender
> > notified by
> > Mailtrack
> > <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&;
> >
> > 01/04/23,
> > 05:35:23 PM
> >
> > On Wed, Jan 4, 2023 at 5:26 PM Hieu Hoang <[email protected]> wrote:
> >
> > > it may be that a previous step failed, eg due to running out of disk
> > > space, choking on bad data.
> > >
> > > Check the logs for the previous steps
> > >
> > > Hieu Hoang
> > > http://statmt.org/hieu
> > >
> > >
> > > On Wed, 4 Jan 2023 at 11:42, Sainik Kumar Mahata <
> [email protected]>
> > > wrote:
> > >
> > >> Dear All,
> > >>
> > >> I have trained my translation models using Moses Toolkit multiple
> times
> > >> before, but recently, when I tried training a fresh model, I am
> receiving
> > >> the following error message.
> > >>
> > >> No such file or directory while opening
> > >> /home/sainik/working/train/model/extract.o.sorted.gz
> > >> Aborted
> > >> Exit code: 134
> > >>
> > >> Also, when I am looking into the log file, I can find two more
> > >> warning/error messages.
> > >>
> > >> Use of uninitialized value in substitution (s///) at
> > >> /home/xyx/mosesdecoder/scripts/training/LexicalTranslationModel.pm
> line 40.
> > >> Use of uninitialized value $a in split at
> > >> /home/xyz/mosesdecoder/scripts/training/LexicalTranslationModel.pm
> line 109.
> > >>
> > >> This never happened before and it would be very kind of anyone, who
> can
> > >> guide me on this issue.
> > >>
> > >> Thanks in advance.
> > >>
> > >>
> > >> --
> > >>
> > >> Regards,
> > >>
> > >> Sainik
> > >> Phone/WA: +91-9038141146
> > >>
> > >>
> > >> [image: Mailtrack]
> > >> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&;>
> Sender
> > >> notified by
> > >> Mailtrack
> > >> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&;>
> 01/04/23,
> > >> 05:05:11 PM
> > >> _______________________________________________
> > >> Moses-support mailing list
> > >> [email protected]
> > >> https://mailman.mit.edu/mailman/listinfo/moses-support
> > >>
> > >
> >
> > --
> >
> > Regards,
> >
> > Sainik
> > Phone/WA: +91-9038141146
>
>
> --
> Mit freundlichen Grüßen,
> Oleg Parashchenko
>
_______________________________________________
Moses-support mailing list
[email protected]
https://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to