Installing Python CoinGecko
Python CoinGecko supports Python 3.9+. The recommended way to install is via
pip.
pip install python-coingecko
Note
Depending on your system, you may need to use pip3 to install packages for
Python 3.
Or with uv:
uv add python-coingecko
Warning
Avoid using sudo to install packages. Do you really trust this package?
For instructions on installing Python and pip see “The Hitchhiker’s Guide to Python” Installation Guides.
Updating Python CoinGecko
python-coingecko can be updated by running:
pip install --upgrade add python-coingecko