繁体   English   中英

仍然无法安装自动登录-TLSV1_ALERT_PROTOCOL_VERSION

[英]still cannot install autologin - TLSV1_ALERT_PROTOCOL_VERSION

尝试使用以下命令在macOS 10.13.6上安装自动登录

pip3 install -U --upgrade autologin

我的Python版本: Python 3.5.3

我的pip3版本: pip 18.0 from /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip (python 3.5)

我应达关于Python和点子让喜欢回答日期不应适用于我的问题。

当我运行curl https://bootstrap.pypa.io/get-pip.py | sudo python3 curl https://bootstrap.pypa.io/get-pip.py | sudo python3

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1604k 100 1604k 0 0 312k 0 0:00:05 0:00:05 --:--:-- 299k The directory '/Users/xx/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/xx/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting pip Downloading https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.4MB 728kB/s Installing collected packages: pip Found existing installation: pip 18.0 Uninstalling pip-18.0: Successfully uninstalled pip-18.0 Successfully installed pip-18.0

我可以监督什么吗? 还有什么可以解决这个问题?

通过更新到Python 3.7来克服TLSV1_ALERT_PROTOCOL_VERSION错误:

brew install pyenv

由于邮编丢失,我安装了

xcode-select --install

那我可以

sudo pyenv install 3.7.0

然后我创建了一个虚拟环境

virtualenv --python=/Users/bileser/.pyenv/versions/3.7.0/bin/python3.7

现在将python-crfsuite设置为自动登录的一部分时会出现另一个问题,但这不是问题的一部分。 一个问题应该处理一件事情

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM