bdqnghi / infercode

[ICSE 2021] - InferCode: Self-Supervised Learning of Code Representations by Predicting Subtrees
89 stars 24 forks source link

FileNotFoundError: #37

Open QuanixnYang opened 1 year ago

QuanixnYang commented 1 year ago

[WinError 2] 系统找不到指定的文件。: 'C:\Users\Administrator\.tree-sitter\tree-sitter-parsers-Windows' 使用rm C:\Users\Administrator\.tree-sitter 然后 pip install tree-sitter-parsers 问题依然存在,Windows miniconda python 3.8,在mac和ubuntu上都是一样的报错

Misfiti commented 1 year ago

您好,请问您解决了吗

zzyu5 commented 1 year ago

I read the code finds this download url:zip_url = "https://github.com/yijunyu/tree-sitter-parsers/archive/refs/heads/" + plat + ".zip"

Swag-Wang commented 6 months ago

FileNotFoundError: [Errno 2] No such file or directory: '/root/.tree-sitter/tree-sitter-parsers-Linux' 我也依然存在这个问题,我按照作者的方法删除了/root/.tree-sitter/后重装tree-sitter-parsers,将python版本改成3.8依然报这个错误无法解决,我系统是ubuntu