使用pip进行安装,出现 memory error,TypeError ... 的成功解决方案
- 如果出现 memory error, 则将 pip install xxx 变更为 pip -no-cache-dir install xxx;
- 如果出现 TypeError: unsupported operand type(s) for -=: 'Retry' and 'int', 则需要换源,可使用该解决方案:https://blog.csdn.net/sakus/article/details/81003512
- 如果出现 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Ss0rvp/pillow/,则是pip出现问题:可使用该解决方案:https://me.jinchuang.org/archives/1158.html
- 如果出现ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 则需要按照提示安装缺失的包,可使用该解决方案:https://blog.csdn.net/weixin_43582443/article/details/111478698