关于pip basicsr,facexlib,realesrgan et al.安装报错。

首先basicsr是一个超分的库,在ubuntu系统上pip时会报错。

上图这种错误,或者其他的错误,有的方法让去github上安装,那种方法到setup.py的时候也会报错。

问题在于首先 -i的源要换成阿里的源,然后要安装他要求的库,在github上都有,或者默认也会自动pip,但是cython这个需要手动安装,pip install cython -i xxx 之后问题解决。。

避坑!

猜你喜欢

转载自blog.csdn.net/qq_40962125/article/details/134374318