Skip to content

Compile errors when installing required module in opennao VM and NAO Robot OS (based on Gentoo OS) #723

Closed
@chan71

Description

@chan71

In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/grpc/requirements.txt

Did you change the file? If so, how?

No

Describe the issue

In order to run transcribe_streaming.py, I had to install the following modules among other things as per requirements.txt
grpcio==1.0.3
grpc-google-cloud-speech-v1beta1==0.11.1

When tried to install these on opennao vm (GNU/Linux distribution based on Gentoo), compiler errors were noted.
CompileError: command 'i686-pc-linux-gnu-gcc' failed with exist status 1

What could be the reason for above modules not getting installed in opennao vm.

More observations

  1. pip.log says
  • pip.log.grpcio at line 2077 shows termination due to stdalign.h

grpcio-failed

  • pip.log.grpc-google-cloud-speech-v1beta1 at line 1781 shows termination due to stdalign.h

grpc-issue

  • Both module or package terminated due to stdalign.h
  1. Installation Steps in OpenNaoVM:
    a. Install portaudio using emerge - OK
    b. Install pyaudio using emerge - OK
    c. Install package as per requirements.txt
    - google-cloud-core==0.22.1 - OK
    - grpcio==1.0.3 - FAIL
    - PyAudio==0.2.9 - OK
    - grpc-google-cloud-speech-v1beta1==0.11.1 - FAIL
    - six==1.10.0 - OK
    d. python transcribe_streaming.py – Throws an error

  2. We used the OpenNao VM that define in this URL http://doc.aldebaran.com/1-14/dev/tools/vm-intro.html. We saw “binaries are built for i486 targets” in the snapshot as below but OS is i686. Not sure this cause the error.

opennao-vm

opennao-vm-machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions