Python Forum
Pandas + PIL on Linux (Python 32) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Pandas + PIL on Linux (Python 32) (/thread-36686.html)



Pandas + PIL on Linux (Python 32) - Clives - Mar-18-2022

Greetings,

The environment is Linux, Python 2.7 32-bit

I have to load a number of Python 2.7, 32 bit library files (.whl/.egg) on Linux.
I tried several files for Pandas, and Pillow, none would load.
pandas-0.20.2-cp27-cp27m-manylinux1_i686.whl
pandas-0.24.2-cp35-cp35-manylinux1_i686.whl

Any suggestions, which egg or whl to use, I would really appreciate it!

Thanks,
Clive
Update


RE: Pandas + PIL on Linux (Python 32) - snippsat - Mar-18-2022

(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()



RE: Pandas + PIL on Linux (Python 32) - Clives - Mar-25-2022

Hi Snipsat,
Thanks for your comments much appreciated.
I have tried a number of Pandas, the site is running Python 2.7, with no internet access.
The application will fall over if I use Python 3....

I tried installing the following, with no success, the whl is not supported on this platform!!
pandas-0.19.0
https://pypi.tuna.tsinghua.edu.cn/packages/33/a6/b8f695cd717bf41749dae34217791a3123be9fb612cefd07eb3b2efbf490/pandas-0.19.0-cp27-cp27mu-manylinux1_x86_64.whl#sha256=72fb2faad89fe1fa3b9387db900f5461b0813145526a4c90812984e796cf54c7

pandas-0.20.2
https://pypi.tuna.tsinghua.edu.cn/packages/d3/e2/aae1ea8214e4c74ae86d89996ead65514a1b0ded5152f19df1b8f6d93438/pandas-0.20.2-cp27-cp27mu-manylinux1_x86_64.whl#sha256=ceb8d90fa92f56a2b5a1ec1574eed06f645e2f65d0afc26eaacb28644fdb7bd5

pandas-0.23.0
https://pypi.tuna.tsinghua.edu.cn/packages/76/fa/3bb6b95bf389762c7690ffba2250b6a8a1cbcc321f8cfb864116c98df831/pandas-0.23.0-cp27-cp27mu-manylinux1_x86_64.whl#sha256=d5f72c8239e46cfcc363c7e532a474b7ea3d8892b7b6e5ec0da6b3ebae2a07d3

pandas-0.23.2
https://pypi.tuna.tsinghua.edu.cn/packages/09/21/f0fc0b6c40b9bca0ed6b61609d27f79cbae97542bbe49e5574f97cc46ad4/pandas-0.23.2-cp27-cp27mu-manylinux1_x86_64.whl#sha256=fcabd306fc340818bccd380cbfb4fcac46193030da5d42e63ab7c4275108ae02

pandas-0.23.4
https://pypi.tuna.tsinghua.edu.cn/packages/b7/e3/f52d484244105fa3d558ce8217a5190cd3d40536076bef66d92d01566325/pandas-0.23.4-cp27-cp27mu-manylinux1_x86_64.whl#sha256=be4715c9d8367e51dbe6bc6d05e205b1ae234f0dc5465931014aa1c4af44c1ba

pandas-0.24.0
https://pypi.tuna.tsinghua.edu.cn/packages/78/8c/ab02f368a41b5d5a901b186cdc33832752f32c8eb3276ce1127e6f72466f/pandas-0.24.0-cp27-cp27mu-manylinux1_x86_64.whl#sha256=5bded8cb431705609dbd9048114f1d6d59bef2f1ca95a8c58bd649442c9dc16c

pandas-0.24.1
https://pypi.tuna.tsinghua.edu.cn/packages/c5/88/b8659eecde0350d37d5b47c1c2a88f39e6153e5809bcfc48bb7fde6f231b/pandas-0.24.1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=aea72ce5b3a016b578cc05c04a2f68d9cafacf5d784b6fe832e66381cb62c719

pandas-0.24.2
https://pypi.tuna.tsinghua.edu.cn/packages/95/dd/295a1fa20c0d6207ba8df5c53c9c2340ca370f6a230b173c89c479761526/pandas-0.24.2-cp27-cp27mu-manylinux1_i686.whl#sha256=5149a6db3e74f23dc3f5a216c2c9ae2e12920aa2d4a5b77e44e5b804a5f93248


RE: Pandas + PIL on Linux (Python 32) - snippsat - Mar-25-2022

Quote:I tried installing the following, with no success, the whl is not supported on this platform!!
You most check pip version and OS platform.
Example for me.
tom@tom-VirtualBox:~$ pip --version
pip 19.2.3 from /home/tom/.pyenv/versions/2.7.18/lib/python2.7/site-packages/pip (python 2.7)
tom@tom-VirtualBox:~$ 
tom@tom-VirtualBox:~$ hostnamectl
   Static hostname: tom-VirtualBox
         Icon name: computer-vm
           Chassis: vm
        Machine ID: ef635a010d284bc38d762d2b9f0e65ac
           Boot ID: 09b7a30a6e2a47c58e2bf8b0244e16b8
    Virtualization: oracle
  Operating System: Linux Mint 19
            Kernel: Linux 4.15.0-32-generic
      Architecture: x86-64
So pip most of course point to Python 2.7(because that is what you say is installed).
As you see i have Architecture: x86-64,if you have 32-bit it will say Architecture: x86-32
So my version that work is,for you it can will different based on command showed.
pip install pandas-0.20.2-cp27-cp27mu-manylinux1_x86_64.whl