lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: working with Python scripts


From: Martín Rincón Botero
Subject: Re: working with Python scripts
Date: Mon, 30 Jan 2023 20:54:46 +0200

      
  

 Hi Jean,
  

  
sorry for taking so long to report back. This works, thank you!
  

  
Martín.
  
  
  
 www.martinrinconbotero.com
  
  
  

  
  
>   
> On Jan 25, 2023 at 1:26 PM,  <Jean Abou Samra (mailto:jean@abou-samra.fr)>  
> wrote:
>   
>   
>   
>  On 25/01/2023 11:40, Martín Rincón Botero wrote:  >  Hi Jean,  >   >  thank 
> you for your answer. Just to be sure: in the terminal I go to the build 
> directory and there I type PYTHONPATH=./python:$PYTHONPATH 
> build/out/bin/musicxml2ly ? No, in the source directory. If you are in the 
> build/ directory, you would need to adapt. Assuming that build/ is in the 
> source directory (not somewhere else entirely), 
> PYTHONPATH=../python:$PYTHONPATH out/bin/musicxml2ly The point is just that 
> when running "build/out/bin/musicxml2ly", you should have the PYTHONPATH 
> variable containing the "python/" directory from the source directory, before 
> anything else. Otherwise, either files like musicexp.py will not be found, or 
> worse, they could be taken from another LilyPond installation if that happens 
> for some reason to be in your $PYTHONPATH. Best, Jean  
>
>   
  
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]