2021年1月28日星期四

Unable to downgrade version of Python package arrow

To temporary workaround a compatibility issue, I tried to downgrade version of Python package arrow from 0.17.0 to 0.13.2.

On a particular server I was unable to, as the below command calls to install 0.13.2 but ends up install back 0.17.0. If remove the virtual environment, and generate a new one and freshly install 0.13.2, it works OK.

I also tested on a virtual machine, and the downgrade works OK without this symptom.

I'm wondering why, and any inputs will be highly appreciated.

(venv3.7) [user@host freeze]$ pip install -I arrow==0.13.2  Collecting arrow==0.13.2    Using cached arrow-0.13.2-py2.py3-none-any.whl (37 kB)  Collecting python-dateutil    Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)  Collecting six>=1.5    Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)  Installing collected packages: six, python-dateutil, arrow  Successfully installed arrow-0.17.0 python-dateutil-2.8.1 six-1.15.0  (venv3.7) [user@host freeze]$  
https://stackoverflow.com/questions/65947674/unable-to-downgrade-version-of-python-package-arrow January 29, 2021 at 09:42AM

没有评论:

发表评论