Re: [Cppcms-users] pb in compiling templates
Brought to you by:
artyom-beilis
From: Artyom B. <art...@gm...> - 2021-09-15 05:08:40
|
Unfortunately there is no shebang that fits both python and python3. Just instead of calling the executable directly, call python3 cppcms_tmpl_cc specifying an interpreter manually. Artyom On Wed, Sep 15, 2021 at 12:36 AM Pierre Couderc via Cppcms-users < cpp...@li...> wrote: > After some update (debian), I get an error : > > [1/9] Generating templ with a custom command > FAILED: templates.cpp > /usr/local/bin/cppcms_tmpl_cc ../templates/master.tmpl > ../templates/ddefault.tmpl ../templates/llist.tmpl > ../templates/question.tmpl ../admin/templates/ad_recup.tmpl > ../admin/templates/ad_sql.tmpl (...) -o templates.cpp > /usr/bin/env: ‘python’: No such file or directory > > Is it because my pithon has gone to python3...? > > Thanks > > PC > > > > > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |