Open
Description
Trying to install inside fresh virtual environment on Ubuntu 20.04 I get the following errors
...
Running setup.py install for mnemonic ... done
Running setup.py install for protobuf ... error
ERROR: Command errored out with exit status 255:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/protobuf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/protobuf/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-gttmjuwd/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/dev/conversation-bot/conversation-bot-venv/include/site/python3.8/protobuf
cwd: /tmp/pip-install-a8ffa0w9/protobuf/
Complete output (5 lines):
running install
running build
running build_py
Generating google/protobuf/descriptor_pb2.py...
Can't find required file: ../src/google/protobuf/descriptor.proto
----------------------------------------
ERROR: Command errored out with exit status 255: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/protobuf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/protobuf/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-gttmjuwd/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/dev/conversation-bot/conversation-bot-venv/include/site/python3.8/protobuf Check the logs for full command output.
full log:
$ python --version
Python 3.8.5
$ pip install pywallet
Collecting pywallet
Downloading pywallet-0.1.0.tar.gz (32 kB)
Collecting base58>=0.2.2
Downloading base58-2.1.0-py3-none-any.whl (5.6 kB)
Collecting ecdsa>=0.11
Downloading ecdsa-0.16.1-py2.py3-none-any.whl (104 kB)
|████████████████████████████████| 104 kB 1.9 MB/s
Collecting pycryptodome>=3.6.6
Downloading pycryptodome-3.10.1-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB)
|████████████████████████████████| 1.9 MB 2.2 MB/s
Requirement already satisfied: six>=1.8.0 in /home/user/dev/conversation-bot/conversation-bot-venv/lib/python3.8/site-packages (from pywallet) (1.15.0)
Collecting two1>=3.10.8
Downloading two1-3.10.9.tar.gz (226 kB)
|████████████████████████████████| 226 kB 3.1 MB/s
Collecting arrow
Using cached arrow-0.17.0-py2.py3-none-any.whl (50 kB)
Collecting click==6.6
Downloading click-6.6-py2.py3-none-any.whl (71 kB)
|████████████████████████████████| 71 kB 3.0 MB/s
Collecting docker-py==1.8.0
Downloading docker_py-1.8.0-py2.py3-none-any.whl (41 kB)
|████████████████████████████████| 41 kB 59 kB/s
Collecting flake8
Using cached flake8-3.8.4-py2.py3-none-any.whl (72 kB)
Collecting jsonrpcclient==2.0.1
Downloading jsonrpcclient-2.0.1.tar.gz (6.4 kB)
Collecting jsonrpcserver==3.1.1
Downloading jsonrpcserver-3.1.1.tar.gz (9.5 kB)
Collecting mnemonic==0.13
Downloading mnemonic-0.13.tar.gz (21 kB)
Collecting path.py
Downloading path.py-12.5.0-py3-none-any.whl (2.3 kB)
Collecting pexpect
Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
|████████████████████████████████| 59 kB 2.8 MB/s
Collecting protobuf==3.0.0a3
Downloading protobuf-3.0.0a3.tar.gz (88 kB)
|████████████████████████████████| 88 kB 2.8 MB/s
Collecting pyaes
Downloading pyaes-1.6.1.tar.gz (28 kB)
Collecting pytest
Downloading pytest-6.2.2-py3-none-any.whl (280 kB)
|████████████████████████████████| 280 kB 3.2 MB/s
Collecting pyyaml
Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
|████████████████████████████████| 662 kB 3.2 MB/s
Collecting requests<=2.11.1
Downloading requests-2.11.1-py2.py3-none-any.whl (514 kB)
|████████████████████████████████| 514 kB 3.1 MB/s
Collecting sha256
Downloading sha256-0.1.tar.gz (30 kB)
Collecting tabulate
Downloading tabulate-0.8.7-py3-none-any.whl (24 kB)
Collecting python-dateutil>=2.7.0
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting websocket-client>=0.32.0
Downloading websocket_client-0.57.0-py2.py3-none-any.whl (200 kB)
|████████████████████████████████| 200 kB 3.2 MB/s
Collecting pyflakes<2.3.0,>=2.2.0
Using cached pyflakes-2.2.0-py2.py3-none-any.whl (66 kB)
Collecting pycodestyle<2.7.0,>=2.6.0a1
Using cached pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB)
Collecting mccabe<0.7.0,>=0.6.0
Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting future
Downloading future-0.18.2.tar.gz (829 kB)
|████████████████████████████████| 829 kB 3.0 MB/s
Collecting jsonschema
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 841 kB/s
Collecting funcsigs
Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)
Collecting pbkdf2
Downloading pbkdf2-1.3.tar.gz (6.4 kB)
Collecting path
Downloading path-15.1.0-py3-none-any.whl (21 kB)
Collecting ptyprocess>=0.5
Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Requirement already satisfied: setuptools in /home/user/dev/conversation-bot/conversation-bot-venv/lib/python3.8/site-packages (from protobuf==3.0.0a3->two1>=3.10.8->pywallet) (44.0.0)
Collecting attrs>=19.2.0
Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting iniconfig
Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting packaging
Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
|████████████████████████████████| 40 kB 1.0 MB/s
Collecting py>=1.8.2
Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting pluggy<1.0.0a1,>=0.12
Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting pyrsistent>=0.14.0
Downloading pyrsistent-0.17.3.tar.gz (106 kB)
|████████████████████████████████| 106 kB 3.1 MB/s
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Building wheels for collected packages: pywallet, two1, jsonrpcclient, jsonrpcserver, mnemonic, protobuf, pyaes, sha256, future, pbkdf2, pyrsistent
Building wheel for pywallet (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/pywallet/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/pywallet/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-acjd0z9d
cwd: /tmp/pip-install-a8ffa0w9/pywallet/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for pywallet
Running setup.py clean for pywallet
Building wheel for two1 (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/two1/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/two1/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-l91emfll
cwd: /tmp/pip-install-a8ffa0w9/two1/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for two1
Running setup.py clean for two1
Building wheel for jsonrpcclient (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/jsonrpcclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/jsonrpcclient/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-lr4jtpmj
cwd: /tmp/pip-install-a8ffa0w9/jsonrpcclient/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for jsonrpcclient
Running setup.py clean for jsonrpcclient
Building wheel for jsonrpcserver (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/jsonrpcserver/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/jsonrpcserver/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-wono4adb
cwd: /tmp/pip-install-a8ffa0w9/jsonrpcserver/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for jsonrpcserver
Running setup.py clean for jsonrpcserver
Building wheel for mnemonic (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/mnemonic/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/mnemonic/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-0ftzm5m7
cwd: /tmp/pip-install-a8ffa0w9/mnemonic/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for mnemonic
Running setup.py clean for mnemonic
Building wheel for protobuf (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/protobuf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/protobuf/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-bkak2l1f
cwd: /tmp/pip-install-a8ffa0w9/protobuf/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for protobuf
Running setup.py clean for protobuf
Building wheel for pyaes (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/pyaes/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/pyaes/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-yqftoq0m
cwd: /tmp/pip-install-a8ffa0w9/pyaes/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for pyaes
Running setup.py clean for pyaes
Building wheel for sha256 (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/sha256/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/sha256/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-t2bxuc93
cwd: /tmp/pip-install-a8ffa0w9/sha256/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for sha256
Running setup.py clean for sha256
Building wheel for future (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/future/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/future/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-lgwm3bfn
cwd: /tmp/pip-install-a8ffa0w9/future/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for future
Running setup.py clean for future
Building wheel for pbkdf2 (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/pbkdf2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/pbkdf2/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-vibwbk4r
cwd: /tmp/pip-install-a8ffa0w9/pbkdf2/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for pbkdf2
Running setup.py clean for pbkdf2
Building wheel for pyrsistent (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/pyrsistent/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/pyrsistent/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-itm6spj_
cwd: /tmp/pip-install-a8ffa0w9/pyrsistent/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for pyrsistent
Running setup.py clean for pyrsistent
Failed to build pywallet two1 jsonrpcclient jsonrpcserver mnemonic protobuf pyaes sha256 future pbkdf2 pyrsistent
ERROR: two1 3.10.9 has requirement base58==0.2.2, but you'll have base58 2.1.0 which is incompatible.
Installing collected packages: base58, ecdsa, pycryptodome, python-dateutil, arrow, click, websocket-client, requests, docker-py, pyflakes, pycodestyle, mccabe, flake8, future, pyrsistent, attrs, jsonschema, jsonrpcclient, funcsigs, jsonrpcserver, pbkdf2, mnemonic, path, path.py, ptyprocess, pexpect, protobuf, pyaes, iniconfig, pyparsing, packaging, py, toml, pluggy, pytest, pyyaml, sha256, tabulate, two1, pywallet
Attempting uninstall: requests
Found existing installation: requests 2.25.1
Uninstalling requests-2.25.1:
Successfully uninstalled requests-2.25.1
Running setup.py install for future ... done
Running setup.py install for pyrsistent ... done
Running setup.py install for jsonrpcclient ... done
Running setup.py install for jsonrpcserver ... done
Running setup.py install for pbkdf2 ... done
Running setup.py install for mnemonic ... done
Running setup.py install for protobuf ... error
ERROR: Command errored out with exit status 255:
command: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/protobuf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/protobuf/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-gttmjuwd/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/dev/conversation-bot/conversation-bot-venv/include/site/python3.8/protobuf
cwd: /tmp/pip-install-a8ffa0w9/protobuf/
Complete output (5 lines):
running install
running build
running build_py
Generating google/protobuf/descriptor_pb2.py...
Can't find required file: ../src/google/protobuf/descriptor.proto
----------------------------------------
ERROR: Command errored out with exit status 255: /home/user/dev/conversation-bot/conversation-bot-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a8ffa0w9/protobuf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a8ffa0w9/protobuf/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-gttmjuwd/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/dev/conversation-bot/conversation-bot-venv/include/site/python3.8/protobuf Check the logs for full command output.
Metadata
Assignees
Labels
No labels
Activity