pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
# 背景
安裝pip後發現執行pip install pytest,提示下面錯誤
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
# 解決方法
查詢了資料,大概意思是,新版的pip默認要使用SSL,可以通過設置修改,但木有發現pip.conf文件在哪裏,囧rz,後續再研究下
但找到另外一個解決方法
先安裝openssl-dev,然後重新編譯安裝,只是在編譯的過程中加入 --enable-optimizations
具體如下:
sudo yum install openssl-dev 然後: ./configure --enable-optimizations make && make install
這樣就可以了的
實際上解決方法挺多的
1. 修改pip.conf
2. 修改安裝目錄下module下的setup文件
3. 安裝openssl後,編譯時加上--enable-optimizations
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
相關推薦
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
make 重新 test however con conf ins ava OS # 背景 安裝pip後發現執行pip install pytest,提示下面錯誤 pip is configured with locations that require TLS/S
python出現"pip is configured with locations that require TLS/SSL, however the ssl....."錯誤解決辦法
解決方法 新版的pip預設要使用SSL,可以通過設定修改,修改pip.conf檔案;還有一種辦法是openssl-dev,然後重新編譯安裝,只是在編譯的過程中加入 --enable-optimizations 具體如下: sudo yum install openssl-deve
安裝Django1.11.7時發現的問題,關於pip is configured with locations that require TLS/SSL, however the ssl
首先設定了一個虛擬環境mkvirtualenv -p /usr/bin/python3.5 +虛擬環境名稱然後下載djangopip install Django==1.11.7報錯了出現了很長一堆,然後開始往上尋找pip的錯誤,發現pip顯示pip is configure
ubuntu下使用pip3.6安裝模組總是報ssl module in Python is not available的錯誤
剛剛安裝了python3.6,在使用pip3.6安裝模組的時候出現如下錯誤。 [[email protected] ~]# pip install bottle pip is conf
Chatbots Magazine is created with ❤ by 700+ bot innovators from around the world.
Chatbots MagazineBlockedUnblockFollowFollowingThe #1 Place to Learn About Chatbots. Founded by @MattPRD. Edited by @KelliKissack. Senior Reporter is @PaulB
實訓第五天--The great pleasure in life is doing what people say you cannot do
時有 2.3 money 條件 換行 類型 精確 pri 溢出 回顧:1.變量 用於指代內存中的一塊區域 作用:存數2.聲明 類型 變量名 int a,b 3.初始化 int a=10; 4.命名 不能以數字開
Concurrent Programming in Python is not what you think it is.
Concurrent Programming in Python is not what you think it is.In this article, I will first walk you through the distinction between concurrent programming
The great pleasure in life is doing what people say you cannot do.
eas mil sof detail 做到 tex pad ans microsoft The great pleasure in life is doing what people say you cannot do. 人生最大的快樂是做到別人認為你做不到的事情。The
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled
早上來到公司,線上的專案報錯: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapsho
Coincentrix is proud to announce that, with our application NexMove, we have secured the position…
Coincentrix Secures World’s Busiest Airport as a Client!Coincentrix is proud to announce, that with our application NexMove, we have secured the position a
Assassin's Creed: Odyssey's hidden Historical Locations map is stuffed with Ancient Greek lore
I don't know why the developers made that decision, although the map is certainly cluttered enough without these Historical Locations. It's too bad you cou
【梅關西,這是我的一個祕密,再簡單不過的祕密:一個人只有用心去看,才能看到真實。】And now here is my secret, a very simple secret. It is only with the heart that one can
And now here is my secret, a very simple secret. It is only with the heart that one can see rightly.
The configuration file "vmname.vmx" was created by a VMware product that is incompatible with this v
VMWare低版本無法開啟高版本建立的虛擬機器解決方案 我使用version 8的虛擬機器開啟 version 10的建立的虛擬機器系統丟擲錯誤資訊:The configuration file "v
RMAN-05537: DUPLICATE without TARGET connection when auxiliary instance is started with spfile canno
ech class sed 步驟 size 問題處理 and ase style 今天是2014-06-18。在復制數據的時候出現例如以下錯誤: RMAN-05537: DUPLICATE without TARGET connection when auxili
Please verify that your device’s clock is properly set, and that your signing certificate is not exp
general erl ria properly ear pop one 一種可能 -c 真機調試的時候出現此類警告,之前也遇到過,但是一直沒總結,今天總結一下 出現這樣的問題大概有幾個解決方法: 1.最簡單的一種----假設你的證書是近期才申請的沒什麽問題。或者說前幾
[SQL] - Attempted to read or write protected memory. This is often an indication that other memory is corrupt. 問題之解決
img png .com 異常 hresult image select att blog 場景: 使用 Oracle.DataAccess.dll 訪問數據庫時,OracleDataAdapter 執行失敗。 異常: System.AccessViolationExce
mysql命令gruop by報錯this is incompatible with sql_mode=only_full_group_by
插入 gin div ins his columns group col and 在mysql 工具 搜索或者插入數據時報下面錯誤: ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
tail ann 修改 led div odi logs please -o (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on
pip cannot confirm SSL certificate: SSL module is not available
pac https available 解決 conf centos6 failed -s pip centos6.8編譯安裝python2.7之後,使用pip報錯:pip cannot confirm SSL certificate: SSL module is not
vi is failed with error "E382: Cannot write, 'buftype' option is set" in Linux
rom set ror ast style led not file ati 在linux下生成jar文件遇到了編碼問題,於是想vi t.jar,在保存是報錯:E382: Cannot write, ‘buftype‘ option is set 解決方法: 可以用下面的命