簡體   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