(Mar-18-2022, 11:11 AM)Clives Wrote: The environment is Linux, Python 2.7 32-bit
Why are still doing stuff with Python 2.7,January 1, 2020 was the end of it's lifeđź’€
Quote:Any suggestions, which egg or whl to use, I would really appreciate it
If still want do it here are
links
So can do quick test as i use
pyenv and go back easy to any version.
tom@tom-VirtualBox:~$ pyenv global 2.7.18
tom@tom-VirtualBox:~/Downloads$ python --version
Python 2.7.18
So now i have python 2.7 and platform is Mint 64-bit
Then can as example i can use this wheel
pandas-0.20.2-cp27-cp27mu-manylinux1_x86_64.whl
see that i need to use
cp27mu
and not
cp27m
.
# Install
tom@tom-VirtualBox:~/Downloads$ pip install pandas-0.20.2-cp27-cp27mu-manylinux1_x86_64.whl
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing ./pandas-0.20.2-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pytz>=2011k (from pandas==0.20.2)
Using cached https://files.pythonhosted.org/packages/d3/e3/d9f046b5d1c94a3aeab15f1f867aa414f8ee9d196fae6865f1d6a0ee1a0b/pytz-2021.3-py2.py3-none-any.whl
Requirement already satisfied: numpy>=1.7.0 in /home/tom/.local/lib/python2.7/site-packages (from pandas==0.20.2) (1.15.2)
Collecting python-dateutil (from pandas==0.20.2)
Using cached https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl
Collecting six>=1.5 (from python-dateutil->pandas==0.20.2)
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Installing collected packages: pytz, six, python-dateutil, pandas
Successfully installed pandas-0.20.2 python-dateutil-2.8.2 pytz-2021.3 six-1.16.0
# Test that it works
tom@tom-VirtualBox:~/Downloads$ python
Python 2.7.18 (default, Mar 18 2022, 14:15:22)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
>>>
>>> pandas.__version__
u'0.20.2'
>>> exit()