Title: ERROR: Failed building wheel for tinyobjloader - Trying to install Python bindings failed! · Issue #281 · tinyobjloader/tinyobjloader · GitHub
Open Graph Title: ERROR: Failed building wheel for tinyobjloader - Trying to install Python bindings failed! · Issue #281 · tinyobjloader/tinyobjloader
X Title: ERROR: Failed building wheel for tinyobjloader - Trying to install Python bindings failed! · Issue #281 · tinyobjloader/tinyobjloader
Description: Describe the issue I just tried to install the python bindings using PyPi with the command "pip install tinyobjloader". However, there seems to be a problem with a missing file "tiny_obj_loader.h": bindings.cc:10:10: fatal error: 'tiny_o...
Open Graph Description: Describe the issue I just tried to install the python bindings using PyPi with the command "pip install tinyobjloader". However, there seems to be a problem with a missing file "tiny_obj_loader.h":...
X Description: Describe the issue I just tried to install the python bindings using PyPi with the command "pip install tinyobjloader". However, there seems to be a problem with a missing file "tiny...
Opengraph URL: https://github.com/tinyobjloader/tinyobjloader/issues/281
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" ERROR: Failed building wheel for tinyobjloader - Trying to install Python bindings failed!","articleBody":"**Describe the issue**\r\nI just tried to install the python bindings using PyPi with the command \"pip install tinyobjloader\". However, there seems to be a problem with a missing file \"tiny_obj_loader.h\":\r\n\r\n``` log\r\n bindings.cc:10:10: fatal error: 'tiny_obj_loader.h' file not found\r\n #include \"tiny_obj_loader.h\"\r\n```\r\n\r\n**Environment**\r\n - current TinyObjLoader version\r\n - OS: macOS\r\n - Python: 3.8.5 in virtualenv\r\n - Environment: Visual Studio Code\r\n\r\nDoes anybody else have this problem? The whole log file looks like this:\r\n\r\n```log\r\npip install tinyobjloader\r\nCollecting tinyobjloader\r\n Downloading tinyobjloader-0.1.tar.gz (3.1 kB)\r\nBuilding wheels for collected packages: tinyobjloader\r\n Building wheel for tinyobjloader (setup.py) ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: '.../virtualenv/bin/python' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/setup.py'\"'\"'; __file__='\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/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 /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-wheel-lkgc0vyz\r\n cwd: /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/\r\n Complete output (12 lines):\r\n running bdist_wheel\r\n running build\r\n running build_ext\r\n building 'tinyobjloader' extension\r\n creating build\r\n creating build/temp.macosx-10.15-x86_64-3.8\r\n clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I../ -I../pybind11/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/.../virtualenv/include -I/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c bindings.cc -o build/temp.macosx-10.15-x86_64-3.8/bindings.o -std=c++11\r\n bindings.cc:10:10: fatal error: 'tiny_obj_loader.h' file not found\r\n #include \"tiny_obj_loader.h\"\r\n ^~~~~~~~~~~~~~~~~~~\r\n 1 error generated.\r\n error: command 'clang' failed with exit status 1\r\n ----------------------------------------\r\n ERROR: Failed building wheel for tinyobjloader\r\n Running setup.py clean for tinyobjloader\r\nFailed to build tinyobjloader\r\nDEPRECATION: Could not build wheels for tinyobjloader which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.\r\nInstalling collected packages: tinyobjloader\r\n Running setup.py install for tinyobjloader ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: '.../virtualenv/bin/python' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/setup.py'\"'\"'; __file__='\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-record-ptvilqp5/install-record.txt --single-version-externally-managed --compile --install-headers '.../virtualenv/include/site/python3.8/tinyobjloader'\r\n cwd: /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/\r\n Complete output (12 lines):\r\n running install\r\n running build\r\n running build_ext\r\n building 'tinyobjloader' extension\r\n creating build\r\n creating build/temp.macosx-10.15-x86_64-3.8\r\n clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I../ -I../pybind11/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/.../virtualenv/include -I/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c bindings.cc -o build/temp.macosx-10.15-x86_64-3.8/bindings.o -std=c++11\r\n bindings.cc:10:10: fatal error: 'tiny_obj_loader.h' file not found\r\n #include \"tiny_obj_loader.h\"\r\n ^~~~~~~~~~~~~~~~~~~\r\n 1 error generated.\r\n error: command 'clang' failed with exit status 1\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: '.../virtualenv/bin/python' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/setup.py'\"'\"'; __file__='\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-2vj753ms/tinyobjloader/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-record-ptvilqp5/install-record.txt --single-version-externally-managed --compile --install-headers '.../virtualenv/include/site/python3.8/tinyobjloader' Check the logs for full command output.\r\n```\r\n\r\nI updated and upgraded pip, but that didn't solve the issue:\r\n\r\n```log\r\n(virtualenv) (base) MBP: pip install pip --upgrade\r\nRequirement already up-to-date: pip in ./virtualenv/lib/python3.8/site-packages (20.2.2)\r\n(virtualenv) (base) MBP: pip install setuptools --upgrade \r\nCollecting setuptools\r\n Using cached setuptools-49.6.0-py3-none-any.whl (803 kB)\r\nInstalling collected packages: setuptools\r\n Attempting uninstall: setuptools\r\n Found existing installation: setuptools 49.2.1\r\n Uninstalling setuptools-49.2.1:\r\n Successfully uninstalled setuptools-49.2.1\r\nSuccessfully installed setuptools-49.6.0\r\n(virtualenv) (base) MBP: pip install tinyobjloader\r\nCollecting tinyobjloader\r\n Using cached tinyobjloader-0.1.tar.gz (3.1 kB)\r\nBuilding wheels for collected packages: tinyobjloader\r\n Building wheel for tinyobjloader (setup.py) ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: '.../virtualenv/bin/python' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/setup.py'\"'\"'; __file__='\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/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 /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-wheel-8eydjugw\r\n cwd: /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/\r\n Complete output (12 lines):\r\n running bdist_wheel\r\n running build\r\n running build_ext\r\n building 'tinyobjloader' extension\r\n creating build\r\n creating build/temp.macosx-10.15-x86_64-3.8\r\n clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I../ -I../pybind11/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/.../virtualenv/include -I/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c bindings.cc -o build/temp.macosx-10.15-x86_64-3.8/bindings.o -std=c++11\r\n bindings.cc:10:10: fatal error: 'tiny_obj_loader.h' file not found\r\n #include \"tiny_obj_loader.h\"\r\n ^~~~~~~~~~~~~~~~~~~\r\n 1 error generated.\r\n error: command 'clang' failed with exit status 1\r\n ----------------------------------------\r\n ERROR: Failed building wheel for tinyobjloader\r\n Running setup.py clean for tinyobjloader\r\nFailed to build tinyobjloader\r\nDEPRECATION: Could not build wheels for tinyobjloader which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.\r\nInstalling collected packages: tinyobjloader\r\n Running setup.py install for tinyobjloader ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: '.../virtualenv/bin/python' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/setup.py'\"'\"'; __file__='\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-record-ib010ohc/install-record.txt --single-version-externally-managed --compile --install-headers '.../virtualenv/include/site/python3.8/tinyobjloader'\r\n cwd: /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/\r\n Complete output (12 lines):\r\n running install\r\n running build\r\n running build_ext\r\n building 'tinyobjloader' extension\r\n creating build\r\n creating build/temp.macosx-10.15-x86_64-3.8\r\n clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I../ -I../pybind11/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/.../virtualenv/include -I/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c bindings.cc -o build/temp.macosx-10.15-x86_64-3.8/bindings.o -std=c++11\r\n bindings.cc:10:10: fatal error: 'tiny_obj_loader.h' file not found\r\n #include \"tiny_obj_loader.h\"\r\n ^~~~~~~~~~~~~~~~~~~\r\n 1 error generated.\r\n error: command 'clang' failed with exit status 1\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: '.../virtualenv/bin/python' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/setup.py'\"'\"'; __file__='\"'\"'/private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-install-m93xbcii/tinyobjloader/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /private/var/folders/5l/fz9zb8t97gd0lfys34g_5r040000gq/T/pip-record-ib010ohc/install-record.txt --single-version-externally-managed --compile --install-headers '.../virtualenv/include/site/python3.8/tinyobjloader' Check the logs for full command output.\r\n```\r\n\r\nThanks a lot in advance!","author":{"url":"https://github.com/Cocco17","@type":"Person","name":"Cocco17"},"datePublished":"2020-08-28T09:36:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/281/tinyobjloader/issues/281"}
| 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:a1e28dca-b0f5-e430-c73c-61534810e9c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAFE:368761:199C966:23E1271:6970DE0F |
| html-safe-nonce | 0e54f7f087ecf4af05ed2c3a0346fdbd3044e4c260f08fe62268ab7f9a377487 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUZFOjM2ODc2MToxOTlDOTY2OjIzRTEyNzE6Njk3MERFMEYiLCJ2aXNpdG9yX2lkIjoiNjkzOTk2Njc0MTcyMzI3NDc2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96d90e4f88053782ed9ad905f11ead695f70a6b931525893f9020dace212b57e |
| hovercard-subject-tag | issue:687946043 |
| 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/tinyobjloader/tinyobjloader/281/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad4c28143744058be176dfd0f5ff9f93dea690546cec0b5ca2b6dd6798551b35/tinyobjloader/tinyobjloader/issues/281 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad4c28143744058be176dfd0f5ff9f93dea690546cec0b5ca2b6dd6798551b35/tinyobjloader/tinyobjloader/issues/281 |
| og:image:alt | Describe the issue I just tried to install the python bindings using PyPi with the command "pip install tinyobjloader". However, there seems to be a problem with a missing file "tiny_obj_loader.h":... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Cocco17 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9203e7efc62065329c3b7015a1e6d16fc14bce440abec7b0d3cbe9e4fb1e2e4 |
| turbo-cache-control | no-preview |
| go-import | github.com/tinyobjloader/tinyobjloader git https://github.com/tinyobjloader/tinyobjloader.git |
| octolytics-dimension-user_id | 61176939 |
| octolytics-dimension-user_login | tinyobjloader |
| octolytics-dimension-repository_id | 5421296 |
| octolytics-dimension-repository_nwo | tinyobjloader/tinyobjloader |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5421296 |
| octolytics-dimension-repository_network_root_nwo | tinyobjloader/tinyobjloader |
| 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 | eb3c92b74ae48a78cffd8700b8eb5f60bad61528 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width