[Bug]: InvalidArchiveError("Error with archive <path>\cookiecutter-2.7.1-pyh)

Author: rudyvogtCreated Apr 27, 2026Updated Aug 27, 2026
Labelsbug

What happened?

ran this command: conda install -c conda-forge cookiecutter=2.7.1

I am getting this error InvalidArchiveError on version 2.7.0 and 2.7.1 - but install perfect on 2.6.0 and 2.5.0 I have the latest version of miniconda. pip install cookiecutter==2.7.1, worked

conda install -c conda-forge cookiecutter=2.7.1 3 channel Terms of Service accepted Channels:

  • conda-forge
  • defaults Platform: win-64 Collecting package metadata (repodata.json): done Solving environment: done

Package Plan

environment location: D:\GisApps\MiniConda3\envs\arcgis-pro added / updated specs: - cookiecutter=2.7.1

The following packages will be downloaded:

package                          |            build
---------------------------|-----------------
cookiecutter-2.7.1           |     pyhcf101f3_0         111 KB  conda-forge
------------------------------------------------------------
                                       Total:         111 KB

The following packages will be UPDATED: cookiecutter 2.6.0-pyhd8ed1ab_1 --> 2.7.1-pyhcf101f3_0

Downloading and Extracting Packages: InvalidArchiveError("Error with archive M:\Resources\Python\pro35\py311\cookiecutter-2.7.1-pyh)`

Steps to reproduce

conda install -c conda-forge cookiecutter=2.7.1

Template

No response

Output / traceback

bash

Cookiecutter version

2.7.1

Python version

3.11

Operating system

Windows

How did you install Cookiecutter?

conda

Additional context

No response

Source: cookiecutter/cookiecutter