当前位置:网站首页>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/simpleHowever, 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\binAdd to the path of the system: 
install again, no WARNING: pip is configured with locations that require TLS/SSL, prompt: missing CMakemodule

Install CMake:
pip install CMake -i https://pypi.tuna.tsinghua.edu.cn/simpleInstall 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

边栏推荐
猜你喜欢
随机推荐
关系型数据库-MySQL:约束管理、索引管理、键管理语句
k3s-轻量级Kubernetes
sql中group by的用法
关系型数据库-MySQL:多实例配置
ISCC2021——web部分
SQL练习 2022/7/1
剑指 Offer 2022/7/9
【深度学习21天学习挑战赛】0、搭建学习环境
MySQL事务详解(事务隔离级别、实现、MVCC、幻读问题)
NFT市场开源系统
两个APP进行AIDL通信
flink自定义轮询分区产生的问题
关系型数据库-MySQL:错误日志(log_error)
剑指 Offer 2022/7/12
【CV-Learning】目标检测&实例分割
彻底搞懂箱形图分析
JS实现上一个、下一个、置顶、置底操作
PostgreSQL模式(Schema)
双重指针的使用
(十)树的基础部分(一)








