The ssl module in Python is not available

news/2024/11/29 18:46:59/

问题描述

安装 numba 库时报错如下

E:\>pip install numba==0.55.1
WARNING: Ignoring invalid distribution -umpy
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Ignoring invalid distribution -umpy
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numba/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numba/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numba/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numba/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numba/
Could not fetch URL https://pypi.org/simple/numba/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numba/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement numba==0.55.1 (from versions: none)
ERROR: No matching distribution found for numba==0.55.1
WARNING: Ignoring invalid distribution -umpy

解决方法

D:\Anaconda3\Library\bin 目录下找到

  • libcrypto-1_1-x64.*
  • libssl-1_1-x64.*

拷贝到 D:\Anaconda3\DLLs

如果你用的是其他版本或是安装软件带的 Python , 到对应的 Python 目录下执行这项操作

参考
[1]. https://blog.csdn.net/niuniu41783/article/details/127821647
[2]. https://github.com/conda/conda/issues/8273

桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ 桃花仙人种桃树_又摘桃花换酒钱_ . . . . . .

桃花仙人种桃树,又摘桃花换酒钱_


http://www.ppmy.cn/news/778449.html

相关文章

SQL删除语句

SQL中有三种删除语句&#xff1a;DELETE、DROP、TRUNCATE 一.DELETE语句 DELETE FROM <表名> [WHERE 子句] [ORDER BY 子句] [LIMIT 子句] delete删除表中指定数据&#xff0c;能与where一起使用 二.DROP语句 DROP [TEMPORARY] TABLE [IF EXISTS] drop删除整个表&am…

SQL进行数据的删除

SQL进行数据的删除 一、删除delete 语法 delete [from] 表名称 where 条件数据删除&#xff0c;不能删除某一列&#xff0c;因为删除是对记录而言 2.1 删除是一条一条删除&#xff0c;每次删除都会将操作写入日志文件 删除效率低 2.2 标识列的种子不会从重新计算删除姓名为bb…

QT day1简单登录界面

widget.cpp文件代码&#xff1a; #include "widget.h" #include "ui_widget.h"Widget::Widget(QWidget *parent) :QWidget(parent),ui(new Ui::Widget) {qDebug()<<this->size();qDebug()<<this->frameSize();this->setFixedSize(50…

7.8(wmi命令+ServiceName+CobaltStrike Loader)

优先级&#xff0c;进程ID&#xff0c;线程计数 优先级&#xff08;Priority&#xff09;是操作系统对进程或线程分配处理器资源的重要性排序。较高的优先级意味着进程或线程更有可能在竞争处理器资源时被调度执行。 进程ID&#xff08;Process ID&#xff09;是唯一标识系统中…

window+L锁不了电脑屏幕解决方案

可以试试winFN&#xff0c; 应该是win锁住了 之后windowL成功锁屏

win10双屏锁屏后再登陆导致副屏窗口全部移到主屏的解决方法

win10双屏锁屏后再登陆导致副屏窗口全部移到主屏的解决方法 其实是锁屏后屏幕关闭了&#xff0c;在重新打开时&#xff0c;会将所有窗口移动到主屏幕。 解决方法&#xff1a;修改锁屏后屏幕关闭时间。具体请看http://www.xitongcheng.com/jiaocheng/win10_article_13219.html…

解决Win10锁屏超1分钟,显示器关闭问题

解决Win10锁屏超1分钟,显示器关闭问题 Win10台式机锁定屏幕1分钟后&#xff0c;系统就会自动关闭显示器。从节能来说是非常不错的&#xff0c;但这不符合大多数人的电脑使用习惯&#xff0c;一会儿就黑屏了看起来不舒服。怎么修改这个系统默认设置呢&#xff1f;解决方法如下&…

电脑锁定之后重新打开屏幕,双屏幕只能显示一个(娱乐向记录,技术向勿入)

场景&#xff1a;周末电脑锁屏&#xff0c;周内上班之后开启屏幕发现只有一个能打开了&#xff0c;另一个不能用了。 桌面右键屏幕分辨率&#xff0c;检测是可以检测到的。 奈何就是打不开。 一通百度之后。 有人说&#xff1a;拔了不亮的显示屏&#xff0c;重新插一下就好了…