question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pandas installation on arm - Beaglebone Black

See original GitHub issue

Code Sample, a copy-pastable example if possible

No code since no install

Problem description

I am trying to install pandas on an Beaglebone Black ( Kernel: Linux 4.9.45-ti-r57 & Operating System: Debian GNU/Linux 9 (stretch)). I tried with python2.7 and python3.5.3 with the following install command:

  • pip install pandas (pip 9.0.1) or pip install pandas --no-build-isolation (pip 10.0.1) as suggested in #20775 , but 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 hours (at least 16h), 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?

Expected Output

cannot import module since I cannot install it

Thanks guys, Pierrick

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
PierrickRaubycommented, Jun 8, 2018

I am reopenning this it to share a solution/work around that, even if not perfect, seems to work.

Using miniconda like explained in this post and then conda install pandas does the trick.

Unfortunately it only installs pandas 0.16.2, but it’s enough for my purpose. (BTW I am using Debian 9.3 2018-03-05 4GB SD IoT non graphic image)

Finally, I can confirm that it does not seems to be pandas related, I had the exact same issue with sklearn (again miniconda does the trick version 0.16.1). I’ll try to understand what is the problem in the coming weeks/months

Thanks for your help !

1reaction
gfyoungcommented, Jun 6, 2018

@PierrickRauby

Do you know how can I allocate more memory to GCC?

Try this: https://stackoverflow.com/questions/11289002/gcc-cc1-out-of-memory-allocating

And I do not know how to install a “not installable” dependency

Hmmm…yeah…this is an ugly problem indicating something really went wrong with package installation. You might want to start here:

https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python pandas install on Beaglebone Black - Google Groups
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...
Read more >
Beaglebone Black LESSON 3: Running Python on ... - YouTube
This lesson shows you how to edit and run python programs on your Beaglebone Black.
Read more >
Getting Started - BeagleBoard | How do I start using my board?
1 Download the latest software image. Download the lastest Debian image from beagleboard.org/latest-images. · 2 Download and install balenaEtcher. Download ...
Read more >
Architectures/ARM/F20/Installation - Fedora Project Wiki
Support for the BeagleBone Black has been added in Fedora 20. The GA release includes basic support which will be extended to include...
Read more >
How to Make First Python Program with Beaglebone Black ...
If python is not installed, install from debian repository by entering the following command. Before entering the command, make sure that BBB has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found