我试图安装beautifulsoup。我收到这样的错误:
<-- snip -->
raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /Users/Sam/.pydistutils.cfg, line: 1
'install_lib = ~/Library/Python/$py_version_short/site-packages\n'
当我在 vim 中运行我的 Python 代码时,我遇到了类似的错误::!python %