背景
报错信息:Collecting ptyprocess
Could not fetch URL https://pypi.python.org/simple/ptyprocess/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618) - skipping
Could not find a version that satisfies the requirement ptyprocess (from versions: )
No matching distribution found for ptyprocess
原因:安装pip install pexpect未成功。
一、步骤
1.使用python和pip联合命令解决
python -m pip install ptyprocess --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org