Skip to content

error on installing on Linux #237

@xiongjun926

Description

@xiongjun926

Hi,

Having error on installing on Linux, spyder, python3.4, can you kindly guide how to fix it.

Using cached https://files.pythonhosted.org/packages/65/42/763411d5025534699b84f596df89f79b3f044b362bf299e3f649900710f2/pystruct-0.3.2.tar.gz
Requirement already satisfied: ad3 in ./.local/lib/python3.7/site-packages (from pystruct) (2.2.1)
Requirement already satisfied: numpy in ./.local/lib/python3.7/site-packages (from pystruct) (1.16.2)
Building wheels for collected packages: pystruct
Building wheel for pystruct (setup.py) ... �[?25lerror
ERROR: Complete output from command /home/hadoop/anaconda3/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-731u77ff/pystruct/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-aszd87xl --python-tag cp37:
ERROR: running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pystruct
copying pystruct/init.py -> build/lib.linux-x86_64-3.7/pystruct
copying pystruct/plot_learning.py -> build/lib.linux-x86_64-3.7/pystruct
creating build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/subgradient_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/init.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/subgradient_latent_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/downhill_simplex_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/frankwolfe_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/latent_structured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
creating build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/init.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/inference_methods.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/common.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/linear_programming.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/maxprod.py -> build/lib.linux-x86_64-3.7/pystruct/inference
creating build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/node_type_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/unstructured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/multilabel_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/init.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/latent_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/latent_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/setup.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/base.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/typed_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
creating build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/graph_functions.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/inference.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/graph.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/init.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/logging.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/plotting.py -> build/lib.linux-x86_64-3.7/pystruct/utils
creating build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/init.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/synthetic_grids.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/dataset_loaders.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
creating build/lib.linux-x86_64-3.7/pystruct/tests
copying pystruct/tests/test_datasets.py -> build/lib.linux-x86_64-3.7/pystruct/tests
copying pystruct/tests/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests
copying pystruct/tests/test_libraries.py -> build/lib.linux-x86_64-3.7/pystruct/tests
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_edge_feature_graph_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_subgradient_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_primal_dual.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_crammer_singer_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_latent_node_crf_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_graph_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_subgradient_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_binary_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_frankwolfe_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_latent_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_directional_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_multilabel_problem.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_node_type_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
copying pystruct/tests/test_inference/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
copying pystruct/tests/test_inference/test_maxprod.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
copying pystruct/tests/test_inference/test_exact_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
copying pystruct/tests/test_utils/test_utils_logging.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
copying pystruct/tests/test_utils/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
copying pystruct/tests/test_utils/test_utils_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
running egg_info
writing pystruct.egg-info/PKG-INFO
writing dependency_links to pystruct.egg-info/dependency_links.txt
writing requirements to pystruct.egg-info/requires.txt
writing top-level names to pystruct.egg-info/top_level.txt
reading manifest file 'pystruct.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '' under directory 'tests'
warning: no previously-included files matching '
.pyc' found under directory 'doc'
warning: no previously-included files matching '.pyo' found under directory 'doc'
warning: no previously-included files matching '
.pyc' found under directory 'tests'
warning: no previously-included files matching '.pyo' found under directory 'tests'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/auto_examples'
no previously-included directories found matching 'docs/generated'
writing manifest file 'pystruct.egg-info/SOURCES.txt'
copying pystruct/inference/_viterbi.c -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/datasets/letters.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/scene.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/snakes.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
Fixing build/lib.linux-x86_64-3.7/pystruct/init.py build/lib.linux-x86_64-3.7/pystruct/plot_learning.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/learners/n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/init.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_latent_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/downhill_simplex_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/frankwolfe_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/svm.py build/lib.linux-x86_64-3.7/pystruct/learners/one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/latent_structured_svm.py build/lib.linux-x86_64-3.7/pystruct/inference/init.py build/lib.linux-x86_64-3.7/pystruct/inference/inference_methods.py build/lib.linux-x86_64-3.7/pystruct/inference/common.py build/lib.linux-x86_64-3.7/pystruct/inference/linear_programming.py build/lib.linux-x86_64-3.7/pystruct/inference/maxprod.py build/lib.linux-x86_64-3.7/pystruct/models/grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/chain_crf.py build/lib.linux-x86_64-3.7/pystruct/models/node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/unstructured_svm.py build/lib.linux-x86_64-3.7/pystruct/models/edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/models/multilabel_svm.py build/lib.linux-x86_64-3.7/pystruct/models/init.py build/lib.linux-x86_64-3.7/pystruct/models/graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/setup.py build/lib.linux-x86_64-3.7/pystruct/models/base.py build/lib.linux-x86_64-3.7/pystruct/models/typed_crf.py build/lib.linux-x86_64-3.7/pystruct/utils/graph_functions.py build/lib.linux-x86_64-3.7/pystruct/utils/inference.py build/lib.linux-x86_64-3.7/pystruct/utils/graph.py build/lib.linux-x86_64-3.7/pystruct/utils/init.py build/lib.linux-x86_64-3.7/pystruct/utils/logging.py build/lib.linux-x86_64-3.7/pystruct/utils/plotting.py build/lib.linux-x86_64-3.7/pystruct/datasets/init.py build/lib.linux-x86_64-3.7/pystruct/datasets/synthetic_grids.py build/lib.linux-x86_64-3.7/pystruct/datasets/dataset_loaders.py build/lib.linux-x86_64-3.7/pystruct/tests/test_datasets.py build/lib.linux-x86_64-3.7/pystruct/tests/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_libraries.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_edge_feature_graph_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_primal_dual.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_crammer_singer_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_node_crf_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_graph_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_binary_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_frankwolfe_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_chain_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_directional_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_multilabel_problem.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_maxprod.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_exact_inference.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_logging.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_inference.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
Fixing build/lib.linux-x86_64-3.7/pystruct/init.py build/lib.linux-x86_64-3.7/pystruct/plot_learning.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/learners/n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/init.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_latent_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/downhill_simplex_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/frankwolfe_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/svm.py build/lib.linux-x86_64-3.7/pystruct/learners/one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/latent_structured_svm.py build/lib.linux-x86_64-3.7/pystruct/inference/init.py build/lib.linux-x86_64-3.7/pystruct/inference/inference_methods.py build/lib.linux-x86_64-3.7/pystruct/inference/common.py build/lib.linux-x86_64-3.7/pystruct/inference/linear_programming.py build/lib.linux-x86_64-3.7/pystruct/inference/maxprod.py build/lib.linux-x86_64-3.7/pystruct/models/grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/chain_crf.py build/lib.linux-x86_64-3.7/pystruct/models/node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/unstructured_svm.py build/lib.linux-x86_64-3.7/pystruct/models/edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/models/multilabel_svm.py build/lib.linux-x86_64-3.7/pystruct/models/init.py build/lib.linux-x86_64-3.7/pystruct/models/graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/setup.py build/lib.linux-x86_64-3.7/pystruct/models/base.py build/lib.linux-x86_64-3.7/pystruct/models/typed_crf.py build/lib.linux-x86_64-3.7/pystruct/utils/graph_functions.py build/lib.linux-x86_64-3.7/pystruct/utils/inference.py build/lib.linux-x86_64-3.7/pystruct/utils/graph.py build/lib.linux-x86_64-3.7/pystruct/utils/init.py build/lib.linux-x86_64-3.7/pystruct/utils/logging.py build/lib.linux-x86_64-3.7/pystruct/utils/plotting.py build/lib.linux-x86_64-3.7/pystruct/datasets/init.py build/lib.linux-x86_64-3.7/pystruct/datasets/synthetic_grids.py build/lib.linux-x86_64-3.7/pystruct/datasets/dataset_loaders.py build/lib.linux-x86_64-3.7/pystruct/tests/test_datasets.py build/lib.linux-x86_64-3.7/pystruct/tests/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_libraries.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_edge_feature_graph_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_primal_dual.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_crammer_singer_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_node_crf_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_graph_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_binary_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_frankwolfe_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_chain_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_directional_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_multilabel_problem.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_maxprod.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_exact_inference.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_logging.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_inference.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
building 'pystruct.models.utils' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/src
gcc -pthread -B /home/hadoop/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/hadoop/.local/lib/python3.7/site-packages/numpy/core/include -I/home/hadoop/anaconda3/include/python3.7m -c src/utils.c -o build/temp.linux-x86_64-3.7/src/utils.o
src/utils.c: In function ‘__pyx_pf_5utils_32loss_augment_unaries’:
src/utils.c:5552:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
__pyx_t_6 = ((__pyx_v_s == (
((unsigned int ) ( / dim=0 */ (__pyx_v_y.data + __pyx_t_5 * __pyx_v_y.strides[0]) )))) != 0);
^~
src/utils.c: In function ‘__Pyx_ExceptionSave’:
src/utils.c:17843:21: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
*type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:17844:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:17845:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c: In function ‘__Pyx_ExceptionReset’:
src/utils.c:17857:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:17858:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:17859:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c:17860:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = type;
^~~~~~~~
curexc_type
src/utils.c:17861:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
src/utils.c:17862:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c: In function ‘__Pyx_GetException’:
src/utils.c:17905:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:17906:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:17907:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c:17908:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = local_type;
^~~~~~~~
curexc_type
src/utils.c:17909:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
src/utils.c:17910:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c: In function ‘__Pyx_ExceptionSwap’:
src/utils.c:19369:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:19370:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:19371:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c:19372:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = *type;
^~~~~~~~
curexc_type
src/utils.c:19373:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = *value;
^~~~~~~~~
curexc_value
src/utils.c:19374:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = *tb;
^~~~~~~~~~~~~
curexc_traceback
error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for pystruct
nning setup.py clean for pystruct
Failed to build pystruct
Installing collected packages: pystruct
Running setup.py install for pystruct ... �[?25lerror
ERROR: Complete output from command /home/hadoop/anaconda3/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-731u77ff/pystruct/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-07xf1jq1/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pystruct
copying pystruct/init.py -> build/lib.linux-x86_64-3.7/pystruct
copying pystruct/plot_learning.py -> build/lib.linux-x86_64-3.7/pystruct
creating build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/subgradient_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/init.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/subgradient_latent_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/downhill_simplex_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/frankwolfe_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
copying pystruct/learners/latent_structured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/learners
creating build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/init.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/inference_methods.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/common.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/linear_programming.py -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/inference/maxprod.py -> build/lib.linux-x86_64-3.7/pystruct/inference
creating build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/node_type_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/unstructured_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/multilabel_svm.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/init.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/latent_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/latent_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/setup.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/base.py -> build/lib.linux-x86_64-3.7/pystruct/models
copying pystruct/models/typed_crf.py -> build/lib.linux-x86_64-3.7/pystruct/models
creating build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/graph_functions.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/inference.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/graph.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/init.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/logging.py -> build/lib.linux-x86_64-3.7/pystruct/utils
copying pystruct/utils/plotting.py -> build/lib.linux-x86_64-3.7/pystruct/utils
creating build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/init.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/synthetic_grids.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/dataset_loaders.py -> build/lib.linux-x86_64-3.7/pystruct/datasets
creating build/lib.linux-x86_64-3.7/pystruct/tests
copying pystruct/tests/test_datasets.py -> build/lib.linux-x86_64-3.7/pystruct/tests
copying pystruct/tests/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests
copying pystruct/tests/test_libraries.py -> build/lib.linux-x86_64-3.7/pystruct/tests
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_structured_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_one_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_edge_feature_graph_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_subgradient_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_primal_dual.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_crammer_singer_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_latent_node_crf_learning.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_graph_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_subgradient_latent_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_perceptron.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_binary_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_n_slack_ssvm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
copying pystruct/tests/test_learners/test_frankwolfe_svm.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_learners
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_grid_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_latent_node_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_latent_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_chain_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_directional_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_multilabel_problem.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
copying pystruct/tests/test_models/test_node_type_edge_feature_graph_crf.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_models
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
copying pystruct/tests/test_inference/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
copying pystruct/tests/test_inference/test_maxprod.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
copying pystruct/tests/test_inference/test_exact_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_inference
creating build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
copying pystruct/tests/test_utils/test_utils_logging.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
copying pystruct/tests/test_utils/init.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
copying pystruct/tests/test_utils/test_utils_inference.py -> build/lib.linux-x86_64-3.7/pystruct/tests/test_utils
running egg_info
writing pystruct.egg-info/PKG-INFO
writing dependency_links to pystruct.egg-info/dependency_links.txt
writing requirements to pystruct.egg-info/requires.txt
writing top-level names to pystruct.egg-info/top_level.txt
reading manifest file 'pystruct.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '' under directory 'tests'
warning: no previously-included files matching '
.pyc' found under directory 'doc'
warning: no previously-included files matching '.pyo' found under directory 'doc'
warning: no previously-included files matching '
.pyc' found under directory 'tests'
warning: no previously-included files matching '.pyo' found under directory 'tests'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/auto_examples'
no previously-included directories found matching 'docs/generated'
writing manifest file 'pystruct.egg-info/SOURCES.txt'
copying pystruct/inference/_viterbi.c -> build/lib.linux-x86_64-3.7/pystruct/inference
copying pystruct/datasets/letters.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/scene.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
copying pystruct/datasets/snakes.pickle -> build/lib.linux-x86_64-3.7/pystruct/datasets
Fixing build/lib.linux-x86_64-3.7/pystruct/init.py build/lib.linux-x86_64-3.7/pystruct/plot_learning.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/learners/n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/init.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_latent_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/downhill_simplex_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/frankwolfe_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/svm.py build/lib.linux-x86_64-3.7/pystruct/learners/one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/latent_structured_svm.py build/lib.linux-x86_64-3.7/pystruct/inference/init.py build/lib.linux-x86_64-3.7/pystruct/inference/inference_methods.py build/lib.linux-x86_64-3.7/pystruct/inference/common.py build/lib.linux-x86_64-3.7/pystruct/inference/linear_programming.py build/lib.linux-x86_64-3.7/pystruct/inference/maxprod.py build/lib.linux-x86_64-3.7/pystruct/models/grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/chain_crf.py build/lib.linux-x86_64-3.7/pystruct/models/node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/unstructured_svm.py build/lib.linux-x86_64-3.7/pystruct/models/edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/models/multilabel_svm.py build/lib.linux-x86_64-3.7/pystruct/models/init.py build/lib.linux-x86_64-3.7/pystruct/models/graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/setup.py build/lib.linux-x86_64-3.7/pystruct/models/base.py build/lib.linux-x86_64-3.7/pystruct/models/typed_crf.py build/lib.linux-x86_64-3.7/pystruct/utils/graph_functions.py build/lib.linux-x86_64-3.7/pystruct/utils/inference.py build/lib.linux-x86_64-3.7/pystruct/utils/graph.py build/lib.linux-x86_64-3.7/pystruct/utils/init.py build/lib.linux-x86_64-3.7/pystruct/utils/logging.py build/lib.linux-x86_64-3.7/pystruct/utils/plotting.py build/lib.linux-x86_64-3.7/pystruct/datasets/init.py build/lib.linux-x86_64-3.7/pystruct/datasets/synthetic_grids.py build/lib.linux-x86_64-3.7/pystruct/datasets/dataset_loaders.py build/lib.linux-x86_64-3.7/pystruct/tests/test_datasets.py build/lib.linux-x86_64-3.7/pystruct/tests/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_libraries.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_edge_feature_graph_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_primal_dual.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_crammer_singer_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_node_crf_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_graph_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_binary_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_frankwolfe_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_chain_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_directional_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_multilabel_problem.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_maxprod.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_exact_inference.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_logging.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_inference.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
Fixing build/lib.linux-x86_64-3.7/pystruct/init.py build/lib.linux-x86_64-3.7/pystruct/plot_learning.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/learners/n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/init.py build/lib.linux-x86_64-3.7/pystruct/learners/subgradient_latent_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/downhill_simplex_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/frankwolfe_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/svm.py build/lib.linux-x86_64-3.7/pystruct/learners/one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/learners/latent_structured_svm.py build/lib.linux-x86_64-3.7/pystruct/inference/init.py build/lib.linux-x86_64-3.7/pystruct/inference/inference_methods.py build/lib.linux-x86_64-3.7/pystruct/inference/common.py build/lib.linux-x86_64-3.7/pystruct/inference/linear_programming.py build/lib.linux-x86_64-3.7/pystruct/inference/maxprod.py build/lib.linux-x86_64-3.7/pystruct/models/grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/chain_crf.py build/lib.linux-x86_64-3.7/pystruct/models/node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/unstructured_svm.py build/lib.linux-x86_64-3.7/pystruct/models/edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/models/multilabel_svm.py build/lib.linux-x86_64-3.7/pystruct/models/init.py build/lib.linux-x86_64-3.7/pystruct/models/graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/models/crf.py build/lib.linux-x86_64-3.7/pystruct/models/latent_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/models/setup.py build/lib.linux-x86_64-3.7/pystruct/models/base.py build/lib.linux-x86_64-3.7/pystruct/models/typed_crf.py build/lib.linux-x86_64-3.7/pystruct/utils/graph_functions.py build/lib.linux-x86_64-3.7/pystruct/utils/inference.py build/lib.linux-x86_64-3.7/pystruct/utils/graph.py build/lib.linux-x86_64-3.7/pystruct/utils/init.py build/lib.linux-x86_64-3.7/pystruct/utils/logging.py build/lib.linux-x86_64-3.7/pystruct/utils/plotting.py build/lib.linux-x86_64-3.7/pystruct/datasets/init.py build/lib.linux-x86_64-3.7/pystruct/datasets/synthetic_grids.py build/lib.linux-x86_64-3.7/pystruct/datasets/dataset_loaders.py build/lib.linux-x86_64-3.7/pystruct/tests/test_datasets.py build/lib.linux-x86_64-3.7/pystruct/tests/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_libraries.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_structured_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_one_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_edge_feature_graph_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_primal_dual.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_crammer_singer_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_node_crf_learning.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_graph_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_subgradient_latent_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_perceptron.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_binary_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_n_slack_ssvm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_learners/test_frankwolfe_svm.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_grid_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_node_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_latent_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_chain_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_directional_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_multilabel_problem.py build/lib.linux-x86_64-3.7/pystruct/tests/test_models/test_node_type_edge_feature_graph_crf.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_maxprod.py build/lib.linux-x86_64-3.7/pystruct/tests/test_inference/test_exact_inference.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_logging.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/init.py build/lib.linux-x86_64-3.7/pystruct/tests/test_utils/test_utils_inference.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
building 'pystruct.models.utils' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/src
gcc -pthread -B /home/hadoop/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/hadoop/.local/lib/python3.7/site-packages/numpy/core/include -I/home/hadoop/anaconda3/include/python3.7m -c src/utils.c -o build/temp.linux-x86_64-3.7/src/utils.o
src/utils.c: In function ‘__pyx_pf_5utils_32loss_augment_unaries’:
src/utils.c:5552:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
__pyx_t_6 = ((__pyx_v_s == (
((unsigned int ) ( / dim=0 */ (__pyx_v_y.data + __pyx_t_5 * __pyx_v_y.strides[0]) )))) != 0);
^~
src/utils.c: In function ‘__Pyx_ExceptionSave’:
src/utils.c:17843:21: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
*type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:17844:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:17845:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c: In function ‘__Pyx_ExceptionReset’:
src/utils.c:17857:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:17858:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:17859:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c:17860:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = type;
^~~~~~~~
curexc_type
src/utils.c:17861:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
src/utils.c:17862:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c: In function ‘__Pyx_GetException’:
src/utils.c:17905:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:17906:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:17907:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c:17908:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = local_type;
^~~~~~~~
curexc_type
src/utils.c:17909:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
src/utils.c:17910:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c: In function ‘__Pyx_ExceptionSwap’:
src/utils.c:19369:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
src/utils.c:19370:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
src/utils.c:19371:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
src/utils.c:19372:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = *type;
^~~~~~~~
curexc_type
src/utils.c:19373:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = *value;
^~~~~~~~~
curexc_value
src/utils.c:19374:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = *tb;
^~~~~~~~~~~~~
curexc_traceback
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command "/home/hadoop/anaconda3/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-731u77ff/pystruct/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-07xf1jq1/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-731u77ff/pystruct/
�[?25hNote: you may need to restart the kernel to use updated packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions