当前位置:网站首页>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数据库,使用okhttp
k3s-轻量级Kubernetes
(十六)图的基本操作---两种遍历
MySql--存储引擎以及索引
二月、三月校招面试复盘总结(二)
关系型数据库-MySQL:体系结构
pgsql函数中的return类型
Kubernetes基本入门-元数据资源(四)
Jupyter Notebook安装库;ModuleNotFoundError: No module named ‘plotly‘解决方案。
什么是跨域和同源
postgres 递归查询
Kubernetes基本入门-名称空间资源(三)
ISCC2021———MISC部分复现(练武)
ES6 Const Let Var的区别
flink-sql大量使用案例
智能合约安全——delegatecall (2)
IvNWJVPMLt
二月、三月校招面试复盘总结(一)
【深度学习21天学习挑战赛】3、使用自制数据集——卷积神经网络(CNN)天气识别
postgresql 游标(cursor)的使用









