faust
                                
                                 faust copied to clipboard
                                
                                    faust copied to clipboard
                            
                            
                            
                        faust2sc.py TemporaryDirectory Error
Windows 10 21h2 Faust 2.40.0 just compiled from source, no errors
Trying to compile a basic .dsp with faust2sc.py:
$ > faust2sc.py test.dsp -o ./test/
  File "C:\Program Files\Faust\bin\faust2sc.py", line 552, in <module>
    with tempfile.TemporaryDirectory() as tmpdirname:
AttributeError: 'module' object has no attribute 'TemporaryDirectory'
I have tried changing python 2.7 / 3.10
@madskjeldgaard or @Rhoumi any idea?
Maybe tempfile isn't properly installed or is being replaced by other module with the same name.
https://docs.python.org/3/library/tempfile.html#tempfile.TemporaryDirectory says:
class tempfile.TemporaryDirectory(suffix=None, prefix=None, dir=None, ignore_cleanup_errors=False)¶ [...] New in version 3.2.
i guess @melas0nos is using Python-2.7 (but i can't really parse "I have tried changing python 2.7 / 3.10")