Upgrading to transformers 4.9.1?


I am trying to upgrade to the latest distribution of transformers (4.9.1 according to Release v4.9.1: Patch release · huggingface/transformers · GitHub).

I currently have the version 4.3.3 installed and it works fine. So, I downloaded the 4.9.1 zip file, extracted to a directory, cd to that directory and run python setup.py install.

The install went fine (except for the huggingface-hub requirement at the end — which is blocked by my firewall). However, when I start spyder again the version is still 4.3.3.

Am I doing something wrong to update the package offline (on windows)?

I was able to upgrade by using pip instead. Weird that the good old python setup.py install would not work in this case.