问题:运行“python -m pip install -e .”或者“python setup.py build develop”报错
anaconda3/envs/querydet/lib/python3.7/site-packages/setuptools/_distutils/util.py", line 511, in rfc822_escape
lines = header.split('\n')
AttributeError: 'NoneType' object has no attribute 'split'
解决办法:setuptools降低版本,从65.6.3到41.0.0,执行代码
python -m pip uninstall setuptools && python -m pip install setuptools==41.0.0
解决了。