[PYTHON] Notes on installing PycURL

Introduction

I used to use cURL normally when I wanted to retrieve website information on a text basis. I was wondering if it would be difficult to pick up the output and do this and that. But Python had a strong ally called PycURL. You can go with this! I was pleased with it ...

Stumble

I get an error when I try to install and use PIP immediately. I forgot to copy the actual error, but I remember it as if it was an error like this.

pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)

What I'm saying is that the SSL library at Compile and the SSL library at Link in libcurl don't match. It is necessary to match it.

From (Wikipedia) about Network Security Services

For the time being, the method I dealt with was as follows. Once I uninstalled pycurl and changed the SSL library to nss with the compile option of PycURL in the environment variable, it worked fine.

# pip uninstall pycurl
# export PYCURL_SSL_LIBRARY=nss
# pip install pycurl

in conclusion

Actually, I thought that this kind of thing should be put together in a blog or Qiita while dealing with it when I'm addicted to it. The moment I've been able to solve all the addictions, I forget about it, so I don't think I'll grow up.

Recommended Posts

Notes on installing PycURL
Notes on installing dlib on mac
Notes on installing Python on Mac
Notes on installing pipenv on Mac
Notes on installing Anaconda 3 on Windows
Notes on installing Python on CentOS
Notes on installing Python using PyEnv
Notes on installing Ubuntu 18.04 on the XPS 15 7590
Notes on Flask
Notes for installing Sublime Text on Ubuntu
Notes on neural networks
Notes on installing Python3 and using pip on Windows7
Celery notes on Django
Installing pandas on python2.6
Installing pyenv on ubuntu 16.04
Notes on using Alembic
Notes on SciPy.linalg functions
Notes on tf.function and Tracing
Notes on python's sqlite3 module
Notes on * args and ** kargs
Notes on defining PySide slots (2)
[Django] Notes on using django-debug-toolbar
Notes on defining PySide slots
[Python] Notes on data analysis
Notes on optimization using Pytorch
Notes on studying multidimensional scaling
Notes on imshow () in OpenCV
Notes on Python and dictionary types
Installing Kivy on Windows10 64bit Python3.5
Notes on package management with conda
Try installing OpenAM on Amazon Linux
Notes on using MeCab from Python
Notes on how to use pywinauto
Support when installing pillow on python3.9
Notes on using post-receive and post-merge
Notes on how to use featuretools
Installing Kivy-Designer on Windows10 64bit Python3.5
[Go] Procedure for installing Go on WSL2
Talk about installing CUDA on WSL2
Notes on using rstrip with python.
Notes on accessing dashDB from python
[First Deep Learning] Notes on running the sample after installing Deel
Notes on how to use doctest
Try installing OpenCV 3.0 on your AMI
Notes on using matplotlib on the server
Notes on how to write requirements.txt
Notes on installing Caffe in CPU mode on Mac OSX 10.11 (El Captain)
(Beginner) Notes on using pyenv on Mac
Notes for using OpenCV on Windows10 Python 3.8.3.
Notes on PyQ machine learning python grammar
Error resolution when installing numba on macOS
Notes on running M5Stick V with uPyLoader
Notes on nfc.ContactlessFrontend () for nfcpy in python
Notes on creating static files in Django
Notes on standard input / output of Go
[Note] Procedures for installing Ubuntu on Windows 10
Notes on running Azure Machine Learning locally
Notes on doing Japanese OCR with Python
A struggle when installing pyenv on Cygwin
Installing Anaconda Python on an ECS instance
I stumbled upon installing sentencepiece on ubuntu