pgmpy install
周玺
2023-12-01
pgmpy README.md setup.py
(anaconda3-4.1.0) [li000@localhost pgmpy]$ sudo python3 setup.py install
----
running install
running bdist_egg
running egg_info
writing dependency_links to pgmpy.egg-info/dependency_links.txt
writing requirements to pgmpy.egg-info/requires.txt
writing pgmpy.egg-info/PKG-INFO
writing top-level names to pgmpy.egg-info/top_level.txt
reading manifest file 'pgmpy.egg-info/SOURCES.txt'
writing manifest file 'pgmpy.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pgmpy
creating build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/NoisyOrModel.py -> build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/MarkovModel.py -> build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/ClusterGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/FactorGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/BayesianModel.py -> build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/DynamicBayesianNetwork.py -> build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/models
copying build/lib/pgmpy/models/JunctionTree.py -> build/bdist.linux-x86_64/egg/pgmpy/models
creating build/bdist.linux-x86_64/egg/pgmpy/factors
copying build/lib/pgmpy/factors/CPD.py -> build/bdist.linux-x86_64/egg/pgmpy/factors
copying build/lib/pgmpy/factors/FactorSet.py -> build/bdist.linux-x86_64/egg/pgmpy/factors
copying build/lib/pgmpy/factors/JointProbabilityDistribution.py -> build/bdist.linux-x86_64/egg/pgmpy/factors
copying build/lib/pgmpy/factors/Factor.py -> build/bdist.linux-x86_64/egg/pgmpy/factors
copying build/lib/pgmpy/factors/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/factors
creating build/bdist.linux-x86_64/egg/pgmpy/estimators
copying build/lib/pgmpy/estimators/MLE.py -> build/bdist.linux-x86_64/egg/pgmpy/estimators
copying build/lib/pgmpy/estimators/Bayesian.py -> build/bdist.linux-x86_64/egg/pgmpy/estimators
copying build/lib/pgmpy/estimators/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/estimators
copying build/lib/pgmpy/estimators/base.py -> build/bdist.linux-x86_64/egg/pgmpy/estimators
creating build/bdist.linux-x86_64/egg/pgmpy/extern
copying build/lib/pgmpy/extern/tabulate.py -> build/bdist.linux-x86_64/egg/pgmpy/extern
copying build/lib/pgmpy/extern/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/extern
creating build/bdist.linux-x86_64/egg/pgmpy/tests
creating build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite
copying build/lib/pgmpy/tests/test_readwrite/test_XMLBIF.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite
copying build/lib/pgmpy/tests/test_readwrite/test_ProbModelXML.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite
copying build/lib/pgmpy/tests/test_readwrite/test_PomdpX.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite
copying build/lib/pgmpy/tests/test_readwrite/test_XMLBeliefNetwork.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite
copying build/lib/pgmpy/tests/test_readwrite/test_UAI.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite
copying build/lib/pgmpy/tests/test_readwrite/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite
creating build/bdist.linux-x86_64/egg/pgmpy/tests/test_factors
copying build/lib/pgmpy/tests/test_factors/test_FactorSet.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_factors
copying build/lib/pgmpy/tests/test_factors/test_Factor.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_factors
copying build/lib/pgmpy/tests/test_factors/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_factors
creating build/bdist.linux-x86_64/egg/pgmpy/tests/test_independencies
copying build/lib/pgmpy/tests/test_independencies/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_independencies
copying build/lib/pgmpy/tests/test_independencies/test_Independencies.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_independencies
creating build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/test_DynamicBayesianNetwork.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/test_MarkovModel.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/test_NoisyOrModels.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/test_ClusterGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/test_FactorGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/test_JunctionTree.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/test_models/test_BayesianModel.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_models
copying build/lib/pgmpy/tests/help_functions.py -> build/bdist.linux-x86_64/egg/pgmpy/tests
creating build/bdist.linux-x86_64/egg/pgmpy/tests/test_base
copying build/lib/pgmpy/tests/test_base/test_UndirectedGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_base
copying build/lib/pgmpy/tests/test_base/test_DirectedGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_base
copying build/lib/pgmpy/tests/test_base/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_base
copying build/lib/pgmpy/tests/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/tests
creating build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference
copying build/lib/pgmpy/tests/test_inference/test_ExactInference.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference
copying build/lib/pgmpy/tests/test_inference/test_Inference.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference
copying build/lib/pgmpy/tests/test_inference/test_Sampling.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference
copying build/lib/pgmpy/tests/test_inference/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference
creating build/bdist.linux-x86_64/egg/pgmpy/inference
copying build/lib/pgmpy/inference/ExactInference.py -> build/bdist.linux-x86_64/egg/pgmpy/inference
copying build/lib/pgmpy/inference/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/inference
copying build/lib/pgmpy/inference/Sampling.py -> build/bdist.linux-x86_64/egg/pgmpy/inference
copying build/lib/pgmpy/inference/base.py -> build/bdist.linux-x86_64/egg/pgmpy/inference
creating build/bdist.linux-x86_64/egg/pgmpy/base
copying build/lib/pgmpy/base/UndirectedGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/base
copying build/lib/pgmpy/base/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/base
copying build/lib/pgmpy/base/DirectedGraph.py -> build/bdist.linux-x86_64/egg/pgmpy/base
creating build/bdist.linux-x86_64/egg/pgmpy/utils
copying build/lib/pgmpy/utils/mathext.py -> build/bdist.linux-x86_64/egg/pgmpy/utils
copying build/lib/pgmpy/utils/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/utils
creating build/bdist.linux-x86_64/egg/pgmpy/independencies
copying build/lib/pgmpy/independencies/Independencies.py -> build/bdist.linux-x86_64/egg/pgmpy/independencies
copying build/lib/pgmpy/independencies/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/independencies
creating build/bdist.linux-x86_64/egg/pgmpy/readwrite
copying build/lib/pgmpy/readwrite/PomdpX.py -> build/bdist.linux-x86_64/egg/pgmpy/readwrite
copying build/lib/pgmpy/readwrite/ProbModelXML.py -> build/bdist.linux-x86_64/egg/pgmpy/readwrite
copying build/lib/pgmpy/readwrite/XMLBIF.py -> build/bdist.linux-x86_64/egg/pgmpy/readwrite
copying build/lib/pgmpy/readwrite/UAI.py -> build/bdist.linux-x86_64/egg/pgmpy/readwrite
copying build/lib/pgmpy/readwrite/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/readwrite
copying build/lib/pgmpy/readwrite/XMLBeliefNetwork.py -> build/bdist.linux-x86_64/egg/pgmpy/readwrite
creating build/bdist.linux-x86_64/egg/pgmpy/exceptions
copying build/lib/pgmpy/exceptions/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy/exceptions
copying build/lib/pgmpy/exceptions/Exceptions.py -> build/bdist.linux-x86_64/egg/pgmpy/exceptions
copying build/lib/pgmpy/__init__.py -> build/bdist.linux-x86_64/egg/pgmpy
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/NoisyOrModel.py to NoisyOrModel.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/MarkovModel.py to MarkovModel.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/ClusterGraph.py to ClusterGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/FactorGraph.py to FactorGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/BayesianModel.py to BayesianModel.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/DynamicBayesianNetwork.py to DynamicBayesianNetwork.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/models/JunctionTree.py to JunctionTree.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/factors/CPD.py to CPD.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/factors/FactorSet.py to FactorSet.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/factors/JointProbabilityDistribution.py to JointProbabilityDistribution.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/factors/Factor.py to Factor.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/factors/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/estimators/MLE.py to MLE.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/estimators/Bayesian.py to Bayesian.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/estimators/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/estimators/base.py to base.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/extern/tabulate.py to tabulate.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/extern/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite/test_XMLBIF.py to test_XMLBIF.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite/test_ProbModelXML.py to test_ProbModelXML.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite/test_PomdpX.py to test_PomdpX.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite/test_XMLBeliefNetwork.py to test_XMLBeliefNetwork.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite/test_UAI.py to test_UAI.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_readwrite/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_factors/test_FactorSet.py to test_FactorSet.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_factors/test_Factor.py to test_Factor.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_factors/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_independencies/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_independencies/test_Independencies.py to test_Independencies.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/test_DynamicBayesianNetwork.py to test_DynamicBayesianNetwork.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/test_MarkovModel.py to test_MarkovModel.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/test_NoisyOrModels.py to test_NoisyOrModels.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/test_ClusterGraph.py to test_ClusterGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/test_FactorGraph.py to test_FactorGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/test_JunctionTree.py to test_JunctionTree.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_models/test_BayesianModel.py to test_BayesianModel.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/help_functions.py to help_functions.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_base/test_UndirectedGraph.py to test_UndirectedGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_base/test_DirectedGraph.py to test_DirectedGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_base/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference/test_ExactInference.py to test_ExactInference.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference/test_Inference.py to test_Inference.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference/test_Sampling.py to test_Sampling.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/tests/test_inference/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/inference/ExactInference.py to ExactInference.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/inference/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/inference/Sampling.py to Sampling.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/inference/base.py to base.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/base/UndirectedGraph.py to UndirectedGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/base/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/base/DirectedGraph.py to DirectedGraph.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/utils/mathext.py to mathext.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/utils/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/independencies/Independencies.py to Independencies.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/independencies/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/readwrite/PomdpX.py to PomdpX.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/readwrite/ProbModelXML.py to ProbModelXML.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/readwrite/XMLBIF.py to XMLBIF.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/readwrite/UAI.py to UAI.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/readwrite/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/readwrite/XMLBeliefNetwork.py to XMLBeliefNetwork.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/exceptions/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/exceptions/Exceptions.py to Exceptions.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/pgmpy/__init__.py to __init__.cpython-35.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pgmpy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pgmpy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pgmpy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pgmpy.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pgmpy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/pgmpy-0.1.0-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pgmpy-0.1.0-py3.5.egg
Removing /usr/lib/python3.5/site-packages/pgmpy-0.1.0-py3.5.egg
Copying pgmpy-0.1.0-py3.5.egg to /usr/lib/python3.5/site-packages
pgmpy 0.1.0 is already the active version in easy-install.pth
Installed /usr/lib/python3.5/site-packages/pgmpy-0.1.0-py3.5.egg
Processing dependencies for pgmpy==0.1.0
Searching for numpy>=1.7.0
Reading https://pypi.python.org/simple/numpy/
Downloading https://pypi.python.org/packages/a5/16/8a678404411842fe02d780b5f0a676ff4d79cd58f0f22acddab1b392e230/numpy-1.12.1.zip#md5=c75b072a984028ac746a6a332c209a91
Best match: numpy 1.12.1
Processing numpy-1.12.1.zip
Writing /tmp/easy_install-sbxur3xx/numpy-1.12.1/setup.cfg
Running numpy-1.12.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-sbxur3xx/numpy-1.12.1/egg-dist-tmp-e2telr64
Running from numpy source directory.
/tmp/easy_install-sbxur3xx/numpy-1.12.1/setup.py:366: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/system_info.py:572: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
self.calc_info()
/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/system_info.py:572: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/system_info.py:572: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
non-existing path in 'numpy/distutils': 'site.cfg'
/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/system_info.py:572: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
self.calc_info()
/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/system_info.py:572: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
self.calc_info()
/usr/lib64/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
gcc: 错误:/usr/lib/rpm/redhat/redhat-hardened-cc1:No such file or directory
gcc: 错误ï¼/usr/lib/rpm/redhat/redhat-hardened-cc1ï¼No such file or directory
^[[?62;c^[[?62;cTraceback (most recent call last):
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 156, in save_modules
yield saved
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 197, in setup_context
yield
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 246, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 276, in run
return func()
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 245, in runner
_execfile(setup_script, ns)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/setup.py", line 391, in <module>
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/setup.py", line 383, in setup_package
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/core.py", line 169, in setup
File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 152, in run
self.run_command("egg_info")
File "/usr/lib64/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/egg_info.py", line 18, in run
File "/usr/lib64/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 148, in run
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 159, in build_sources
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 294, in build_library_sources
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 377, in generate_sources
File "numpy/core/setup.py", line 665, in get_mathlib_info
RuntimeError: Broken toolchain: cannot link a simple C program
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 28, in <module>
"coveralls >= 0.4"
File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/lib/python3.5/site-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 408, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 644, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 695, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 740, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 826, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1098, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1110, in obtain
return installer(requirement)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 663, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 693, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 874, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1113, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1099, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 249, in run_setup
raise
File "/usr/lib64/python3.5/contextlib.py", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 197, in setup_context
yield
File "/usr/lib64/python3.5/contextlib.py", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 168, in save_modules
saved_exc.resume()
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 143, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3.5/site-packages/pkg_resources/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 156, in save_modules
yield saved
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 197, in setup_context
yield
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 246, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 276, in run
return func()
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 245, in runner
_execfile(setup_script, ns)
File "/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/setup.py", line 391, in <module>
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/setup.py", line 383, in setup_package
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/core.py", line 169, in setup
File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 152, in run
self.run_command("egg_info")
File "/usr/lib64/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/egg_info.py", line 18, in run
File "/usr/lib64/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 148, in run
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 159, in build_sources
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 294, in build_library_sources
File "/tmp/easy_install-sbxur3xx/numpy-1.12.1/numpy/distutils/command/build_src.py", line 377, in generate_sources
File "numpy/core/setup.py", line 665, in get_mathlib_info
RuntimeError: Broken toolchain: cannot link a simple C program
(anaconda3-4.1.0) [liufengthinkpad@localhost pgmpy]$ 62;c62;c