当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
ISCC-2022
编程Go:return、break、continue
彻底搞懂箱形图分析
Upload靶场搭建&&第一二关
线性回归简介01---API使用案例
IvNWJVPMLt
ES6 Const Let Var的区别
自动化运维工具Ansible(2)ad-hoc
JS深复制对象方法(深拷贝)
(十四)平衡二叉树
CTFshow—Web入门—信息(9-20)
NFT市场以及如何打造一个NFT市场
RecyclerView的用法
flink问题整理
WARNING: sql version 9.2, server version 11.0.Some psql features might not work.
智能合约安全——私有数据访问
网络大作业心得笔记
剑指 Offer 2022/7/8
Postgresql 快照
简单说Q-Q图;stats.probplot(QQ图)