Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

[fatal error - python setup.py install] #856

Open
pilippe opened this issue Jan 26, 2018 · 2 comments
Open

[fatal error - python setup.py install] #856

pilippe opened this issue Jan 26, 2018 · 2 comments

Comments

@pilippe
Copy link

pilippe commented Jan 26, 2018

I got following fatal error on pyethereum installation.
What's the problem?

winz@winz-VirtualBox:~/jmr18/pyethereum$python setup.py install --user
running install
running bdist_egg
running egg_info
writing requirements to ethereum.egg-info/requires.txt
writing ethereum.egg-info/PKG-INFO
writing top-level names to ethereum.egg-info/top_level.txt
writing dependency_links to ethereum.egg-info/dependency_links.txt
reading manifest file 'ethereum.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ethereum.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/tools
copying build/lib.linux-x86_64-2.7/tools/vm_test_generator.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/mk_modexp_tests.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/mk_ecmul_tests.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/evm.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/random_vm_test_generator.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/fixture_to_example.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/keystorer.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/init.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/mk_ecpairing_tests.py -> build/bdist.linux-x86_64/egg/tools
copying build/lib.linux-x86_64-2.7/tools/mk_ecadd_tests.py -> build/bdist.linux-x86_64/egg/tools
creating build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/fast_rlp.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/fastvm.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/consensus_strategy.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/trie.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/new_state.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/db.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/securetrie.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/messages.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/snapshot.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/abi.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/specials.py -> build/bdist.linux-x86_64/egg/ethereum
creating build/bdist.linux-x86_64/egg/ethereum/experimental
copying build/lib.linux-x86_64-2.7/ethereum/experimental/fastvm.py -> build/bdist.linux-x86_64/egg/ethereum/experimental
copying build/lib.linux-x86_64-2.7/ethereum/experimental/refcount_db.py -> build/bdist.linux-x86_64/egg/ethereum/experimental
copying build/lib.linux-x86_64-2.7/ethereum/experimental/spv.py -> build/bdist.linux-x86_64/egg/ethereum/experimental
copying build/lib.linux-x86_64-2.7/ethereum/experimental/pruning_trie.py -> build/bdist.linux-x86_64/egg/ethereum/experimental
copying build/lib.linux-x86_64-2.7/ethereum/experimental/init.py -> build/bdist.linux-x86_64/egg/ethereum/experimental
creating build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/tools/new_statetest_utils.py -> build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/tools/keys.py -> build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/tools/testutils.py -> build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/tools/tester.py -> build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/tools/testing_lang.py -> build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/tools/_solidity.py -> build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/tools/init.py -> build/bdist.linux-x86_64/egg/ethereum/tools
copying build/lib.linux-x86_64-2.7/ethereum/slogging.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/child_dao_list.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/state.py -> build/bdist.linux-x86_64/egg/ethereum
creating build/bdist.linux-x86_64/egg/ethereum/hybrid_casper
copying build/lib.linux-x86_64-2.7/ethereum/hybrid_casper/casper_utils.py -> build/bdist.linux-x86_64/egg/ethereum/hybrid_casper
copying build/lib.linux-x86_64-2.7/ethereum/hybrid_casper/validator.py -> build/bdist.linux-x86_64/egg/ethereum/hybrid_casper
copying build/lib.linux-x86_64-2.7/ethereum/hybrid_casper/consensus.py -> build/bdist.linux-x86_64/egg/ethereum/hybrid_casper
copying build/lib.linux-x86_64-2.7/ethereum/hybrid_casper/chain.py -> build/bdist.linux-x86_64/egg/ethereum/hybrid_casper
copying build/lib.linux-x86_64-2.7/ethereum/hybrid_casper/casper_initiating_transactions.py -> build/bdist.linux-x86_64/egg/ethereum/hybrid_casper
copying build/lib.linux-x86_64-2.7/ethereum/hybrid_casper/init.py -> build/bdist.linux-x86_64/egg/ethereum/hybrid_casper
copying build/lib.linux-x86_64-2.7/ethereum/compress.py -> build/bdist.linux-x86_64/egg/ethereum
creating build/bdist.linux-x86_64/egg/ethereum/pow
copying build/lib.linux-x86_64-2.7/ethereum/pow/consensus.py -> build/bdist.linux-x86_64/egg/ethereum/pow
copying build/lib.linux-x86_64-2.7/ethereum/pow/chain.py -> build/bdist.linux-x86_64/egg/ethereum/pow
copying build/lib.linux-x86_64-2.7/ethereum/pow/ethash.py -> build/bdist.linux-x86_64/egg/ethereum/pow
copying build/lib.linux-x86_64-2.7/ethereum/pow/ethpow.py -> build/bdist.linux-x86_64/egg/ethereum/pow
copying build/lib.linux-x86_64-2.7/ethereum/pow/init.py -> build/bdist.linux-x86_64/egg/ethereum/pow
copying build/lib.linux-x86_64-2.7/ethereum/pow/ethash_utils.py -> build/bdist.linux-x86_64/egg/ethereum/pow
creating build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_trie.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_state.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_blocks.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_opcodes.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_chain.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_tester.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_compress.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_transactions.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_contracts.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_trie_next_prev.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_serialization.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_genesis.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_db.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/init.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_abi.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/utils.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_bloom.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_difficulty.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/tests/test_keys.py -> build/bdist.linux-x86_64/egg/ethereum/tests
copying build/lib.linux-x86_64-2.7/ethereum/block.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/bloom.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/opcodes.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/transactions.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/vm.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/init.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/transaction_queue.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/exceptions.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/utils.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/common.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/config.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/genesis_helpers.py -> build/bdist.linux-x86_64/egg/ethereum
copying build/lib.linux-x86_64-2.7/ethereum/meta.py -> build/bdist.linux-x86_64/egg/ethereum
byte-compiling build/bdist.linux-x86_64/egg/tools/vm_test_generator.py to vm_test_generator.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/mk_modexp_tests.py to mk_modexp_tests.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/mk_ecmul_tests.py to mk_ecmul_tests.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/evm.py to evm.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/random_vm_test_generator.py to random_vm_test_generator.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/fixture_to_example.py to fixture_to_example.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/keystorer.py to keystorer.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/mk_ecpairing_tests.py to mk_ecpairing_tests.pyc
byte-compiling build/bdist.linux-x86_64/egg/tools/mk_ecadd_tests.py to mk_ecadd_tests.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/fast_rlp.py to fast_rlp.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/fastvm.py to fastvm.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/consensus_strategy.py to consensus_strategy.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/trie.py to trie.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/new_state.py to new_state.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/db.py to db.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/securetrie.py to securetrie.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/messages.py to messages.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/snapshot.py to snapshot.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/abi.py to abi.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/specials.py to specials.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/experimental/fastvm.py to fastvm.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/experimental/refcount_db.py to refcount_db.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/experimental/spv.py to spv.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/experimental/pruning_trie.py to pruning_trie.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/experimental/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tools/new_statetest_utils.py to new_statetest_utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tools/keys.py to keys.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tools/testutils.py to testutils.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tools/tester.py to tester.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tools/testing_lang.py to testing_lang.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tools/_solidity.py to _solidity.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tools/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/slogging.py to slogging.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/child_dao_list.py to child_dao_list.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/state.py to state.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/hybrid_casper/casper_utils.py to casper_utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/hybrid_casper/validator.py to validator.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/hybrid_casper/consensus.py to consensus.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/hybrid_casper/chain.py to chain.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/hybrid_casper/casper_initiating_transactions.py to casper_initiating_transactions.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/hybrid_casper/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/compress.py to compress.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/pow/consensus.py to consensus.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/pow/chain.py to chain.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/pow/ethash.py to ethash.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/pow/ethpow.py to ethpow.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/pow/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/pow/ethash_utils.py to ethash_utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_trie.py to test_trie.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_state.py to test_state.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_blocks.py to test_blocks.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_opcodes.py to test_opcodes.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_chain.py to test_chain.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_tester.py to test_tester.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_compress.py to test_compress.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_transactions.py to test_transactions.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_contracts.py to test_contracts.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_trie_next_prev.py to test_trie_next_prev.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_serialization.py to test_serialization.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_genesis.py to test_genesis.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_db.py to test_db.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_abi.py to test_abi.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_bloom.py to test_bloom.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_difficulty.py to test_difficulty.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/tests/test_keys.py to test_keys.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/block.py to block.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/bloom.py to bloom.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/opcodes.py to opcodes.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/transactions.py to transactions.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/vm.py to vm.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/transaction_queue.py to transaction_queue.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/exceptions.py to exceptions.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/common.py to common.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/config.py to config.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/genesis_helpers.py to genesis_helpers.pyc
byte-compiling build/bdist.linux-x86_64/egg/ethereum/meta.py to meta.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying ethereum.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ethereum.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ethereum.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ethereum.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ethereum.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
ethereum.init: module references file
ethereum.tools.new_statetest_utils: module references file
ethereum.tools.testutils: module references file
ethereum.hybrid_casper.casper_utils: module references file
ethereum.tests.test_trie: module references file
ethereum.tests.test_tester: module references file
creating 'dist/ethereum-2.3.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ethereum-2.3.0-py2.7.egg
removing '/home/winz/.local/lib/python2.7/site-packages/ethereum-2.3.0-py2.7.egg' (and everything under it)
creating /home/winz/.local/lib/python2.7/site-packages/ethereum-2.3.0-py2.7.egg
Extracting ethereum-2.3.0-py2.7.egg to /home/winz/.local/lib/python2.7/site-packages
ethereum 2.3.0 is already the active version in easy-install.pth

Installed /home/winz/.local/lib/python2.7/site-packages/ethereum-2.3.0-py2.7.egg
Processing dependencies for ethereum==2.3.0
Searching for pyethash
Reading https://pypi.python.org/simple/pyethash/
Best match: pyethash 0.1.27
Downloading https://pypi.python.org/packages/6c/40/5bb02ad7e2fae9b04cd0c391dda81213bc786c30c8381b018600cfc7ce62/pyethash-0.1.27.tar.gz#md5=0ede7aff7f9279b2451ecdb187b91590
Processing pyethash-0.1.27.tar.gz
Writing /tmp/easy_install-OG6gQm/pyethash-0.1.27/setup.cfg
Running pyethash-0.1.27/setup.py -q bdist_egg --dist-dir /tmp/easy_install-OG6gQm/pyethash-0.1.27/egg-dist-tmp-eqYicK
src/python/core.c:1:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
winz@winz-VirtualBox:~/jmr18/pyethereum$

@stefanmendoza
Copy link

@pilippe what operating system?

@johnys222
Copy link

I also encountered the same problem, is there a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants