lizhuol21

Results 2 comments of lizhuol21

pyyaml无法安装是共性问题,麻烦尽快修复

> 这个问题依然存在,之前以为是环境问题,结果确实是pyyaml的问题。我采用掩耳盗铃法,临时换用anaconda去管理包。 (下面不用看了,只是一个笨办法) 1.在控制台,把需要的包导出。 `poetry export -f requirements.txt --output requirements.txt --without-hashes` 2.换anaconda虚拟环境。 3.从requirements.txt里直接删掉pyyaml这行(后面自己手动安装了) 4.在虚拟环境里,`pip install -r requirements.txt`,没有再报错 我是直接改了pyproject.toml(5.4.1->6.0.1),然后删掉poetry.lock,最后执行poetry install,等待自动解决冲突和重新生成poetry.lock,同样可以安装成功