René's URL Explorer Experiment


Title: Unable to install required packages in NAO Robot (based on Gentoo OS) · Issue #728 · GoogleCloudPlatform/python-docs-samples · GitHub

Open Graph Title: Unable to install required packages in NAO Robot (based on Gentoo OS) · Issue #728 · GoogleCloudPlatform/python-docs-samples

X Title: Unable to install required packages in NAO Robot (based on Gentoo OS) · Issue #728 · GoogleCloudPlatform/python-docs-samples

Description: 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 This is a sequel of the issues #723...

Open Graph Description: 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 i...

X Description: 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 i...

Opengraph URL: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/728

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to install required packages in NAO Robot (based on Gentoo OS)","articleBody":"## In which file did you encounter the issue?\r\nhttps://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/grpc/requirements.txt\r\n\r\n### Did you change the file? If so, how?\r\nNo\r\n\r\n## Describe the issue\r\n\r\nThis is a sequel of the issues #723 that was closed 2 days back. I could have added this under same issue had it not been closed as both issues are related. #723 is about compiler errors occurred during running `pip install -r requirements.txt`.\r\n\r\nThis issue is about what we have observed when the requirements were installed in NAO Robot. We got into few issues as `emerge` package manager is not available in the NAO OS (supposed to be similar to opennao VM). \r\n\r\nThese are the steps followed in the installation.\r\n1. Check `pip `version =9.0.1 - OK\r\n2. Install `virtualenv `- OK\r\n3. Install `portaudio `using `emerge `– **Fail as emerge is not available in usr/bin**\r\n4. Install `pyaudio `using `emerge `– Not Started yet\r\n5. Install package as per requirements.txt\r\n        `grpcio==1.0.4` – Not Started yet\r\n        `PyAudio==0.2.9` – Not Started yet\r\n        `grpc-google-cloud-speech-v1beta1==0.14.0` – Not Started yet\r\n        `six==1.10.0` – Not Started yet\r\n        `requests==2.12.4` – Not Started yet\r\n        `google-auth==0.5.0` – Not Started yet\r\n6. `python transcribe_streaming.py` – Not Started yet.\r\n\r\nThen we copied the `portaudio `library (portaudio-19_pre20071207.tbz2) from opennao vm to Robot and ran `pip install`.\r\n\r\n```\r\n(env) nao [0] ~/googlespeech $ pip install -r requirements.txt\r\nCollecting PyAudio==0.2.9 (from -r requirements.txt (line 2))\r\n/var/persistent/home/nao/googlespeech/env/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.\r\n  SNIMissingWarning\r\n/var/persistent/home/nao/googlespeech/env/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.\r\n  InsecurePlatformWarning\r\n  Using cached PyAudio-0.2.9.tar.gz\r\nBuilding wheels for collected packages: PyAudio\r\n  Running setup.py bdist_wheel for PyAudio ... error\r\n  Complete output from command /var/persistent/home/nao/googlespeech/env/bin/python2.7 -u -c \"import setuptools, tokenize;__file__='/var/volatile/tmp/pip-build-SqC1D8/PyAudio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" bdist_wheel -d /tmp/tmp4BLE1Upip-wheel- --python-tag cp27:\r\n  running bdist_wheel\r\n  running build\r\n  running build_py\r\n  creating build\r\n  creating build/lib.linux-i686-2.7\r\n  copying src/pyaudio.py -\u003e build/lib.linux-i686-2.7\r\n  running build_ext\r\n  building '_portaudio' extension\r\n  creating build/temp.linux-i686-2.7\r\n  creating build/temp.linux-i686-2.7/src\r\n  i686-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-i686-2.7/src/_portaudiomodule.o\r\n  unable to execute i686-pc-linux-gnu-gcc: No such file or directory\r\n  error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1\r\n\r\n  ----------------------------------------\r\n  Failed building wheel for PyAudio\r\n  Running setup.py clean for PyAudio\r\nFailed to build PyAudio\r\nInstalling collected packages: PyAudio\r\n  Running setup.py install for PyAudio ... error\r\n    Complete output from command /var/persistent/home/nao/googlespeech/env/bin/python2.7 -u -c \"import setuptools, tokenize;__file__='/var/volatile/tmp/pip-build-SqC1D8/PyAudio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-dluM0A-record/install-record.txt --single-version-externally-managed --compile --install-headers /var/persistent/home/nao/googlespeech/env/include/site/python2.7/PyAudio:\r\n    running install\r\n    running build\r\n    running build_py\r\n    creating build\r\n    creating build/lib.linux-i686-2.7\r\n    copying src/pyaudio.py -\u003e build/lib.linux-i686-2.7\r\n    running build_ext\r\n    building '_portaudio' extension\r\n    creating build/temp.linux-i686-2.7\r\n    creating build/temp.linux-i686-2.7/src\r\n    i686-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-i686-2.7/src/_portaudiomodule.o\r\n    unable to execute i686-pc-linux-gnu-gcc: No such file or directory\r\n    error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1\r\n\r\n    ----------------------------------------\r\nCommand \"/var/persistent/home/nao/googlespeech/env/bin/python2.7 -u -c \"import setuptools, tokenize;__file__='/var/volatile/tmp/pip-build-SqC1D8/PyAudio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-dluM0A-record/install-record.txt --single-version-externally-managed --compile --install-headers /var/persistent/home/nao/googlespeech/env/include/site/python2.7/PyAudio\" failed with error code 1 in /var/volatile/tmp/pip-build-SqC1D8/PyAudio/\r\n\r\n```\r\n\r\nIgnoring this error (should not have been done) we ran the `python transcribe_streaming.py` and ended up getting below error.\r\n![stream-callback-error](https://cloud.githubusercontent.com/assets/5590751/21283148/c69f96ba-c423-11e6-9008-60042188033a.png)\r\n\r\nWe checked if `PyAudio `version is correct using `pip freeze` and found the following packages present in Robot.\r\n\r\n```\r\n(env) nao [err 1] ~/googlespeech $ pip freeze\r\nenum34==1.1.6\r\nfutures==3.0.5\r\ngoogle-auth==0.5.0\r\ngoogleapis-common-protos==1.5.0\r\ngrpc-google-cloud-speech-v1beta1==0.14.0\r\ngrpcio==1.0.4\r\nhttplib2==0.9.2\r\noauth2client==3.0.0\r\nprotobuf==3.1.0.post1\r\npyasn1==0.1.9\r\npyasn1-modules==0.0.8\r\nrequests==2.12.4\r\nrsa==3.4.2\r\nsix==1.10.0\r\n```\r\n\r\nMy question is how to run `pip install -r requirements.txt` without an error so that PyAudio is installed properly. And I hope it will solve this issue. Appreciate any support. \r\n\r\n","author":{"url":"https://github.com/chan71","@type":"Person","name":"chan71"},"datePublished":"2016-12-18T05:23:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/728/python-docs-samples/issues/728"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bd5abc67-52ca-64ff-1047-5e2e20153d27
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9852:1F08:895C2F:BD658A:6A4D73DE
html-safe-noncee8426858871295ca4bad8f47a10fa7c60ec38e1072117588f4bbbd8a6015bb80
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODUyOjFGMDg6ODk1QzJGOkJENjU4QTo2QTRENzNERSIsInZpc2l0b3JfaWQiOiI2NjI4MzI5OTU3NzU4OTU2NTEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb08305407b80a6bddc6aa1789057ce2005b6d4f15f183137b262bc3ddcd02094
hovercard-subject-tagissue:196258881
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GoogleCloudPlatform/python-docs-samples/728/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4a5cffb63c086a2348c9fab974fb9d2056a4fd972db96f74b9bcb7f16ba60c6a/GoogleCloudPlatform/python-docs-samples/issues/728
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4a5cffb63c086a2348c9fab974fb9d2056a4fd972db96f74b9bcb7f16ba60c6a/GoogleCloudPlatform/python-docs-samples/issues/728
og:image:altIn 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 i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechan71
hostnamegithub.com
expected-hostnamegithub.com
Nonec78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e
turbo-cache-controlno-preview
go-importgithub.com/GoogleCloudPlatform/python-docs-samples git https://github.com/GoogleCloudPlatform/python-docs-samples.git
octolytics-dimension-user_id2810941
octolytics-dimension-user_loginGoogleCloudPlatform
octolytics-dimension-repository_id35065876
octolytics-dimension-repository_nwoGoogleCloudPlatform/python-docs-samples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id35065876
octolytics-dimension-repository_network_root_nwoGoogleCloudPlatform/python-docs-samples
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release399fff412f48461d435721c009efc17ea44be72f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/GoogleCloudPlatform/python-docs-samples/issues/728#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGoogleCloudPlatform%2Fpython-docs-samples%2Fissues%2F728
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGoogleCloudPlatform%2Fpython-docs-samples%2Fissues%2F728
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=GoogleCloudPlatform%2Fpython-docs-samples
Reloadhttps://github.com/GoogleCloudPlatform/python-docs-samples/issues/728
Reloadhttps://github.com/GoogleCloudPlatform/python-docs-samples/issues/728
Reloadhttps://github.com/GoogleCloudPlatform/python-docs-samples/issues/728
Please reload this pagehttps://github.com/GoogleCloudPlatform/python-docs-samples/issues/728
GoogleCloudPlatform https://github.com/GoogleCloudPlatform
python-docs-sampleshttps://github.com/GoogleCloudPlatform/python-docs-samples
Notifications https://github.com/login?return_to=%2FGoogleCloudPlatform%2Fpython-docs-samples
Fork 6.7k https://github.com/login?return_to=%2FGoogleCloudPlatform%2Fpython-docs-samples
Star 8.1k https://github.com/login?return_to=%2FGoogleCloudPlatform%2Fpython-docs-samples
Code https://github.com/GoogleCloudPlatform/python-docs-samples
Issues 55 https://github.com/GoogleCloudPlatform/python-docs-samples/issues
Pull requests 251 https://github.com/GoogleCloudPlatform/python-docs-samples/pulls
Actions https://github.com/GoogleCloudPlatform/python-docs-samples/actions
Wiki https://github.com/GoogleCloudPlatform/python-docs-samples/wiki
Security and quality 0 https://github.com/GoogleCloudPlatform/python-docs-samples/security
Insights https://github.com/GoogleCloudPlatform/python-docs-samples/pulse
Code https://github.com/GoogleCloudPlatform/python-docs-samples
Issues https://github.com/GoogleCloudPlatform/python-docs-samples/issues
Pull requests https://github.com/GoogleCloudPlatform/python-docs-samples/pulls
Actions https://github.com/GoogleCloudPlatform/python-docs-samples/actions
Wiki https://github.com/GoogleCloudPlatform/python-docs-samples/wiki
Security and quality https://github.com/GoogleCloudPlatform/python-docs-samples/security
Insights https://github.com/GoogleCloudPlatform/python-docs-samples/pulse
Unable to install required packages in NAO Robot (based on Gentoo OS)https://github.com/GoogleCloudPlatform/python-docs-samples/issues/728#top
https://github.com/chan71
chan71https://github.com/chan71
on Dec 18, 2016https://github.com/GoogleCloudPlatform/python-docs-samples/issues/728#issue-196258881
https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/grpc/requirements.txthttps://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/grpc/requirements.txt
#723https://github.com/GoogleCloudPlatform/python-docs-samples/issues/723
#723https://github.com/GoogleCloudPlatform/python-docs-samples/issues/723
https://cloud.githubusercontent.com/assets/5590751/21283148/c69f96ba-c423-11e6-9008-60042188033a.png
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.