Python pandas install on Beaglebone Black

535 views
Skip to first unread message

pierric...@gadz.org

unread,
May 31, 2018, 6:45:18 PM5/31/18
to BeagleBoard
Hi all,
I am trying to install the python library pandas on the beaglebone black with out success. I am running 4.9.45-ti-r5 on the wifi version.
I tried with python2.7 and python3.5.3 with the following install command:
  • pip install pandas  (for python2.7)  or pip3 install pandas (for python3.5) in both cases the result is :
Collecting pandas
  Downloading https://files.pythonhosted.org/packages/45/12/1e1ba99fb65df9f7f3724d3232feef35cc044d18604d57492d561e90219f/pandas-0.23.0.tar.gz (13.1MB)
    100% |████████████████████████████████| 13.1MB 9.1kB/s
Requirement already satisfied: numpy>=1.9.0 in /usr/lib/python3/dist-packages (from pandas)
Collecting python-dateutil>=2.5.0 (from pandas)
  Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB)
    100% |████████████████████████████████| 215kB 405kB/s
Collecting pytz>=2011k (from pandas)
  Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl (510kB)
    100% |████████████████████████████████| 512kB 214kB/s
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.5.0->pandas)
Building wheels for collected packages: pandas
  Running setup.py bdist_wheel for pandas ... |

But then it keeps running setup.py for at least 2 hours, then I interrupted the process

  • apt-get install python3-pandas (for python 3) and the result is the following:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-pandas : Depends: python3-pandas-lib (>= 0.19.2-5.1) but it is not installable
                  Recommends: python3-scipy but it is not going to be installed
                  Recommends: python3-matplotlib but it is not going to be installed
                  Recommends: python3-numexpr but it is not going to be installed
                  Recommends: python3-tables but it is not going to be installed
                  Recommends: python3-bs4 but it is not going to be installed
                  Recommends: python3-html5lib but it is not going to be installed
                  Recommends: python3-lxml but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

And I do not know how to install a "not installable" dependency

I know that it is doable thanks to this wiki buy Mark A. Yoder but I am not successful yet, can anyone help me on this?
Thanks

Pierrick

redu...@gmail.com

unread,
Jun 8, 2018, 6:06:14 AM6/8/18
to BeagleBoard
Sir, I have problem same as you...
Do you have solutions for this?
thanks a lot.

pierric...@gadz.org

unread,
Jun 8, 2018, 9:41:53 AM6/8/18
to BeagleBoard
Hi,
Yes I found a solution yesterday, using this image Debian 9.3 2018-03-05 4GB SD IoT
I used this post to install miniconda on the beaglebone :
Then `conda install pandas` installs pandas version 0.16.2 which is quite old but its enough for my application

Thanks
Pierrick
Reply all
Reply to author
Forward
0 new messages