Web3.py: Issue Pip Installing Web3

Created on 2 Sep 2020  路  10Comments  路  Source: ethereum/web3.py

  • Version: latest
  • Python: 3.8
  • OS: linux
  • pip freeze output
(base) kaleb@imitator:~/crypto_trading$ pip freeze
aiohttp==3.6.2
asn1crypto==0.24.0
async-timeout==3.0.1
asyncio==3.4.3
attrdict==2.0.1
attrs==20.1.0
base58==2.0.1
beautifulsoup4==4.9.1
bitarray==1.5.3
certifi==2018.11.29
cffi==1.14.0
chardet==3.0.4
conda==4.8.4
conda-package-handling==1.7.0
cryptography==2.9.2
eth-hash==0.2.0
eth-typing==2.2.1
funcy==1.14
hexbytes==0.2.1
idna==2.8
importlib-metadata==1.7.0
ipfshttpclient==0.6.1
jsonschema==3.2.0
more-itertools==8.5.0
multiaddr==0.0.9
multidict==4.7.6
nest-asyncio==1.4.0
netaddr==0.8.0
numpy==1.19.1
pandas==1.1.1
parsimonious==0.8.1
protobuf==3.13.0
pyaml==20.4.0
pycosat==0.6.3
pycparser==2.19
pycryptodome==3.9.8
pyOpenSSL==18.0.0
pyrsistent==0.16.0
PySocks==1.6.8
python-dateutil==2.8.1
pytz==2020.1
PyYAML==5.3.1
requests==2.21.0
ruamel-yaml==0.15.87
six==1.12.0
soupsieve==2.0.1
toolz==0.10.0
tqdm==4.48.2
typing-extensions==3.7.4.3
urllib3==1.24.1
varint==1.0.2
websockets==8.1
yarl==1.5.1
zipp==3.1.0

What was wrong?

I am getting an error while trying to pip web3

  • The code which produced the error
(base) kaleb@imitator:~/crypto_trading$ pip install web3
Collecting web3
  Using cached web3-5.12.1-py3-none-any.whl (467 kB)
Requirement already satisfied: eth-hash[pycryptodome]<1.0.0,>=0.2.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (0.2.0)
Collecting eth-utils<2.0.0,>=1.9.5
  Using cached eth_utils-1.9.5-py3-none-any.whl (23 kB)
Requirement already satisfied: jsonschema<4.0.0,>=3.2.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (3.2.0)
Requirement already satisfied: eth-typing<3.0.0,>=2.0.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (2.2.1)
Requirement already satisfied: hexbytes<1.0.0,>=0.1.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (0.2.1)
Collecting lru-dict<2.0.0,>=1.1.6
  Using cached lru-dict-1.1.6.tar.gz (9.4 kB)
Requirement already satisfied: protobuf<4,>=3.10.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (3.13.0)
Requirement already satisfied: requests<3.0.0,>=2.16.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (2.21.0)
Collecting eth-account<0.6.0,>=0.5.3
  Using cached eth_account-0.5.3-py3-none-any.whl (94 kB)
Requirement already satisfied: ipfshttpclient<1,>=0.4.13 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (0.6.1)
Collecting eth-abi<3.0.0,>=2.0.0b6
  Using cached eth_abi-2.1.1-py3-none-any.whl (27 kB)
Requirement already satisfied: websockets<9.0.0,>=8.1.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from web3) (8.1)
Requirement already satisfied: pycryptodome<4,>=3.6.6; extra == "pycryptodome" in /home/kaleb/miniconda3/lib/python3.8/site-packages (from eth-hash[pycryptodome]<1.0.0,>=0.2.0->web3) (3.9.8)
Collecting cytoolz<1.0.0,>=0.10.1; implementation_name == "cpython"
  Using cached cytoolz-0.10.1.tar.gz (475 kB)
Requirement already satisfied: six>=1.11.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (1.12.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (0.16.0)
Requirement already satisfied: attrs>=17.4.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (20.1.0)
Requirement already satisfied: setuptools in /home/kaleb/miniconda3/lib/python3.8/site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (46.4.0.post20200518)
Requirement already satisfied: idna<2.9,>=2.5 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from requests<3.0.0,>=2.16.0->web3) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from requests<3.0.0,>=2.16.0->web3) (2018.11.29)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from requests<3.0.0,>=2.16.0->web3) (1.24.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from requests<3.0.0,>=2.16.0->web3) (3.0.4)
Collecting eth-keyfile<0.6.0,>=0.5.0
  Using cached eth_keyfile-0.5.1-py3-none-any.whl (8.3 kB)
Collecting eth-keys!=0.3.2,<0.4.0,>=0.2.1
  Using cached eth_keys-0.3.3-py3-none-any.whl (20 kB)
Collecting rlp<=2.0.0.alpha-1,>=1.0.0
  Using cached rlp-2.0.0a1-py2.py3-none-any.whl (19 kB)
Collecting bitarray<1.3.0,>=1.2.1
  Using cached bitarray-1.2.2.tar.gz (48 kB)
Collecting eth-rlp<1,>=0.1.2
  Using cached eth_rlp-0.2.0-py3-none-any.whl (5.0 kB)
Requirement already satisfied: multiaddr>=0.0.7 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from ipfshttpclient<1,>=0.4.13->web3) (0.0.9)
Requirement already satisfied: parsimonious<0.9.0,>=0.8.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from eth-abi<3.0.0,>=2.0.0b6->web3) (0.8.1)
Requirement already satisfied: toolz>=0.8.0 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from cytoolz<1.0.0,>=0.10.1; implementation_name == "cpython"->eth-utils<2.0.0,>=1.9.5->web3) (0.10.0)
Collecting rusty-rlp<0.2,>=0.1.15
  Using cached rusty_rlp-0.1.15-cp38-cp38-manylinux1_x86_64.whl (143 kB)
Requirement already satisfied: netaddr in /home/kaleb/miniconda3/lib/python3.8/site-packages (from multiaddr>=0.0.7->ipfshttpclient<1,>=0.4.13->web3) (0.8.0)
Requirement already satisfied: varint in /home/kaleb/miniconda3/lib/python3.8/site-packages (from multiaddr>=0.0.7->ipfshttpclient<1,>=0.4.13->web3) (1.0.2)
Requirement already satisfied: base58 in /home/kaleb/miniconda3/lib/python3.8/site-packages (from multiaddr>=0.0.7->ipfshttpclient<1,>=0.4.13->web3) (2.0.1)
Building wheels for collected packages: lru-dict, cytoolz, bitarray
  Building wheel for lru-dict (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h9r_sjdf/lru-dict/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h9r_sjdf/lru-dict/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-az9ijoef
       cwd: /tmp/pip-install-h9r_sjdf/lru-dict/
  Complete output (9 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'lru' extension
  creating build
  creating build/temp.linux-x86_64-3.8
  gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c lru.c -o build/temp.linux-x86_64-3.8/lru.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for lru-dict
  Running setup.py clean for lru-dict
  Building wheel for cytoolz (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h9r_sjdf/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h9r_sjdf/cytoolz/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-fz4yrs3i
       cwd: /tmp/pip-install-h9r_sjdf/cytoolz/
  Complete output (54 lines):
  ALERT: Cython not installed.  Building without Cython.
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/_version.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/utils_test.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz
  creating build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/curried/operator.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/curried/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/curried/exceptions.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/dicttoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/utils.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/itertoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/recipes.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/functoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/functoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/recipes.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/dicttoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/__init__.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/itertoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/utils.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/cpython.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  creating build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_itertoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_serialization.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_curried_toolzlike.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_none_safe.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_utils.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_tlz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_docstrings.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_doctests.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_curried.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_dicttoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_embedded_sigs.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_recipes.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_functoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_inspect_args.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  running build_ext
  building 'cytoolz.dicttoolz' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/cytoolz
  gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c cytoolz/dicttoolz.c -o build/temp.linux-x86_64-3.8/cytoolz/dicttoolz.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for cytoolz
  Running setup.py clean for cytoolz
  Building wheel for bitarray (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h9r_sjdf/bitarray/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h9r_sjdf/bitarray/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-l2_xxqz1
       cwd: /tmp/pip-install-h9r_sjdf/bitarray/
  Complete output (17 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/test_util.py -> build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/__init__.py -> build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/test_bitarray.py -> build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/util.py -> build/lib.linux-x86_64-3.8/bitarray
  running build_ext
  building 'bitarray._bitarray' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/bitarray
  gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c bitarray/_bitarray.c -o build/temp.linux-x86_64-3.8/bitarray/_bitarray.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for bitarray
  Running setup.py clean for bitarray
Failed to build lru-dict cytoolz bitarray
Installing collected packages: cytoolz, eth-utils, lru-dict, eth-keys, eth-keyfile, rusty-rlp, rlp, bitarray, eth-rlp, eth-abi, eth-account, web3
    Running setup.py install for cytoolz ... error
    ERROR: Command errored out with exit status 1:
     command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h9r_sjdf/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h9r_sjdf/cytoolz/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-k_i7uo0k/install-record.txt --single-version-externally-managed --compile --install-headers /home/kaleb/miniconda3/include/python3.8/cytoolz
         cwd: /tmp/pip-install-h9r_sjdf/cytoolz/
    Complete output (54 lines):
    ALERT: Cython not installed.  Building without Cython.
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/_version.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/utils_test.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz
    creating build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/curried/operator.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/curried/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/curried/exceptions.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/dicttoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/utils.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/itertoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/recipes.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/functoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/functoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/recipes.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/dicttoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/__init__.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/itertoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/utils.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/cpython.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    creating build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_itertoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_serialization.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_curried_toolzlike.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_none_safe.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_utils.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_tlz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_docstrings.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_doctests.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_curried.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_dicttoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_embedded_sigs.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_recipes.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_functoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_inspect_args.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    running build_ext
    building 'cytoolz.dicttoolz' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/cytoolz
    gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c cytoolz/dicttoolz.c -o build/temp.linux-x86_64-3.8/cytoolz/dicttoolz.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h9r_sjdf/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h9r_sjdf/cytoolz/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-k_i7uo0k/install-record.txt --single-version-externally-managed --compile --install-headers /home/kaleb/miniconda3/include/python3.8/cytoolz Check the logs for full command output.

Also I tried pip installing lru-dict and got the below:

(base) kaleb@imitator:~/crypto_trading$ pip install lru-dict
Collecting lru-dict
  Using cached lru-dict-1.1.6.tar.gz (9.4 kB)
Building wheels for collected packages: lru-dict
  Building wheel for lru-dict (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tf1p2zat/lru-dict/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tf1p2zat/lru-dict/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-7ios8_tx
       cwd: /tmp/pip-install-tf1p2zat/lru-dict/
  Complete output (9 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'lru' extension
  creating build
  creating build/temp.linux-x86_64-3.8
  gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c lru.c -o build/temp.linux-x86_64-3.8/lru.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for lru-dict
  Running setup.py clean for lru-dict
Failed to build lru-dict
Installing collected packages: lru-dict
    Running setup.py install for lru-dict ... error
    ERROR: Command errored out with exit status 1:
     command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tf1p2zat/lru-dict/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tf1p2zat/lru-dict/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-fz5l3_0a/install-record.txt --single-version-externally-managed --compile --install-headers /home/kaleb/miniconda3/include/python3.8/lru-dict
         cwd: /tmp/pip-install-tf1p2zat/lru-dict/
    Complete output (9 lines):
    running install
    running build
    running build_ext
    building 'lru' extension
    creating build
    creating build/temp.linux-x86_64-3.8
    gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c lru.c -o build/temp.linux-x86_64-3.8/lru.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tf1p2zat/lru-dict/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tf1p2zat/lru-dict/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-fz5l3_0a/install-record.txt --single-version-externally-managed --compile --install-headers /home/kaleb/miniconda3/include/python3.8/lru-dict Check the logs for full command output.

Most helpful comment

ok seemed like it worked now needed sudo apt-get install python3-dev thanks @kclowes

All 10 comments

@kaleb-keny I would try reinstalling gcc. I've been having trouble with gcc lately too, but I thought it was something with my local environment. I use homebrew so brew reinstall gcc. If that doesn't work, then I've had success with full uninstall and reinstall:

brew uninstall gcc
brew install gcc

Feel free to reach back out if neither of those work

@kclowes , I just uninstalled and reinstalled it and got maybe an error without a problem with gcc

gcc reinstallation worked

(base) kaleb@imitator:~$ brew install gcc
==> Downloading https://linuxbrew.bintray.com/bottles/gcc-5.5.0_7.x86_64_linux.bottle.tar.gz
Already downloaded: /home/kaleb/.cache/Homebrew/downloads/b91d14d1e15ddd20f9b3114d36aa006c86f2ecf8aa07e5c328ab950e9b4c40f8--gcc-5.5.0_7.x86_64_linux.bottle.tar.gz
==> Pouring gcc-5.5.0_7.x86_64_linux.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall gcc`
==> Summary
馃嵑  /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7: 1,340 files, 174.8MB

but the issue persists

Building wheels for collected packages: lru-dict, cytoolz, bitarray
  Building wheel for lru-dict (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4d5o_mnc/lru-dict/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4d5o_mnc/lru-dict/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-hh0640ef
       cwd: /tmp/pip-install-4d5o_mnc/lru-dict/
  Complete output (14 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'lru' extension
  creating build
  creating build/temp.linux-x86_64-3.8
  gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c lru.c -o build/temp.linux-x86_64-3.8/lru.o
  In file included from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/syslimits.h:7:0,
                   from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:34,
                   from /home/kaleb/miniconda3/include/python3.8/Python.h:11,
                   from lru.c:1:
  /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for lru-dict
  Running setup.py clean for lru-dict
  Building wheel for cytoolz (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4d5o_mnc/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4d5o_mnc/cytoolz/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-wi2f1b3e
       cwd: /tmp/pip-install-4d5o_mnc/cytoolz/
  Complete output (59 lines):
  ALERT: Cython not installed.  Building without Cython.
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/_version.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/utils_test.py -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz
  creating build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/curried/operator.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/curried/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/curried/exceptions.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
  copying cytoolz/dicttoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/utils.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/itertoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/recipes.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/functoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/functoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/recipes.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/dicttoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/__init__.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/itertoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/utils.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  copying cytoolz/cpython.pxd -> build/lib.linux-x86_64-3.8/cytoolz
  creating build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_itertoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_serialization.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_curried_toolzlike.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_none_safe.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_utils.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_tlz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_docstrings.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_doctests.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_curried.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_dicttoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_embedded_sigs.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_recipes.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_functoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  copying cytoolz/tests/test_inspect_args.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
  running build_ext
  building 'cytoolz.dicttoolz' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/cytoolz
  gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c cytoolz/dicttoolz.c -o build/temp.linux-x86_64-3.8/cytoolz/dicttoolz.o
  In file included from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/syslimits.h:7:0,
                   from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:34,
                   from /home/kaleb/miniconda3/include/python3.8/Python.h:11,
                   from cytoolz/dicttoolz.c:17:
  /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for cytoolz
  Running setup.py clean for cytoolz
  Building wheel for bitarray (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4d5o_mnc/bitarray/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4d5o_mnc/bitarray/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-4tpeiji7
       cwd: /tmp/pip-install-4d5o_mnc/bitarray/
  Complete output (22 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/test_util.py -> build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/__init__.py -> build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/test_bitarray.py -> build/lib.linux-x86_64-3.8/bitarray
  copying bitarray/util.py -> build/lib.linux-x86_64-3.8/bitarray
  running build_ext
  building 'bitarray._bitarray' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/bitarray
  gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c bitarray/_bitarray.c -o build/temp.linux-x86_64-3.8/bitarray/_bitarray.o
  In file included from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/syslimits.h:7:0,
                   from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:34,
                   from /home/kaleb/miniconda3/include/python3.8/Python.h:11,
                   from bitarray/_bitarray.c:12:
  /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for bitarray
  Running setup.py clean for bitarray
Failed to build lru-dict cytoolz bitarray
Installing collected packages: cytoolz, eth-utils, lru-dict, eth-abi, eth-keys, eth-keyfile, bitarray, rusty-rlp, rlp, eth-rlp, eth-account, web3
    Running setup.py install for cytoolz ... error
    ERROR: Command errored out with exit status 1:
     command: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4d5o_mnc/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4d5o_mnc/cytoolz/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-xh9h10y4/install-record.txt --single-version-externally-managed --compile --install-headers /home/kaleb/miniconda3/include/python3.8/cytoolz
         cwd: /tmp/pip-install-4d5o_mnc/cytoolz/
    Complete output (59 lines):
    ALERT: Cython not installed.  Building without Cython.
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/_version.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/utils_test.py -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz
    creating build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/curried/operator.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/curried/__init__.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/curried/exceptions.py -> build/lib.linux-x86_64-3.8/cytoolz/curried
    copying cytoolz/dicttoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/utils.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/itertoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/recipes.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/functoolz.pyx -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/functoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/recipes.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/dicttoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/__init__.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/itertoolz.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/utils.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    copying cytoolz/cpython.pxd -> build/lib.linux-x86_64-3.8/cytoolz
    creating build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_itertoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_serialization.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_curried_toolzlike.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_signatures.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_none_safe.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/dev_skip_test.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_compatibility.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_utils.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_tlz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_docstrings.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_doctests.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_curried.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_dicttoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_embedded_sigs.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_recipes.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_functoolz.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    copying cytoolz/tests/test_inspect_args.py -> build/lib.linux-x86_64-3.8/cytoolz/tests
    running build_ext
    building 'cytoolz.dicttoolz' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/cytoolz
    gcc -pthread -B /home/kaleb/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kaleb/miniconda3/include/python3.8 -c cytoolz/dicttoolz.c -o build/temp.linux-x86_64-3.8/cytoolz/dicttoolz.o
    In file included from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/syslimits.h:7:0,
                     from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:34,
                     from /home/kaleb/miniconda3/include/python3.8/Python.h:11,
                     from cytoolz/dicttoolz.c:17:
    /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/kaleb/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4d5o_mnc/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4d5o_mnc/cytoolz/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-xh9h10y4/install-record.txt --single-version-externally-managed --compile --install-headers /home/kaleb/miniconda3/include/

ok seemed like it worked now needed sudo apt-get install python3-dev thanks @kclowes

I have the same issue on ubuntu 20.04, removing and reinstalling python3-dev does not help. Python version 3.8.2.

python3-dev doesn't help with 20.04

@randomlogin @programerr01 Please open a new issue with a stack trace, and I'll help debug. Thanks!

if someone still have problem with this, please check this https://stackoverflow.com/a/57698471/8977328
the name of the python3-dev seems to be changed. now you have to install this one
sudo apt install libpython3.9-dev

Thanks @korchix "sudo apt install libpython3.9-dev" worked for me.

if someone still have problem with this, please check this https://stackoverflow.com/a/57698471/8977328
the name of the python3-dev seems to be changed. now you have to install this one
sudo apt install libpython3.9-dev

Thanks! This works for me and really saved my day.

Was this page helpful?
0 / 5 - 0 ratings