Advertisement
Guest User

pystruct install on Kaggle notebook

a guest
Jan 15th, 2022
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.73 KB | None | 0 0
  1. Collecting pystruct
  2. Downloading pystruct-0.3.2.tar.gz (5.6 MB)
  3. |████████████████████████████████| 5.6 MB 286 kB/s
  4. Preparing metadata (setup.py) ... error
  5. ERROR: Command errored out with exit status 1:
  6. command: /opt/conda/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_57ca7767c92a4171b2e6c56528da1edc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_57ca7767c92a4171b2e6c56528da1edc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4gda16td
  7. cwd: /tmp/pip-install-s3tnpwan/pystruct_57ca7767c92a4171b2e6c56528da1edc/
  8. Complete output (1 lines):
  9. error in pystruct setup command: use_2to3 is invalid.
  10. ----------------------------------------
  11. WARNING: Discarding https://files.pythonhosted.org/packages/65/42/763411d5025534699b84f596df89f79b3f044b362bf299e3f649900710f2/pystruct-0.3.2.tar.gz#sha256=713ff8a9669260a7ff756c6df6087bfbb54c5ca4ce0395081235202161b43e76 (from https://pypi.org/simple/pystruct/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  12. Downloading pystruct-0.3.1.tar.gz (5.6 MB)
  13. |████████████████████████████████| 5.6 MB 38.9 MB/s
  14. Preparing metadata (setup.py) ... error
  15. ERROR: Command errored out with exit status 1:
  16. command: /opt/conda/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_ce503eb0a4bb4c6a813e0c2eac2a5497/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_ce503eb0a4bb4c6a813e0c2eac2a5497/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-j5phocdx
  17. cwd: /tmp/pip-install-s3tnpwan/pystruct_ce503eb0a4bb4c6a813e0c2eac2a5497/
  18. Complete output (1 lines):
  19. error in pystruct setup command: use_2to3 is invalid.
  20. ----------------------------------------
  21. WARNING: Discarding https://files.pythonhosted.org/packages/da/45/f689ba996b6ee626f38cdf13cadc5d85a99eb0f3b9bac9846c9fdd8a7c23/pystruct-0.3.1.tar.gz#sha256=e16f30cf7a07877c609115f059c673fbef2efdb34e6decafe8814705929754ce (from https://pypi.org/simple/pystruct/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  22. Downloading pystruct-0.2.4.tar.gz (5.6 MB)
  23. |████████████████████████████████| 5.6 MB 44.6 MB/s
  24. Preparing metadata (setup.py) ... error
  25. ERROR: Command errored out with exit status 1:
  26. command: /opt/conda/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_9d35577168d943cf8020fc2dbe41ac9d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_9d35577168d943cf8020fc2dbe41ac9d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-vmkmt_27
  27. cwd: /tmp/pip-install-s3tnpwan/pystruct_9d35577168d943cf8020fc2dbe41ac9d/
  28. Complete output (1 lines):
  29. error in pystruct setup command: use_2to3 is invalid.
  30. ----------------------------------------
  31. WARNING: Discarding https://files.pythonhosted.org/packages/7e/0f/b366c48ebe047dc79c12a9c755a3d519d00889eb6833e3f328ac13191f6d/pystruct-0.2.4.tar.gz#sha256=dfa29b3eb723f92b0876adaac2592193c585678772397def89f5c33e62507236 (from https://pypi.org/simple/pystruct/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  32. Downloading pystruct-0.2.3.tar.gz (5.6 MB)
  33. |████████████████████████████████| 5.6 MB 37.1 MB/s
  34. Preparing metadata (setup.py) ... error
  35. ERROR: Command errored out with exit status 1:
  36. command: /opt/conda/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_94f2cf6546a44372a7cee886afc200ed/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_94f2cf6546a44372a7cee886afc200ed/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-xh1nvd4c
  37. cwd: /tmp/pip-install-s3tnpwan/pystruct_94f2cf6546a44372a7cee886afc200ed/
  38. Complete output (1 lines):
  39. error in pystruct setup command: use_2to3 is invalid.
  40. ----------------------------------------
  41. WARNING: Discarding https://files.pythonhosted.org/packages/ec/5d/76c253a0c8aa572158cc86e4cbc2564e251f30cb3122e964cd66c9d79441/pystruct-0.2.3.tar.gz#sha256=8d258e297de37bff569d141e4aa3ef8d51bec4190a4fb888f003fd51327a5d03 (from https://pypi.org/simple/pystruct/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  42. Downloading pystruct-0.2.2.tar.gz (5.4 MB)
  43. |████████████████████████████████| 5.4 MB 36.8 MB/s
  44. Preparing metadata (setup.py) ... error
  45. ERROR: Command errored out with exit status 1:
  46. command: /opt/conda/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_2d4acb02099d47b887500f78ca61ea3b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_2d4acb02099d47b887500f78ca61ea3b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jj23a8jh
  47. cwd: /tmp/pip-install-s3tnpwan/pystruct_2d4acb02099d47b887500f78ca61ea3b/
  48. Complete output (1 lines):
  49. error in pystruct setup command: use_2to3 is invalid.
  50. ----------------------------------------
  51. WARNING: Discarding https://files.pythonhosted.org/packages/cb/59/2c840e10be77655defd18be9de05cb64a033d7e708e904125b283a8825df/pystruct-0.2.2.tar.gz#sha256=e58ec377bcd0003949bbdb904777d72bab2dbdd846d2a7b6124b3c7f3dc8db0e (from https://pypi.org/simple/pystruct/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  52. Downloading pystruct-0.2.1.tar.gz (5.4 MB)
  53. |████████████████████████████████| 5.4 MB 63.3 MB/s
  54. Preparing metadata (setup.py) ... error
  55. ERROR: Command errored out with exit status 1:
  56. command: /opt/conda/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_4bb7121c84224102b344e3a0538a792e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_4bb7121c84224102b344e3a0538a792e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-_f4om4cd
  57. cwd: /tmp/pip-install-s3tnpwan/pystruct_4bb7121c84224102b344e3a0538a792e/
  58. Complete output (1 lines):
  59. error in pystruct setup command: use_2to3 is invalid.
  60. ----------------------------------------
  61. WARNING: Discarding https://files.pythonhosted.org/packages/f0/76/1519683b9b6d313752bd4f5c30076c302357813309ba6fc88ab9836044e1/pystruct-0.2.1.tar.gz#sha256=2849410dad303f1280caaa16e4e21355c2ad348cc6df4ac8f05701005417f03e (from https://pypi.org/simple/pystruct/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  62. Downloading pystruct-0.2.tar.gz (5.5 MB)
  63. |████████████████████████████████| 5.5 MB 41.6 MB/s
  64. Preparing metadata (setup.py) ... done
  65. Collecting ad3
  66. Downloading ad3-2.2.1-cp37-cp37m-manylinux1_x86_64.whl (668 kB)
  67. |████████████████████████████████| 668 kB 67.4 MB/s
  68. Collecting pyqpbo
  69. Downloading pyqpbo-0.1.2.tar.gz (79 kB)
  70. |████████████████████████████████| 79 kB 6.2 MB/s
  71. Preparing metadata (setup.py) ... done
  72. Building wheels for collected packages: pystruct, pyqpbo
  73. Building wheel for pystruct (setup.py) ... error
  74. ERROR: Command errored out with exit status 1:
  75. command: /opt/conda/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pcvutfiz
  76. cwd: /tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/
  77. Complete output (178 lines):
  78. running bdist_wheel
  79. running build
  80. running build_py
  81. creating build
  82. creating build/lib.linux-x86_64-3.7
  83. creating build/lib.linux-x86_64-3.7/pystruct
  84. copying pystruct/__init__.py -> build/lib.linux-x86_64-3.7/pystruct
  85. copying pystruct/plot_learning.py -> build/lib.linux-x86_64-3.7/pystruct
  86. creating build/lib.linux-x86_64-3.7/pystruct/learners
  87. copying pystruct/learners/frankwolfe_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  88. copying pystruct/learners/n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  89. copying pystruct/learners/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  90. copying pystruct/learners/one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  91. copying pystruct/learners/subgradient_latent_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  92. copying pystruct/learners/latent_structured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  93. copying pystruct/learners/subgradient_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  94. copying pystruct/learners/ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  95. copying pystruct/learners/downhill_simplex_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  96. copying pystruct/learners/structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  97. copying pystruct/learners/svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  98. creating build/lib.linux-x86_64-3.7/pystruct/inference
  99. copying pystruct/inference/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/inference
  100. copying pystruct/inference/inference_methods.py -> build/lib.linux-x86_64-3.7/pystruct/inference
  101. copying pystruct/inference/linear_programming.py -> build/lib.linux-x86_64-3.7/pystruct/inference
  102. creating build/lib.linux-x86_64-3.7/pystruct/models
  103. copying pystruct/models/edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  104. copying pystruct/models/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/models
  105. copying pystruct/models/multilabel_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
  106. copying pystruct/models/unstructured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
  107. copying pystruct/models/base.py -> build/lib.linux-x86_64-3.7/pystruct/models
  108. copying pystruct/models/latent_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  109. copying pystruct/models/chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  110. copying pystruct/models/latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  111. copying pystruct/models/grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  112. copying pystruct/models/crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  113. copying pystruct/models/graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  114. copying pystruct/models/latent_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  115. copying pystruct/models/setup.py -> build/lib.linux-x86_64-3.7/pystruct/models
  116. creating build/lib.linux-x86_64-3.7/pystruct/utils
  117. copying pystruct/utils/graph.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  118. copying pystruct/utils/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  119. copying pystruct/utils/logging.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  120. copying pystruct/utils/plotting.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  121. copying pystruct/utils/backports.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  122. copying pystruct/utils/inference.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  123. creating build/lib.linux-x86_64-3.7/pystruct/datasets
  124. copying pystruct/datasets/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
  125. copying pystruct/datasets/synthetic_grids.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
  126. copying pystruct/datasets/dataset_loaders.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
  127. creating build/lib.linux-x86_64-3.7/pystruct/tests
  128. copying pystruct/tests/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests
  129. copying pystruct/tests/test_datasets.py -> build/lib.linux-x86_64-3.7/pystruct/tests
  130. copying pystruct/tests/test_libraries.py -> build/lib.linux-x86_64-3.7/pystruct/tests
  131. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  132. copying pystruct/tests/test_learners/test_subgradient_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  133. copying pystruct/tests/test_learners/test_frankwolfe_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  134. copying pystruct/tests/test_learners/test_structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  135. copying pystruct/tests/test_learners/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  136. copying pystruct/tests/test_learners/test_edge_feature_graph_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  137. copying pystruct/tests/test_learners/test_crammer_singer_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  138. copying pystruct/tests/test_learners/test_primal_dual.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  139. copying pystruct/tests/test_learners/test_graph_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  140. copying pystruct/tests/test_learners/test_binary_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  141. copying pystruct/tests/test_learners/test_latent_node_crf_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  142. copying pystruct/tests/test_learners/test_one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  143. copying pystruct/tests/test_learners/test_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  144. copying pystruct/tests/test_learners/test_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  145. copying pystruct/tests/test_learners/test_n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  146. copying pystruct/tests/test_learners/test_subgradient_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  147. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  148. copying pystruct/tests/test_models/test_latent_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  149. copying pystruct/tests/test_models/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  150. copying pystruct/tests/test_models/test_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  151. copying pystruct/tests/test_models/test_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  152. copying pystruct/tests/test_models/test_latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  153. copying pystruct/tests/test_models/test_directional_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  154. copying pystruct/tests/test_models/test_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  155. copying pystruct/tests/test_models/test_chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  156. copying pystruct/tests/test_models/test_multilabel_problem.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  157. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
  158. copying pystruct/tests/test_inference/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
  159. copying pystruct/tests/test_inference/test_exact_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
  160. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
  161. copying pystruct/tests/test_utils/test_utils_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
  162. copying pystruct/tests/test_utils/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
  163. running egg_info
  164. writing pystruct.egg-info/PKG-INFO
  165. writing dependency_links to pystruct.egg-info/dependency_links.txt
  166. writing requirements to pystruct.egg-info/requires.txt
  167. writing top-level names to pystruct.egg-info/top_level.txt
  168. reading manifest file 'pystruct.egg-info/SOURCES.txt'
  169. reading manifest template 'MANIFEST.in'
  170. warning: no files found matching '*' under directory 'tests'
  171. warning: no previously-included files matching '*.pyc' found under directory 'doc'
  172. warning: no previously-included files matching '*.pyo' found under directory 'doc'
  173. warning: no previously-included files matching '*.pyc' found under directory 'tests'
  174. warning: no previously-included files matching '*.pyo' found under directory 'tests'
  175. no previously-included directories found matching 'docs/_build'
  176. no previously-included directories found matching 'docs/auto_examples'
  177. no previously-included directories found matching 'docs/generated'
  178. writing manifest file 'pystruct.egg-info/SOURCES.txt'
  179. copying pystruct/datasets/letters.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
  180. copying pystruct/datasets/scene.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
  181. copying pystruct/datasets/snakes.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
  182. running build_ext
  183. skipping 'src/utils.c' Cython extension (up-to-date)
  184. building 'pystruct.models.utils' extension
  185. creating build/temp.linux-x86_64-3.7
  186. creating build/temp.linux-x86_64-3.7/src
  187. gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/include/python3.7m -c src/utils.c -o build/temp.linux-x86_64-3.7/src/utils.o
  188. src/utils.c: In function ‘__pyx_pf_8pystruct_6models_5utils_32loss_augment_unaries’:
  189. src/utils.c:5598:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  190. 5598 | __pyx_t_6 = ((__pyx_v_s == (*((unsigned int *) ( /* dim=0 */ (__pyx_v_y.data + __pyx_t_5 * __pyx_v_y.strides[0]) )))) != 0);
  191. | ^~
  192. src/utils.c: In function ‘__Pyx_GetException’:
  193. src/utils.c:17392:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  194. 17392 | tmp_type = tstate->exc_type;
  195. | ^~~~~~~~
  196. | curexc_type
  197. src/utils.c:17393:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  198. 17393 | tmp_value = tstate->exc_value;
  199. | ^~~~~~~~~
  200. | curexc_value
  201. src/utils.c:17394:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  202. 17394 | tmp_tb = tstate->exc_traceback;
  203. | ^~~~~~~~~~~~~
  204. | curexc_traceback
  205. src/utils.c:17395:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  206. 17395 | tstate->exc_type = local_type;
  207. | ^~~~~~~~
  208. | curexc_type
  209. src/utils.c:17396:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  210. 17396 | tstate->exc_value = local_value;
  211. | ^~~~~~~~~
  212. | curexc_value
  213. src/utils.c:17397:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  214. 17397 | tstate->exc_traceback = local_tb;
  215. | ^~~~~~~~~~~~~
  216. | curexc_traceback
  217. src/utils.c: In function ‘__Pyx_ExceptionSave’:
  218. src/utils.c:19954:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  219. 19954 | *type = tstate->exc_type;
  220. | ^~~~~~~~
  221. | curexc_type
  222. src/utils.c:19955:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  223. 19955 | *value = tstate->exc_value;
  224. | ^~~~~~~~~
  225. | curexc_value
  226. src/utils.c:19956:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  227. 19956 | *tb = tstate->exc_traceback;
  228. | ^~~~~~~~~~~~~
  229. | curexc_traceback
  230. src/utils.c: In function ‘__Pyx_ExceptionReset’:
  231. src/utils.c:19968:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  232. 19968 | tmp_type = tstate->exc_type;
  233. | ^~~~~~~~
  234. | curexc_type
  235. src/utils.c:19969:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  236. 19969 | tmp_value = tstate->exc_value;
  237. | ^~~~~~~~~
  238. | curexc_value
  239. src/utils.c:19970:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  240. 19970 | tmp_tb = tstate->exc_traceback;
  241. | ^~~~~~~~~~~~~
  242. | curexc_traceback
  243. src/utils.c:19971:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  244. 19971 | tstate->exc_type = type;
  245. | ^~~~~~~~
  246. | curexc_type
  247. src/utils.c:19972:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  248. 19972 | tstate->exc_value = value;
  249. | ^~~~~~~~~
  250. | curexc_value
  251. src/utils.c:19973:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  252. 19973 | tstate->exc_traceback = tb;
  253. | ^~~~~~~~~~~~~
  254. | curexc_traceback
  255. error: command 'gcc' failed with exit status 1
  256. ----------------------------------------
  257. ERROR: Failed building wheel for pystruct
  258. Running setup.py clean for pystruct
  259. Building wheel for pyqpbo (setup.py) ... done
  260. Created wheel for pyqpbo: filename=pyqpbo-0.1.2-cp37-cp37m-linux_x86_64.whl size=576710 sha256=25cac0ed6380cc28f0c7a7e21a76605c680c5fd4deddde12fe4770a31a74dd25
  261. Stored in directory: /root/.cache/pip/wheels/88/3b/7a/022ce9b8fef1723decdff415faac2b549ba08e765d387e4b84
  262. Successfully built pyqpbo
  263. Failed to build pystruct
  264. Installing collected packages: pyqpbo, ad3, pystruct
  265. Running setup.py install for pystruct ... error
  266. ERROR: Command errored out with exit status 1:
  267. command: /opt/conda/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nlx_ancu/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.7m/pystruct
  268. cwd: /tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/
  269. Complete output (180 lines):
  270. running install
  271. /opt/conda/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  272. setuptools.SetuptoolsDeprecationWarning,
  273. running build
  274. running build_py
  275. creating build
  276. creating build/lib.linux-x86_64-3.7
  277. creating build/lib.linux-x86_64-3.7/pystruct
  278. copying pystruct/__init__.py -> build/lib.linux-x86_64-3.7/pystruct
  279. copying pystruct/plot_learning.py -> build/lib.linux-x86_64-3.7/pystruct
  280. creating build/lib.linux-x86_64-3.7/pystruct/learners
  281. copying pystruct/learners/frankwolfe_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  282. copying pystruct/learners/n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  283. copying pystruct/learners/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  284. copying pystruct/learners/one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  285. copying pystruct/learners/subgradient_latent_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  286. copying pystruct/learners/latent_structured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  287. copying pystruct/learners/subgradient_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  288. copying pystruct/learners/ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  289. copying pystruct/learners/downhill_simplex_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  290. copying pystruct/learners/structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  291. copying pystruct/learners/svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
  292. creating build/lib.linux-x86_64-3.7/pystruct/inference
  293. copying pystruct/inference/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/inference
  294. copying pystruct/inference/inference_methods.py -> build/lib.linux-x86_64-3.7/pystruct/inference
  295. copying pystruct/inference/linear_programming.py -> build/lib.linux-x86_64-3.7/pystruct/inference
  296. creating build/lib.linux-x86_64-3.7/pystruct/models
  297. copying pystruct/models/edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  298. copying pystruct/models/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/models
  299. copying pystruct/models/multilabel_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
  300. copying pystruct/models/unstructured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
  301. copying pystruct/models/base.py -> build/lib.linux-x86_64-3.7/pystruct/models
  302. copying pystruct/models/latent_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  303. copying pystruct/models/chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  304. copying pystruct/models/latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  305. copying pystruct/models/grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  306. copying pystruct/models/crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  307. copying pystruct/models/graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  308. copying pystruct/models/latent_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
  309. copying pystruct/models/setup.py -> build/lib.linux-x86_64-3.7/pystruct/models
  310. creating build/lib.linux-x86_64-3.7/pystruct/utils
  311. copying pystruct/utils/graph.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  312. copying pystruct/utils/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  313. copying pystruct/utils/logging.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  314. copying pystruct/utils/plotting.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  315. copying pystruct/utils/backports.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  316. copying pystruct/utils/inference.py -> build/lib.linux-x86_64-3.7/pystruct/utils
  317. creating build/lib.linux-x86_64-3.7/pystruct/datasets
  318. copying pystruct/datasets/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
  319. copying pystruct/datasets/synthetic_grids.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
  320. copying pystruct/datasets/dataset_loaders.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
  321. creating build/lib.linux-x86_64-3.7/pystruct/tests
  322. copying pystruct/tests/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests
  323. copying pystruct/tests/test_datasets.py -> build/lib.linux-x86_64-3.7/pystruct/tests
  324. copying pystruct/tests/test_libraries.py -> build/lib.linux-x86_64-3.7/pystruct/tests
  325. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  326. copying pystruct/tests/test_learners/test_subgradient_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  327. copying pystruct/tests/test_learners/test_frankwolfe_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  328. copying pystruct/tests/test_learners/test_structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  329. copying pystruct/tests/test_learners/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  330. copying pystruct/tests/test_learners/test_edge_feature_graph_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  331. copying pystruct/tests/test_learners/test_crammer_singer_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  332. copying pystruct/tests/test_learners/test_primal_dual.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  333. copying pystruct/tests/test_learners/test_graph_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  334. copying pystruct/tests/test_learners/test_binary_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  335. copying pystruct/tests/test_learners/test_latent_node_crf_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  336. copying pystruct/tests/test_learners/test_one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  337. copying pystruct/tests/test_learners/test_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  338. copying pystruct/tests/test_learners/test_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  339. copying pystruct/tests/test_learners/test_n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  340. copying pystruct/tests/test_learners/test_subgradient_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
  341. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  342. copying pystruct/tests/test_models/test_latent_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  343. copying pystruct/tests/test_models/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  344. copying pystruct/tests/test_models/test_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  345. copying pystruct/tests/test_models/test_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  346. copying pystruct/tests/test_models/test_latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  347. copying pystruct/tests/test_models/test_directional_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  348. copying pystruct/tests/test_models/test_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  349. copying pystruct/tests/test_models/test_chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  350. copying pystruct/tests/test_models/test_multilabel_problem.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
  351. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
  352. copying pystruct/tests/test_inference/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
  353. copying pystruct/tests/test_inference/test_exact_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
  354. creating build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
  355. copying pystruct/tests/test_utils/test_utils_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
  356. copying pystruct/tests/test_utils/__init__.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
  357. running egg_info
  358. writing pystruct.egg-info/PKG-INFO
  359. writing dependency_links to pystruct.egg-info/dependency_links.txt
  360. writing requirements to pystruct.egg-info/requires.txt
  361. writing top-level names to pystruct.egg-info/top_level.txt
  362. reading manifest file 'pystruct.egg-info/SOURCES.txt'
  363. reading manifest template 'MANIFEST.in'
  364. warning: no files found matching '*' under directory 'tests'
  365. warning: no previously-included files matching '*.pyc' found under directory 'doc'
  366. warning: no previously-included files matching '*.pyo' found under directory 'doc'
  367. warning: no previously-included files matching '*.pyc' found under directory 'tests'
  368. warning: no previously-included files matching '*.pyo' found under directory 'tests'
  369. no previously-included directories found matching 'docs/_build'
  370. no previously-included directories found matching 'docs/auto_examples'
  371. no previously-included directories found matching 'docs/generated'
  372. writing manifest file 'pystruct.egg-info/SOURCES.txt'
  373. copying pystruct/datasets/letters.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
  374. copying pystruct/datasets/scene.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
  375. copying pystruct/datasets/snakes.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
  376. running build_ext
  377. skipping 'src/utils.c' Cython extension (up-to-date)
  378. building 'pystruct.models.utils' extension
  379. creating build/temp.linux-x86_64-3.7
  380. creating build/temp.linux-x86_64-3.7/src
  381. gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/include/python3.7m -c src/utils.c -o build/temp.linux-x86_64-3.7/src/utils.o
  382. src/utils.c: In function ‘__pyx_pf_8pystruct_6models_5utils_32loss_augment_unaries’:
  383. src/utils.c:5598:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  384. 5598 | __pyx_t_6 = ((__pyx_v_s == (*((unsigned int *) ( /* dim=0 */ (__pyx_v_y.data + __pyx_t_5 * __pyx_v_y.strides[0]) )))) != 0);
  385. | ^~
  386. src/utils.c: In function ‘__Pyx_GetException’:
  387. src/utils.c:17392:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  388. 17392 | tmp_type = tstate->exc_type;
  389. | ^~~~~~~~
  390. | curexc_type
  391. src/utils.c:17393:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  392. 17393 | tmp_value = tstate->exc_value;
  393. | ^~~~~~~~~
  394. | curexc_value
  395. src/utils.c:17394:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  396. 17394 | tmp_tb = tstate->exc_traceback;
  397. | ^~~~~~~~~~~~~
  398. | curexc_traceback
  399. src/utils.c:17395:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  400. 17395 | tstate->exc_type = local_type;
  401. | ^~~~~~~~
  402. | curexc_type
  403. src/utils.c:17396:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  404. 17396 | tstate->exc_value = local_value;
  405. | ^~~~~~~~~
  406. | curexc_value
  407. src/utils.c:17397:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  408. 17397 | tstate->exc_traceback = local_tb;
  409. | ^~~~~~~~~~~~~
  410. | curexc_traceback
  411. src/utils.c: In function ‘__Pyx_ExceptionSave’:
  412. src/utils.c:19954:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  413. 19954 | *type = tstate->exc_type;
  414. | ^~~~~~~~
  415. | curexc_type
  416. src/utils.c:19955:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  417. 19955 | *value = tstate->exc_value;
  418. | ^~~~~~~~~
  419. | curexc_value
  420. src/utils.c:19956:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  421. 19956 | *tb = tstate->exc_traceback;
  422. | ^~~~~~~~~~~~~
  423. | curexc_traceback
  424. src/utils.c: In function ‘__Pyx_ExceptionReset’:
  425. src/utils.c:19968:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  426. 19968 | tmp_type = tstate->exc_type;
  427. | ^~~~~~~~
  428. | curexc_type
  429. src/utils.c:19969:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  430. 19969 | tmp_value = tstate->exc_value;
  431. | ^~~~~~~~~
  432. | curexc_value
  433. src/utils.c:19970:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  434. 19970 | tmp_tb = tstate->exc_traceback;
  435. | ^~~~~~~~~~~~~
  436. | curexc_traceback
  437. src/utils.c:19971:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
  438. 19971 | tstate->exc_type = type;
  439. | ^~~~~~~~
  440. | curexc_type
  441. src/utils.c:19972:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
  442. 19972 | tstate->exc_value = value;
  443. | ^~~~~~~~~
  444. | curexc_value
  445. src/utils.c:19973:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
  446. 19973 | tstate->exc_traceback = tb;
  447. | ^~~~~~~~~~~~~
  448. | curexc_traceback
  449. error: command 'gcc' failed with exit status 1
  450. ----------------------------------------
  451. ERROR: Command errored out with exit status 1: /opt/conda/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s3tnpwan/pystruct_102d1feb53b442b1a889c67cfa369ddd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nlx_ancu/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.7m/pystruct Check the logs for full command output.
  452. Note: you may need to restart the kernel to use updated packages.
  453.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement