I'm trying to install Python Pandas on my Raspi and I'm finding strange errors.
and then more errors warnings for a long time. It never actually fails, but doesn't complete either in over half an hour. What is going on here and how do I fix it? Edited to add I have tried the alternative route of I'd been searching for the same thing: a way to "install" the current version of pandas on a Raspberry Pi 3. Using apt-get to install it on the RPi pulls an outdated version of pandas from the Raspbian repository. On GitHub. I found two solutions for installing the current version of pandas (and Python/packages in general) on the RPi 3: one solution involves building and installing pandas directly on the Raspberry Pi, and the other solution involves installing a current Raspberry Pi version of conda (called BerryConda) on the Raspberry Pi and then downloading the current version of pandas as an RPi package from the Anaconda Cloud. Solution 1: User kleinee on GitHub has created a script that will create a Jupyter notebook server on Raspberry Pi 2 and/or 3. Although, the intent of the script is to create a Jupyter notebook server, it can be modified easily to install only the current version of pandas on the RPi. The script starts by downloading the most recent version of Python 3 (currently, 3.6.1), setting it up and installing it on the RPi. The script then goes on to download other parts of what he calls a "scientific stack," which includes the current version of pandas. He also provides another script that will check for updates to installed Python packages and automatically update them, as necessary. You can run the entire script as is (to install current versions of Python, jupyter, pandas, numpy, scipy, matplotlib, etc.) or you can edit the script to install only the current version of pandas. I ran the script "as is" yesterday and it took about 4 hours to install Python and the included "stack" (to include pandas) on my RPi 3. The advantage to this solution is that you are downloading the current version of Python and packages directly from the source, so you will always get the most recent version. The disadvantage is that you have to "build" them locally on the RPi, which will take time (4 hours, in my case, for about a dozen packages, including Python itself). Solution 2: User jjhelmus has created "BerryConda," a current RPi version of conda. He has also created Python packages (including the current version of pandas) that he makes available on the RPi channel at Anaconda Cloud. Using this solution, you can install the current version of pandas using BerryConda without having to compile it, like you do in solution 1. The advantage to this solution is that you do not have to compile anything locally, so setup is much faster. A possible disadvantage is that BerryConda and the associated packages are built and maintained by someone not associated with Anaconda or Continuum Analytics who may or may not continue to do so in the future. Although, the BerryConda packages are currently up-to-date, there's no guarantee that will be the case going forward. Christian63Posts: 2Joined: Sat Apr 03, 2021 7:47 am Python-pandas in DebianHi, joelostinspacePosts: 142Joined: Sat Aug 10, 2019 2:51 pmLocation: Earth Re: Python-pandas in DebianSat Apr 03, 2021 5:03 pm
try:
Christian63Posts: 2Joined: Sat Apr 03, 2021 7:47 am Re: Python-pandas in DebianSat Apr 03, 2021 7:27 pm This is something I had already tried several times, but I tried it again once more. This time I left it running after 10 minutes, even though the terminal seemed to be stuck on a message. When I returned after one hour, it showed that installation had been successful. I had just been too impatient, my bad... Thanks. Return to “Python” |