错误有
subprocess-exited-with-error
ERROR: Failed building wheel for lru-dict
error: subprocess-exited-with-error
Running setup.py install for lru-dict did not run successfully.
exit code: 1
等
新建了一个python3.8的conda环境,再次执行
pip install textattack
报错
ERROR: Failed building wheel for lru-dict
下载lru-dict的wheel文件(link)。如下图,我是3.8版本的python,amd架构,应选择cp38,amd64。
下载完成后用以下命令安装(后面是whl文件全名)
pip install lru_dict-1.1.7-cp38-cp38-win_amd64.whl
重新尝试安装textattack就可以安装成功了~