Title: Installation fail? · Issue #1 · UsingNet/nvcodec-python · GitHub
Open Graph Title: Installation fail? · Issue #1 · UsingNet/nvcodec-python
X Title: Installation fail? · Issue #1 · UsingNet/nvcodec-python
Description: Hi, I am trying to install nvcodec-python using pip3 install pynvcodec but getting follow error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip...
Open Graph Description: Hi, I am trying to install nvcodec-python using pip3 install pynvcodec but getting follow error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptool...
X Description: Hi, I am trying to install nvcodec-python using pip3 install pynvcodec but getting follow error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setup...
Opengraph URL: https://github.com/UsingNet/nvcodec-python/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Installation fail?","articleBody":"Hi, \r\nI am trying to install nvcodec-python using pip3 install pynvcodec\r\nbut getting follow error \r\n\r\n```\r\nERROR: Command errored out with exit status 1:\r\n command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/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/pip-wheel-brzhijz7\r\n cwd: /tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/\r\n Complete output (18 lines):\r\n running bdist_wheel\r\n running build\r\n running build_ext\r\n mkdir -p build/tests\r\n mkdir -p build/lib\r\n nvcc -DCUDNN --compiler-options \"-fPIC -lstdc++ -pthread -lm\" -c src/cuvid/Utils/ColorSpace.cu -o build/lib/libcolor_space.a\r\n building 'nvcodec' extension\r\n creating build/temp.linux-x86_64-3.6\r\n creating build/temp.linux-x86_64-3.6/src\r\n creating build/temp.linux-x86_64-3.6/src/cuvid\r\n creating build/temp.linux-x86_64-3.6/src/cuvid/NvDecoder\r\n creating build/temp.linux-x86_64-3.6/src/cuvid/NvEncoder\r\n x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/usr/include/python3.6m -c nvcodec-python.cpp -o build/temp.linux-x86_64-3.6/nvcodec-python.o\r\n nvcodec-python.cpp:9:10: fatal error: numpy/arrayobject.h: No existe el archivo o el directorio\r\n #include \u003cnumpy/arrayobject.h\u003e\r\n ^~~~~~~~~~~~~~~~~~~~~\r\n compilation terminated.\r\n error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n ----------------------------------------\r\n ERROR: Failed building wheel for pynvcodec\r\n Running setup.py clean for pynvcodec\r\nFailed to build pynvcodec\r\nInstalling collected packages: pynvcodec\r\n Running setup.py install for pynvcodec ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/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-record-xzsy4hlb/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/pynvcodec\r\n cwd: /tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/\r\n Complete output (18 lines):\r\n running install\r\n running build\r\n running build_ext\r\n mkdir -p build/tests\r\n mkdir -p build/lib\r\n nvcc -DCUDNN --compiler-options \"-fPIC -lstdc++ -pthread -lm\" -c src/cuvid/Utils/ColorSpace.cu -o build/lib/libcolor_space.a\r\n building 'nvcodec' extension\r\n creating build/temp.linux-x86_64-3.6\r\n creating build/temp.linux-x86_64-3.6/src\r\n creating build/temp.linux-x86_64-3.6/src/cuvid\r\n creating build/temp.linux-x86_64-3.6/src/cuvid/NvDecoder\r\n creating build/temp.linux-x86_64-3.6/src/cuvid/NvEncoder\r\n x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/usr/include/python3.6m -c nvcodec-python.cpp -o build/temp.linux-x86_64-3.6/nvcodec-python.o\r\n nvcodec-python.cpp:9:10: fatal error: numpy/arrayobject.h: No existe el archivo o el directorio\r\n #include \u003cnumpy/arrayobject.h\u003e\r\n ^~~~~~~~~~~~~~~~~~~~~\r\n compilation terminated.\r\n error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-_6qoob7a/pynvcodec_f921b7bb823244d4a8992d6bfb54d1dc/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-record-xzsy4hlb/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/pynvcodec Check the logs for full command output.\r\n\r\n```\r\n\r\nI am using Ubuntu 18.04, with python 3.6 and cuda version of 11.1, with Tesla V4 GPUs. \r\n","author":{"url":"https://github.com/rizwanishaq","@type":"Person","name":"rizwanishaq"},"datePublished":"2021-04-12T07:09:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1/nvcodec-python/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2480445b-2bc1-bdc6-3f4e-aef7661973d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B5A:86A71:73EBEF:907971:69913CE5 |
| html-safe-nonce | c26d13590eea6d171960c58278f0bc290f20674a1124ab3e303677a96eda6f23 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjVBOjg2QTcxOjczRUJFRjo5MDc5NzE6Njk5MTNDRTUiLCJ2aXNpdG9yX2lkIjoiODQzMTMzOTA0ODAxMDg1NzcwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 067d70235ad870661e2173256380984790fbeea39c8e89df722b05fd9124457a |
| hovercard-subject-tag | issue:855632643 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UsingNet/nvcodec-python/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5facb83412bc46dad1240b18188360679dd15279b5d88985d6eb4a5d0ff8c511/UsingNet/nvcodec-python/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5facb83412bc46dad1240b18188360679dd15279b5d88985d6eb4a5d0ff8c511/UsingNet/nvcodec-python/issues/1 |
| og:image:alt | Hi, I am trying to install nvcodec-python using pip3 install pynvcodec but getting follow error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptool... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rizwanishaq |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/UsingNet/nvcodec-python git https://github.com/UsingNet/nvcodec-python.git |
| octolytics-dimension-user_id | 23328403 |
| octolytics-dimension-user_login | UsingNet |
| octolytics-dimension-repository_id | 355603481 |
| octolytics-dimension-repository_nwo | UsingNet/nvcodec-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 355603481 |
| octolytics-dimension-repository_network_root_nwo | UsingNet/nvcodec-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width