python-seabreeze icon indicating copy to clipboard operation
python-seabreeze copied to clipboard

Raspberry PI 1 (armv6l) conda modules missing

Open Pramuspl opened this issue 7 years ago • 8 comments

I tried to install pyseabreeze using Miniconda (full Anaconda is not available for Raspberry Pi) but I can never get past conda install -c poehlmann python-seabreeze - it says theres no such package.

I'm running Raspbian on Raspberry Pi B+, Python 2.7.

Pramuspl avatar May 22 '17 13:05 Pramuspl

Hi Pramuspl,

I now made prebuilt packages for Raspberry PI 2&3 for conda (armv7l).

And just now I saw, that you have a Raspberry Pi 1 (armv6l)... If you need me to build armv6l packages, donate 44.99Eur so that I can order a PI B+ kit and ship armv6l in the future too.

I'll leave this open in case someone else needs armv6l too.

ap-- avatar May 27 '17 16:05 ap--

I went the hard (not recommended) way and it worked.

Pramuspl avatar Jun 02 '17 15:06 Pramuspl

'conda install -c poehlmann python-seabreeze' does not work. The package is located in the User Channel. Instead, try:

conda install --channel https://conda.anaconda.org/poehlmann python-seabreeze

This worked for me (June 20, 2017) on a Beaglebone Black Wireless running Debian Jessie (which is similar to Raspbian on the Raspberry Pi 3B), running Berryconda3 and conda 4.3.22-py35_0 (the current update).

Nice work on this Mr. Poehlmann.

otwill avatar Jun 20 '17 15:06 otwill

@alantate thanks!

ap-- avatar Jun 21 '17 06:06 ap--

@ap-- I got a raspberry pie 1 and I'd like to try building a conda package for it. Could you please share the recipe you used for armv7l?

vxgmichel avatar Aug 07 '17 11:08 vxgmichel

@vxgmichel here you are: https://github.com/ap--/python-seabreeze-feedstock/tree/master/recipe

ap-- avatar Aug 07 '17 11:08 ap--

@ap-- Thanks! Also I just remembered the recipe is actually included in the package.

By the way, I noticed two differences between the recipe from the repo and the one from the package:

diff --git a/recipe/build.sh b/recipe/build.sh
index 8ca252b..715e3b1 100644
--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -6,7 +6,7 @@ if [ "$(uname)" == "Darwin" ]; then
 elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
     echo "Platform: Linux"
     # we need libusb headers on circleci
-    yum install -y libusb-devel
+    # yum install -y libusb-devel
     make logger=0 lib/libseabreeze${SHLIB_EXT}
 fi
 cd ../../..
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 2d502b9..6e44353 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -16,7 +16,6 @@ requirements:
   build:
     - python
     - setuptools
-    - toolchain
     - cython
   run:
     - python

Maybe this should appear in another branch?

vxgmichel avatar Aug 07 '17 11:08 vxgmichel

Oh, yes. The recipe in the repository was written for conda-forge which is using circle-ci for compiling the linux packages. I compiled the armv7 package on raspbian (which is why yum is not there, and the toolchain dependency makes no sense).

ap-- avatar Aug 07 '17 12:08 ap--