The fingerprints in 0.6 on Windows are all wrong, you should update to 0.7 if you are on Windows.
Only Python 3.8 and above are supported. Python 3.7 has reached its end of life.
The simplest way is to install from PyPI:
pip install curl_cffi --upgrade
We have sdist(source distribution) and bdist(binary distribution) on PyPI. This should work on Linux, macOS and Windows out of the box.
If it does not work on you platform, you may need to compile and install curl-impersonate first and set some environment variables like LD_LIBRARY_PATH.
To install beta releases:
pip install curl_cffi --upgrade --pre
Note the --pre
option here means pre-releases.
To install the latest unstable version from GitHub:
git clone https://github.com/lexiforest/curl_cffi/ cd curl_cffi make preprocess pip install .
Or you can download the wheels from github actions artifacts.