Guest User

pip3 install metawear

a guest
Dec 15th, 2020
10
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Collecting metawear
  2. Downloading https://files.pythonhosted.org/packages/f0/f2/804d95c4adffb09cafc2bd388b1c5e92c1936a20cdd486d348f5024d3ac0/metawear-0.7.0.tar.gz (330kB)
  3. 100% |████████████████████████████████| 337kB 1.4MB/s
  4. Collecting requests (from metawear)
  5. Downloading https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61kB)
  6. 100% |████████████████████████████████| 61kB 2.3MB/s
  7. Collecting warble<2.0,>=1.1 (from metawear)
  8. Downloading https://files.pythonhosted.org/packages/5e/ac/56e3b66c494c367de6ac2a78524e67dc536b16352350e35565955a799464/warble-1.2.0.tar.gz (1.7MB)
  9. 100% |████████████████████████████████| 1.7MB 343kB/s
  10. Collecting idna<3,>=2.5 (from requests->metawear)
  11. Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
  12. 100% |████████████████████████████████| 61kB 3.5MB/s
  13. Collecting urllib3<1.27,>=1.21.1 (from requests->metawear)
  14. Downloading https://files.pythonhosted.org/packages/f5/71/45d36a8df68f3ebb098d6861b2c017f3d094538c0fb98fa61d4dc43e69b9/urllib3-1.26.2-py2.py3-none-any.whl (136kB)
  15. 100% |████████████████████████████████| 143kB 2.7MB/s
  16. Collecting certifi>=2017.4.17 (from requests->metawear)
  17. Downloading https://files.pythonhosted.org/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl (147kB)
  18. 100% |████████████████████████████████| 153kB 2.3MB/s
  19. Collecting chardet<4,>=3.0.2 (from requests->metawear)
  20. Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
  21. 100% |████████████████████████████████| 143kB 2.5MB/s
  22. Building wheels for collected packages: metawear, warble
  23. Running setup.py bdist_wheel for metawear ... error
  24. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-y0n38vz5/metawear/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/tmpbr8tm7tmpip-wheel- --python-tag cp36:
  25. running bdist_wheel
  26. running build
  27. running build_py
  28. make: Entering directory '/tmp/pip-build-y0n38vz5/metawear/MetaWear-SDK-Cpp'
  29. mkdir -p build/arm/release/src/metawear/platform/cpp
  30. mkdir -p build/arm/release/src/metawear/core/cpp
  31. mkdir -p build/arm/release/src/metawear/peripheral/cpp
  32. mkdir -p build/arm/release/src/metawear/processor/cpp
  33. mkdir -p build/arm/release/src/metawear/sensor/cpp
  34. mkdir -p build/arm/release/src/metawear/impl/cpp
  35. mkdir -p build/arm/release/src/metawear/dfu/cpp
  36. mkdir -p dist/release/lib/arm
  37. g++ -MMD -MP -MF "build/arm/release/src/metawear/platform/cpp/memory.d" -c -o build/arm/release/src/metawear/platform/cpp/memory.o -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Isrc -DMETAWEAR_DLL -DMETAWEAR_DLL_EXPORTS -Wno-strict-aliasing -O3 -marm src/metawear/platform/cpp/memory.cpp
  38. g++ -MMD -MP -MF "build/arm/release/src/metawear/platform/cpp/task.d" -c -o build/arm/release/src/metawear/platform/cpp/task.o -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Isrc -DMETAWEAR_DLL -DMETAWEAR_DLL_EXPORTS -Wno-strict-aliasing -O3 -marm src/metawear/platform/cpp/task.cpp
  39. g++: error: unrecognized command line option ‘-marm’; did you mean ‘-fasm’?
  40. Makefile:69: recipe for target 'build/arm/release/src/metawear/platform/cpp/memory.o' failed
  41. make: *** [build/arm/release/src/metawear/platform/cpp/memory.o] Error 1
  42. make: *** Waiting for unfinished jobs....
  43. g++: error: unrecognized command line option ‘-marm’; did you mean ‘-fasm’?
  44. Makefile:69: recipe for target 'build/arm/release/src/metawear/platform/cpp/task.o' failed
  45. make: *** [build/arm/release/src/metawear/platform/cpp/task.o] Error 1
  46. make: Leaving directory '/tmp/pip-build-y0n38vz5/metawear/MetaWear-SDK-Cpp'
  47. Traceback (most recent call last):
  48. File "<string>", line 1, in <module>
  49. File "/tmp/pip-build-y0n38vz5/metawear/setup.py", line 93, in <module>
  50. 'Programming Language :: Python :: 3',
  51. File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
  52. return distutils.core.setup(**attrs)
  53. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  54. dist.run_commands()
  55. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  56. self.run_command(cmd)
  57. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  58. cmd_obj.run()
  59. File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 204, in run
  60. self.run_command('build')
  61. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  62. self.distribution.run_command(command)
  63. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  64. cmd_obj.run()
  65. File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
  66. self.run_command(cmd_name)
  67. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  68. self.distribution.run_command(command)
  69. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  70. cmd_obj.run()
  71. File "/tmp/pip-build-y0n38vz5/metawear/setup.py", line 56, in run
  72. raise RuntimeError("Failed to compile C++ SDK")
  73. RuntimeError: Failed to compile C++ SDK
  74.  
  75. ----------------------------------------
  76. Failed building wheel for metawear
  77. Running setup.py clean for metawear
  78. Running setup.py bdist_wheel for warble ... error
  79. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-y0n38vz5/warble/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/tmp1denrckdpip-wheel- --python-tag cp36:
  80. running bdist_wheel
  81. running build
  82. running build_py
  83. make: Entering directory '/tmp/pip-build-y0n38vz5/warble/clibs/warble'
  84. mkdir -p build/arm/release/src/warble/cpp
  85. cd deps/libblepp; LDFLAGS=-marm ./configure
  86. mkdir -p dist/release/lib/arm
  87. g++ -MMD -MP -MF "build/arm/release/src/warble/cpp/lib.d" -c -o build/arm/release/src/warble/cpp/lib.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -marm src/warble/cpp/lib.cpp
  88. g++: error: unrecognized command line option ‘-marm’; did you mean ‘-fasm’?
  89. Makefile:84: recipe for target 'build/arm/release/src/warble/cpp/lib.o' failed
  90. make: *** [build/arm/release/src/warble/cpp/lib.o] Error 1
  91. make: *** Waiting for unfinished jobs....
  92. checking for g++... g++
  93. checking whether the C++ compiler works... no
  94. configure: error: in `/tmp/pip-build-y0n38vz5/warble/clibs/warble/deps/libblepp':
  95. configure: error: C++ compiler cannot create executables
  96. See `config.log' for more details
  97. Makefile:129: recipe for target 'deps/libblepp/Makefile' failed
  98. make: *** [deps/libblepp/Makefile] Error 77
  99. make: Leaving directory '/tmp/pip-build-y0n38vz5/warble/clibs/warble'
  100. Traceback (most recent call last):
  101. File "<string>", line 1, in <module>
  102. File "/tmp/pip-build-y0n38vz5/warble/setup.py", line 93, in <module>
  103. 'Programming Language :: Python :: 3',
  104. File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
  105. return distutils.core.setup(**attrs)
  106. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  107. dist.run_commands()
  108. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  109. self.run_command(cmd)
  110. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  111. cmd_obj.run()
  112. File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 204, in run
  113. self.run_command('build')
  114. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  115. self.distribution.run_command(command)
  116. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  117. cmd_obj.run()
  118. File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
  119. self.run_command(cmd_name)
  120. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  121. self.distribution.run_command(command)
  122. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  123. cmd_obj.run()
  124. File "/tmp/pip-build-y0n38vz5/warble/setup.py", line 60, in run
  125. raise RuntimeError("Failed to compile libwarble.so")
  126. RuntimeError: Failed to compile libwarble.so
  127.  
  128. ----------------------------------------
  129. Failed building wheel for warble
  130. Running setup.py clean for warble
  131. Failed to build metawear warble
  132. Installing collected packages: idna, urllib3, certifi, chardet, requests, warble, metawear
  133. Running setup.py install for warble ... error
  134. Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-y0n38vz5/warble/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-g1e3jng2-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
  135. running install
  136. running build
  137. running build_py
  138. make: Entering directory '/tmp/pip-build-y0n38vz5/warble/clibs/warble'
  139. g++ -MMD -MP -MF "build/arm/release/src/warble/cpp/lib.d" -c -o build/arm/release/src/warble/cpp/lib.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -marm src/warble/cpp/lib.cpp
  140. g++ -MMD -MP -MF "build/arm/release/src/warble/cpp/gatt.d" -c -o build/arm/release/src/warble/cpp/gatt.o -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -DWARBLE_DLL -DWARBLE_DLL_EXPORT -Isrc -O3 -DAPI_BLEPP -Ideps/libblepp -marm src/warble/cpp/gatt.cpp
  141. g++: error: unrecognized command line option ‘-marm’; did you mean ‘-fasm’?
  142. g++: error: unrecognized command line option ‘-marm’; did you mean ‘-fasm’?
  143. Makefile:84: recipe for target 'build/arm/release/src/warble/cpp/gatt.o' failed
  144. make: *** [build/arm/release/src/warble/cpp/gatt.o] Error 1
  145. make: *** Waiting for unfinished jobs....
  146. Makefile:84: recipe for target 'build/arm/release/src/warble/cpp/lib.o' failed
  147. make: *** [build/arm/release/src/warble/cpp/lib.o] Error 1
  148. make: Leaving directory '/tmp/pip-build-y0n38vz5/warble/clibs/warble'
  149. Traceback (most recent call last):
  150. File "<string>", line 1, in <module>
  151. File "/tmp/pip-build-y0n38vz5/warble/setup.py", line 93, in <module>
  152. 'Programming Language :: Python :: 3',
  153. File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
  154. return distutils.core.setup(**attrs)
  155. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  156. dist.run_commands()
  157. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  158. self.run_command(cmd)
  159. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  160. cmd_obj.run()
  161. File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
  162. return orig.install.run(self)
  163. File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
  164. self.run_command('build')
  165. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  166. self.distribution.run_command(command)
  167. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  168. cmd_obj.run()
  169. File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
  170. self.run_command(cmd_name)
  171. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  172. self.distribution.run_command(command)
  173. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  174. cmd_obj.run()
  175. File "/tmp/pip-build-y0n38vz5/warble/setup.py", line 60, in run
  176. raise RuntimeError("Failed to compile libwarble.so")
  177. RuntimeError: Failed to compile libwarble.so
  178.  
  179. ----------------------------------------
  180. Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-y0n38vz5/warble/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-g1e3jng2-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-y0n38vz5/warble/
  181.  
RAW Paste Data