Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.01 KB

install.rst

File metadata and controls

48 lines (29 loc) · 1.01 KB

Install

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.

Via pip

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.

Beta versions

To install beta releases:

pip install curl_cffi --upgrade --pre

Note the --pre option here means pre-releases.

Latest

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.