python pip安装报错_CentOS7 安装 Python3.8后 pip 安装报错

[root@localhost Python-3.8.0]# pip install bs4

Collecting bs4

Using cached https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz

ERROR: Command errored out with exit status 1: command: /usr/local/python3.8/bin/python3.8 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"‘"‘/tmp/pip-install-alhbm0sp/bs4/setup.py‘"‘"‘; __file__=‘"‘"‘/tmp/pip-install-alhbm0sp/bs4/setup.py‘"‘"‘;f=getattr(tokenize, ‘"‘"‘open‘"‘"‘, open)(__file__);code=f.read().replace(‘"‘"‘\r\n‘"‘"‘, ‘"‘"‘\n‘"‘"‘);f.close();exec(compile(code, __file__, ‘"‘"‘exec‘"‘"‘))‘ egg_info --egg-base /tmp/pip-install-alhbm0sp/bs4/pip-egg-info

cwd: /tmp/pip-install-alhbm0sp/bs4/

Complete output (11 lines):

Traceback (most recent call last):

File "

你可能感兴趣的:(python,pip安装报错)