为什么引号会在错误消息上重复?

问题描述

当我使用 scipy 安装 pipenv 时会发生这种错误。我找到了解决方法,只是很好奇,但为什么会出现类似 '"'"' 这样的错误消息?

这里是错误代码部分;

if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');

[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1: /root/.local/share/virtualenvs/raptgen-O5zg_txm/bin/python -u -c 'import io,os,sys,setuptools,tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ztutyeq7/scipy_2aaa07f2c2834876a37b078871ee11f1/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ztutyeq7/scipy_2aaa07f2c2834876a37b078871ee11f1/setup.py'"'"';f = getattr(tokenize,'"'"'open'"'"',open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' install --record /tmp/pip-record-k2z7g6g0/install-record.txt --single-version-externally-managed --compile --install-headers /root/.local/share/virtualenvs/raptgen-O5zg_txm/include/site/python3.8/scipy Check the logs for full command output.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)