You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/11/11 06:11:49 UTC

[GitHub] [pulsar] anand-ftc created a discussion: raspberry 3 - pulsar-client python

GitHub user anand-ftc created a discussion: raspberry 3 - pulsar-client python

I have tried to compile Python client for Raspberry 3 serveral times. But I have ended up not finding the correct dependencies. Can anyone provide me with the wheel file. I tried building with almost all blogs out there

thanks in advance

GitHub link: https://github.com/apache/pulsar/discussions/18423

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] tisonkun added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: raspberry 3 - pulsar-client python

Hi @anand-ftc! How did you try to compile it? With current information, I'd say `pip3 install pulsar-client` should work.

cc @BewareMyPower 

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4114262

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] yaalsn added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user yaalsn added a comment to the discussion: raspberry 3 - pulsar-client python

@anand-ftc Or you can switch to raspberry pi 4B, it's ARM64.

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4116409

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

> @anand-ftc There is no support for arm32 (`armv7l`) in PyPI and manylinux, so it would make it hard to distribute these wheel files.

@merlimat Is it possible to help build a arm32 wheel files so that we could manually deploy and install them.. thanks anyway

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4122121

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

@merlimat  pip3 debug returns error : unknown command "debug"

@merlimat yes you are correct .. its ARM32 

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4114682

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

@yaalsn We have several rpi3 out in the field in several places and we cannot upgrade them now. Thanks

@Demogorgon314  Our rpi runs softwares from multiple teams and changing the OS at this point might be little tricky. I will think of this option and take it up with others.. thanks

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4122116

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user anand-ftc added a comment to the discussion: raspberry 3 - pulsar-client python

@tisonkun I tried first compiling the cpp shared objects following https://github.com/apache/pulsar-client-cpp#compilation


Then followed the https://github.com/apache/pulsar-client-python to build the python client wheel files. this is where there are errors in finding the dependencies. 

> pi@raspberry:~/sources/pulsar/pulsar-client-cpp $ cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain-arm32.cmake -DCMAKE_FIND_ROOT_PATH=/usr/arm-linux-gnueabihf  .
> -- ARCHITECTURE: x86_64
> -- BUILD_DYNAMIC_LIB:  ON
> -- BUILD_STATIC_LIB:  ON
> -- BUILD_TESTS:  OFF
> -- BUILD_PYTHON_WRAPPER:  ON
> -- BUILD_WIRESHARK:  OFF
> -- BUILD_PERF_TOOLS:  OFF
> -- LINK_STATIC:  OFF
> -- USE_LOG4CXX:  OFF
> -- CMAKE_BUILD_TYPE:  RelWithDebInfo
> CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
>   Could NOT find Threads (missing: Threads_FOUND)
> Call Stack (most recent call first):
>   /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
>   /usr/share/cmake-3.7/Modules/FindThreads.cmake:212 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>   CMakeLists.txt:90 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/pi/sources/pulsar/pulsar-client-cpp/CMakeFiles/CMakeOutput.log".
> See also "/home/pi/sources/pulsar/pulsar-client-cpp/CMakeFiles/CMakeError.log".
> CMake Error: Unable to open check cache file for write. /home/pi/sources/pulsar/pulsar-client-cpp/CMakeFiles/cmake.check_cache
> 

@tisonkun I tried the pip3 install pulsar-client. It says the following

>  Could not find a version that satisfies the requirement pulsar-client (from versions: )
> No matching distribution found for pulsar-client

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4114571

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] merlimat added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user merlimat added a comment to the discussion: raspberry 3 - pulsar-client python

Oh, it's ARM32. We only have binaries for ARM64 so far.

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4114660

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] merlimat added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user merlimat added a comment to the discussion: raspberry 3 - pulsar-client python

@anand-ftc Which version of Python? 

Can you post the result of `pip3 debug --verbose`?

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4114655

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] Demogorgon314 added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user Demogorgon314 added a comment to the discussion: raspberry 3 - pulsar-client python

@anand-ftc  The raspberry 3 supports 64-bit OS, See https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit , can you switch the system to 64-bit?

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4116607

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] merlimat added a comment to the discussion: raspberry 3 - pulsar-client python

Posted by GitBox <gi...@apache.org>.
GitHub user merlimat added a comment to the discussion: raspberry 3 - pulsar-client python

@anand-ftc There is no support for arm32 (`armv7l`) in PyPI and manylinux, so it would make it hard to distribute these wheel files.

GitHub link: https://github.com/apache/pulsar/discussions/18423#discussioncomment-4121447

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org