標簽:lin targe cython dir 清華 span file cto pip
有人說要先安裝Cython,但是我安裝了Cython之後還是報這個錯誤,然後就換了一種安裝思路
先去清華源镜像站https://opentuna.cn/pypi/web/simple/pycocotools/下載pycocotools-2.0.2.tar.gz
然后cd到pycocotools-2.0.2.tar.gz所在的目录执行pip install pycocotools-2.0.2.tar.gz
就成功了。
解决pycocotools/_mask.c:646:10: fatal error: maskApi.h: No such file or directory
標簽:lin targe cython dir 清華 span file cto pip
原文地址:https://www.cnblogs.com/holiday2018/p/14944160.html