python常见问题及解决

pip安装时报错

 pip3 install drf-yasg

ERROR: Cannot uninstall 'pycairo'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决方法:

 pip3 install drf-yasg --ignore-installed

你可能感兴趣的:(python常见问题及解决)