当前位置:网站首页>Install dlib step pit record, error: WARNING: pip is configured with locations that require TLS/SSL
Install dlib step pit record, error: WARNING: pip is configured with locations that require TLS/SSL
2022-08-04 06:04:00 【Not your @】
Recently I have been taking time to learn opencv - python, when I installed the dlib library today, I reported an error and recorded itStepping on the pit process.
In the beginning, it is natural to open a command window and start the installation:
pip install dlib -i https://pypi.tuna.tsinghua.edu.cn/simple
However, an error is reported:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
I found a lot of solutions, they are: (It doesn't work, at leastI tried to no avail)
- Download SSL Installation
- Update pip (I'm already up to date)
- Various uninstalls and reinstalls
Solution:
Add your Anaconda
directories to the environment variable:
Your Anaconda installation path\AnacondaYour Anaconda installation path \ScriptsYour Anaconda installation path \Anaconda\Library\bin
Add to the path
of the system:
install again, no WARNING: pip is configured with locations that require TLS/SSL, prompt: missing CMake
module
Install CMake:
pip install CMake -i https://pypi.tuna.tsinghua.edu.cn/simple
Install again: dlib
pip install dlib -i https://pypi.tuna.tsinghua.edu.cn/simple
Success!
The above is installed in the default virtual environment!
Under anaconda:
1. Enter your own virtual environment first:
cmd:activate your virtual environment name
2. Enter the installation command:
conda install -c conda-forge dlib
边栏推荐
猜你喜欢
随机推荐
属性动画的用法 以及ButterKnife的用法
多项式回归(PolynomialFeatures)
SQl练习 2022/6/29
Jupyter Notebook安装库;ModuleNotFoundError: No module named ‘plotly‘解决方案。
IvNWJVPMLt
剑指 Offer 20226/30
程序、进程、线程、协程的概念及区别
对象存储-分布式文件系统-MinIO-3:MinIo Client(mc)
TensorFlow2学习笔记:6、过拟合和欠拟合,及其缓解方案
攻防世界MISC———Dift
智能合约安全——delegatecall (2)
智能合约安全——溢出漏洞
with recursive用法
flink on yarn任务迁移
详解“Node实现数据加密”过程
网络大作业心得笔记
原型对象及原型链的理解
TensorFlow2学习笔记:7、优化器
关系型数据库-MySQL:错误日志(log_error)
CTFshow—Web入门—信息(1-8)