Reputation: 9568
I am trying to follow the steps at this article https://ruvi-d.medium.com/getting-zbarlight-to-work-on-windows-a3dc643dba18
At step 3 I got this desription
Apply this patch https://bugs.python.org/file40608/patch.diff to the cygwinccompiler.py file in the same folder
How to apply this patch? I have no idea how to perform such a step
Upvotes: 0
Views: 346
Reputation: 26
From the steps indicated I think you should open your terminal and follow theses steps :
cd <your_python_path>\Lib\distutils
.cygwinccompiler.py
is supposed to be present, the patch is supposed to be applied on it.patch.diff
(for reminder here is its link https://bugs.python.org/file40608/patch.diff).pip install patch
python -m patch patch.diff
Since the name of the file to patch is present in patch.diff
you do not have to precise the destination file.
Upvotes: 1