Csound Csound-dev Csound-tekno Search About

[Csnd] no manual build

Date2020-04-13 18:55
FromMenno Knevel
Subject[Csnd] no manual build
Hi,
today i tried to build the manual, but failed miserably:

(base) menno@menno-P5K /media/menno/datae/temp2/manual-master $ make html
[ -d "/usr/share/xml/docbook/stylesheet/nwalsh/" ] || (  \
 echo "The XSL_BASE_PATH variable must be set to the XSL stylesheets
installation directory" ; \
 false )
sed -e 's|@xsl_base_path@|/usr/share/xml/docbook/stylesheet/nwalsh/|'
xsl/customXHTMLchunk.xsl.in > xsl/customXHTMLchunk.xsl
mkdir -p examples-xml
python csd2docbook.py
Traceback (most recent call last):
  File "csd2docbook.py", line 21, in 
    from pygments import highlight
ImportError: No module named pygments
Makefile:701: recipe for target 'examples-xml/stamp' failed
make: *** [examples-xml/stamp] Error 1

I have python-pygments and python3-pygments installed.
What is missing?




--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-04-13 19:15
Fromjoachim heintz
SubjectRe: [Csnd] no manual build
hi menno -

i have built the manual yesterday with success, so i think this is not a 
general issue.

perhaps your pygments is not where it can be found?  mine is in
/usr/local/lib/python3.7/dist-packages/pygments

best -
	joachim


On 13/04/2020 19:55, Menno Knevel wrote:
> Hi,
> today i tried to build the manual, but failed miserably:
> 
> (base) menno@menno-P5K /media/menno/datae/temp2/manual-master $ make html
> [ -d "/usr/share/xml/docbook/stylesheet/nwalsh/" ] || (  \
>   echo "The XSL_BASE_PATH variable must be set to the XSL stylesheets
> installation directory" ; \
>   false )
> sed -e 's|@xsl_base_path@|/usr/share/xml/docbook/stylesheet/nwalsh/|'
> xsl/customXHTMLchunk.xsl.in > xsl/customXHTMLchunk.xsl
> mkdir -p examples-xml
> python csd2docbook.py
> Traceback (most recent call last):
>    File "csd2docbook.py", line 21, in 
>      from pygments import highlight
> ImportError: No module named pygments
> Makefile:701: recipe for target 'examples-xml/stamp' failed
> make: *** [examples-xml/stamp] Error 1
> 
> I have python-pygments and python3-pygments installed.
> What is missing?
> 
> 
> 
> 
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here