I have the following problem
Hi guys, sry, that might be a dumb question, but I'm still new to python an github.
When trying the example code, I get the following error: File "C:\Users...\Anaconda3\lib\tempfile.py", line 368, in mkdtemp _os.mkdir(file, 0o700) FileNotFoundError: [WinError 3] The system cannot find the path specified: '/tmp/tmpdrthhe2i'
How can I solve that?
Hello, I have the same problem as danielp3011. Any update ?
Thank you
@danielp3011 @louis-mouline
Sorry, it is caused by setting xml_dir=tmp as default. In python on windows, tmpdir is created at C:\TEMP, C:\TMP, \TEMP, and \TMP.
https://github.com/tagucci/pythonrouge/blob/9d1393bb017de14333a0b04f5f55f9f1c41b269c/pythonrouge/pythonrouge.py#L16-L18
I only tested on Ubuntu/Mac, so I couldn't realize this issue.
Please set xml_dir=tempfile.gettempdir() when initializing pythonrouge. It may help you:)
Hi, I have the same problem. Unfortunately this did not help. I changed xml_dir to xml_dir=tempfile.gettempdir() but says tempfile is not defined. can you please help me ?
@kevinborg To be totally honest with you, I've give up using Windows 10 and I've get around this problem using Google Colab.
@louis-mouline thanks for your reply and recommending Google Colab, haven't tried it before. I'll give it a shot.