AndreMiras / EtherollApp

Provably fair dice game running on the Ethereum blockchain
MIT License
57 stars 22 forks source link

run pip install -r requirements.txt #102

Closed liuxiang0 closed 6 years ago

liuxiang0 commented 6 years ago

I used virtualenv , create venv2 virtualenv. just install requirements by using pip install -r ... I attached the error info .

(venv2) liu@T440:~/working/EtherollApp-develop$ pip install -r requirements.txt Collecting web3==4.0.0b11 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/a4/60/a92a30e64b237fdfed88e6f0af2a52a86bacdde9da1fff0d9bcf59024d26/web3-4.0.0b11-py3-none-any.whl Collecting eth-testrpc==1.3.3 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/4e/c7/dbd1de96baba748cf45b4119438bfc453e987723706a460e05aa565f4ade/eth_testrpc-1.3.3-py3-none-any.whl Collecting py-etherscan-api from https://github.com/corpetty/py-etherscan-api/archive/cb91fb3.zip#egg=py-etherscan-api (from -r requirements.txt (line 3)) Downloading https://github.com/corpetty/py-etherscan-api/archive/cb91fb3.zip Collecting flake8 (from -r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/b9/dc/14e9d94c770b8c4ef584e906c7583e74864786a58d47de101f2767d50c0b/flake8-3.5.0-py2.py3-none-any.whl Collecting isort (from -r requirements.txt (line 5)) Using cached https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl Collecting Kivy==1.10.0 (from -r requirements.txt (line 12)) Downloading https://files.pythonhosted.org/packages/8c/49/5c22589099f9b7fd106502ee6634a6675e634d7553fede141a7606e6a92d/Kivy-1.10.0.tar.gz (24.3MB) 100% |████████████████████████████████| 24.3MB 1.6MB/s Collecting KivyMD (from -r requirements.txt (line 14)) Downloading https://files.pythonhosted.org/packages/f1/2e/4bec1d1f1d004f54cd00b4013702de9815922df89bc05b562499a9bc1b9d/kivymd-0.1.2.tar.gz (1.1MB) 100% |████████████████████████████████| 1.1MB 1.4MB/s Collecting ethereum==2.1.1 (from -r requirements.txt (line 15)) Using cached https://files.pythonhosted.org/packages/14/72/93b920c969017294841722d0aa2c8bd14fc699665f85c3d7436c8d017f7e/ethereum-2.1.1.tar.gz Complete output from command python setup.py egg_info: error in ethereum setup command: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers; Unordered types are not allowed

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-d7jnyu0f/ethereum/

ethereum package cannot install. Any suggests about this question ?

AndreMiras commented 6 years ago

Sure, I'm glad you gave it a try. I'll take a look later hopefully this weekend. Edit: I couldn't wait and I took a look. Probably because your setuptools, this is a know upstream issue https://github.com/ethereum/pyethereum/issues/844 Updating your setuptools should fix it. Also the recommended way to install the project deps is to use make as stated in the README.md which would have updated setuptools for you. Please give it another try using either the Makefile, or upgrading your setuptools and let me know.

AndreMiras commented 6 years ago

And for record my install session (also see edit above):

$ git clone git@github.com:AndreMiras/EtherollApp.git                                                                              
Cloning into 'EtherollApp'...                                                                                                                            
remote: Counting objects: 1957, done.                                                          
remote: Total 1957 (delta 0), reused 1 (delta 0), pack-reused 1956                                                                                      
Receiving objects: 100% (1957/1957), 1.01 MiB | 888.00 KiB/s, done.                
Resolving deltas: 100% (1299/1299), done.                                                                                                                     
[andre:/tmp/trash] $ cd EtherollApp/                                     
[andre:/tmp/trash/EtherollApp] develop ± virtualenv --python=python3 venv                                                                                    

Running virtualenv with interpreter /usr/bin/python3          
Using base prefix '/usr'                                                                                                                                
New python executable in /tmp/trash/EtherollApp/venv/bin/python3                              
Also creating executable in /tmp/trash/EtherollApp/venv/bin/python                                                                                           
Installing setuptools, pip, wheel...done.                                        
[andre:/tmp/trash/EtherollApp] [venv] develop ± pip install Cython==0.26.1                             
Collecting Cython==0.26.1                                                                                                                                  
  Using cached https://files.pythonhosted.org/packages/a0/f6/3927706fef7b6a191b2274a6f74416f47d2fecb8bacd8341c634c02f7b30/Cython-0.26.1-cp36-cp36m-manylinux1_x86_64.whl
Installing collected packages: Cython                                                                                                                       
Successfully installed Cython-0.26.1                                                                                                                     
[andre:/tmp/trash/EtherollApp] [venv] develop ± pip install -r requirements.txt                                                                        
Collecting web3==4.0.0b11 (from -r requirements.txt (line 1))                                               
  Using cached https://files.pythonhosted.org/packages/a4/60/a92a30e64b237fdfed88e6f0af2a52a86bacdde9da1fff0d9bcf59024d26/web3-4.0.0b11-py3-none-any.whl
Collecting eth-testrpc==1.3.3 (from -r requirements.txt (line 2))                                                                                             
  Using cached https://files.pythonhosted.org/packages/4e/c7/dbd1de96baba748cf45b4119438bfc453e987723706a460e05aa565f4ade/eth_testrpc-1.3.3-py3-none-any.whl
Collecting py-etherscan-api from https://github.com/corpetty/py-etherscan-api/archive/cb91fb3.zip#egg=py-etherscan-api (from -r requirements.txt (line 3)) 
  Downloading https://github.com/corpetty/py-etherscan-api/archive/cb91fb3.zip                                
Collecting flake8 (from -r requirements.txt (line 4))                                                                                                       
  Using cached https://files.pythonhosted.org/packages/b9/dc/14e9d94c770b8c4ef584e906c7583e74864786a58d47de101f2767d50c0b/flake8-3.5.0-py2.py3-none-any.whl
Collecting isort (from -r requirements.txt (line 5))                                                                                                      
  Using cached https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl
Collecting kivy from https://github.com/kivy/kivy/archive/d8ef8c2834293098bc404c0432049b2761f9b721.zip#egg=kivy (from -r requirements.txt (line 11))            
  Downloading https://github.com/kivy/kivy/archive/d8ef8c2834293098bc404c0432049b2761f9b721.zip (24.9MB)
    100% |████████████████████████████████| 24.9MB 1.0MB/s                                                                                                            
Collecting kivymd from https://gitlab.com/kivymd/KivyMD/repository/archive.zip?ref=19e587e6#egg=kivymd (from -r requirements.txt (line 13))
  Downloading https://gitlab.com/kivymd/KivyMD/repository/archive.zip?ref=19e587e6
     / 8.9MB 1.5MB/s
Collecting ethereum==2.1.1 (from -r requirements.txt (line 14))
Collecting pyethapp from https://github.com/ethereum/pyethapp/archive/8406f32.zip#egg=pyethapp (from -r requirements.txt (line 16))
  Downloading https://github.com/ethereum/pyethapp/archive/8406f32.zip
     / 409kB 42.8MB/s
Collecting raven==6.6.0 (from -r requirements.txt (line 17))
  Using cached https://files.pythonhosted.org/packages/09/db/394b12baaf9f14d8efa03e812bfe806ed60f29fe0602a8431bceb54b0ee4/raven-6.6.0-py2.py3-none-any.whl
Collecting requests-cache (from -r requirements.txt (line 18))
  Using cached https://files.pythonhosted.org/packages/00/62/9e45a38988cb48c474805a1626439f4d9a486a042bd077af888fa8b17a64/requests_cache-0.4.13-py2.py3-none-any.whl
Collecting kivyunittest==0.1.8 (from -r requirements.txt (line 19))
Collecting qrcode==5.3 (from -r requirements.txt (line 20))
  Using cached https://files.pythonhosted.org/packages/39/71/c01d42a3fc1a9c768c93980f26159ec682dc7bd49407e756f671b52b8344/qrcode-5.3-py2.py3-none-any.whl
Collecting eth-rlp==0.1.2 (from -r requirements.txt (line 21))
  Using cached https://files.pythonhosted.org/packages/56/4b/b309fb44dd9bb975e84f3d626392eec1eeed0108e55a51cd7dd8956a73ad/eth_rlp-0.1.2-py3-none-any.whl
Collecting rlp==0.6.0 (from -r requirements.txt (line 22))
Collecting pyelliptic from https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz#egg=pyelliptic (from -r requirements.txt (line 25))
  Downloading https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz
     - 3.5MB 13.6MB/s
Collecting layoutmargin from https://github.com/AndreMiras/garden.layoutmargin/archive/20180517.zip#egg=layoutmargin (from -r requirements.txt (line 26))
  Downloading https://github.com/AndreMiras/garden.layoutmargin/archive/20180517.zip
     - 10kB 7.3MB/s
Collecting requests<3.0.0,>=2.16.0 (from web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting eth-abi<2,>=1.0.0-beta.1 (from web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/a2/2b/8529812e103639a6084c9d5d62862052989cf3877a76253509fc6f19eab6/eth_abi-1.1.1-py3-none-any.whl
Collecting eth-account<1.0.0,>=0.1.0a2 (from web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/a3/d8/6118bc0e00d6ec092bb02b012989d1018893755eb84da53266412ac359e3/eth_account-0.3.0-py3-none-any.whl
Collecting cytoolz<1.0.0,>=0.9.0 (from web3==4.0.0b11->-r requirements.txt (line 1))
Collecting lru-dict<2.0.0,>=1.1.6 (from web3==4.0.0b11->-r requirements.txt (line 1))
Collecting hexbytes<1.0.0,>=0.1.0b1 (from web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/18/bd/21697d93ee2153c8c12253262b740f571e94341d4cee411504032fff3f56/hexbytes-0.1.0-py3-none-any.whl
Collecting eth-hash[pycryptodome] (from web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/7a/5c/bb45e05e1ef3af007e5fe055eb0b6e0f2ae58a1640f786fad40eb4e94780/eth_hash-0.1.4-py3-none-any.whl
Collecting eth-utils<2.0.0,>=1.0.0b1 (from web3==4.0.0b11->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/9b/8f/6e624ca93279461219c717d549c06183d05f8a505dff6f7a69a1f070b07c/eth_utils-1.2.0-py3-none-any.whl
Collecting click>=6.6 (from eth-testrpc==1.3.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting json-rpc>=1.10.3 (from eth-testrpc==1.3.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/61/5d/271952ce266b7a4f0a0b4b714a640ebca19fed520a4f8a011ee9752fbf52/json_rpc-1.11.0-py2.py3-none-any.whl
Collecting Werkzeug>=0.11.10 (from eth-testrpc==1.3.3->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting pycodestyle<2.4.0,>=2.0.0 (from flake8->-r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/e4/81/78fe51eb4038d1388b7217dd63770b0f428370207125047312886c923b26/pycodestyle-2.3.1-py2.py3-none-any.whl
Collecting mccabe<0.7.0,>=0.6.0 (from flake8->-r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting pyflakes<1.7.0,>=1.5.0 (from flake8->-r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/d7/40/733bcc64da3161ae4122c11e88269f276358ca29335468005cb0ee538665/pyflakes-1.6.0-py2.py3-none-any.whl
Collecting Kivy-Garden>=0.1.4 (from kivy->-r requirements.txt (line 11))
Collecting docutils (from kivy->-r requirements.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl
Collecting pygments (from kivy->-r requirements.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl                                                                                                           [53/179]
Collecting coincurve>=5.0.1 (from ethereum==2.1.1->-r requirements.txt (line 14))
  Using cached https://files.pythonhosted.org/packages/92/0f/9c7dd6a51fd366f2b0529ff82649cf6a2d3ae5a9681b19a894c59d8a2296/coincurve-8.0.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting future (from ethereum==2.1.1->-r requirements.txt (line 14))
Collecting pyethash (from ethereum==2.1.1->-r requirements.txt (line 14))
Collecting pycryptodome==3.4.6 (from ethereum==2.1.1->-r requirements.txt (line 14))
Collecting pbkdf2 (from ethereum==2.1.1->-r requirements.txt (line 14))
Collecting pysha3>=1.0.1 (from ethereum==2.1.1->-r requirements.txt (line 14))
  Using cached https://files.pythonhosted.org/packages/32/2a/b93e0c6d90c7c45e2fab35d7ef349e8c5bd7387a048e961b041fd9521556/pysha3-1.0.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting PyYAML (from ethereum==2.1.1->-r requirements.txt (line 14))
Collecting repoze.lru (from ethereum==2.1.1->-r requirements.txt (line 14))
  Using cached https://files.pythonhosted.org/packages/b0/30/6cc0c95f0b59ad4b3b9163bff7cdcf793cc96fac64cf398ff26271f5cf5e/repoze.lru-0.7-py3-none-any.whl
Collecting scrypt (from ethereum==2.1.1->-r requirements.txt (line 14))
Collecting py-ecc (from ethereum==2.1.1->-r requirements.txt (line 14))
Collecting lmdb (from pyethapp->-r requirements.txt (line 16))
Collecting devp2p>=0.9.3 (from pyethapp->-r requirements.txt (line 16))
Collecting CodernityDB (from pyethapp->-r requirements.txt (line 16))
Collecting tinyrpc[gevent,httpclient,jsonext,websocket,wsgi] (from pyethapp->-r requirements.txt (line 16))
Collecting gipc (from pyethapp->-r requirements.txt (line 16))
Collecting statistics (from pyethapp->-r requirements.txt (line 16))
Collecting decorator (from pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl
Collecting pexpect (from pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl
Collecting gevent==1.1.0 (from pyethapp->-r requirements.txt (line 16))
Collecting ethereum-serpent (from pyethapp->-r requirements.txt (line 16))
Collecting ipython<6.0.0,>=5.4.0 (from pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/3c/01/72cfbf8d195f98cff18e7b160c5c3b5e3fb71ad7be08e630f6ba0793c561/ipython-5.8.0-py3-none-any.whl
Collecting leveldb (from pyethapp->-r requirements.txt (line 16))
Requirement already satisfied: wheel in ./venv/lib/python3.6/site-packages (from pyethapp->-r requirements.txt (line 16)) (0.31.1)
Collecting six (from qrcode==5.3->-r requirements.txt (line 20))
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.16.0->web3==4.0.0b11->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/16/1f/50d729c104b21c1042aa51560da6141d1cab476ba7015d92b2111c8db841/certifi-2018.8.13-py2.py3-none-any.whl (146kB)
    100% |████████████████████████████████| 153kB 3.5MB/s
Collecting urllib3<1.24,>=1.21.1 (from requests<3.0.0,>=2.16.0->web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0.0,>=2.16.0->web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests<3.0.0,>=2.16.0->web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting parsimonious==0.8.0 (from eth-abi<2,>=1.0.0-beta.1->web3==4.0.0b11->-r requirements.txt (line 1))
Collecting eth-keyfile<0.6.0,>=0.5.0 (from eth-account<1.0.0,>=0.1.0a2->web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/eb/a5/3615d100b62fbf20fe5d5c0d1d4d7326eac861d260b0cd2a36af2bf8ccb1/eth_keyfile-0.5.1-py3-none-any.whl
Collecting eth-keys<0.3.0,>=0.2.0b3 (from eth-account<1.0.0,>=0.1.0a2->web3==4.0.0b11->-r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/9b/96/bec507291a2ecac65358b4485282ce02e8c0cdd30980a232791b355a1f5b/eth_keys-0.2.0b3-py3-none-any.whl
Collecting attrdict<3,>=2.0.0 (from eth-account<1.0.0,>=0.1.0a2->web3==4.0.0b11->-r requirements.txt (line 1))
Collecting toolz>=0.8.0 (from cytoolz<1.0.0,>=0.9.0->web3==4.0.0b11->-r requirements.txt (line 1))
Collecting eth-typing<2.0.0,>=1.1.0 (from eth-utils<2.0.0,>=1.0.0b1->web3==4.0.0b11->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/ca/5a/2e70f688691d800b5ebbf3c56c19200870651a0ce6062c36d79434994a51/eth_typing-1.1.0-py3-none-any.whl
Collecting asn1crypto (from coincurve>=5.0.1->ethereum==2.1.1->-r requirements.txt (line 14))
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting cffi>=1.3.0 (from coincurve>=5.0.1->ethereum==2.1.1->-r requirements.txt (line 14))
  Using cached https://files.pythonhosted.org/packages/6d/c0/47db8f624f3e4e2f3f27be03a93379d1ba16a1450a7b1aacfa0366e2c0dd/cffi-1.11.5-cp36-cp36m-manylinux1_x86_64.whl
Collecting ipaddress (from devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting bitcoin (from devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
Collecting coverage (from devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/3d/a0/b12090c40e0b8196b973962ec71c1c541a6c04af58ba5ad85683b3de251a/coverage-4.5.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting miniupnpc (from devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
Collecting tox (from devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
  Downloading https://files.pythonhosted.org/packages/df/53/13660f04ef09ece4aefcce6b8f79c1586fc34dee1cbedd7c153e02f93489/tox-3.2.1-py2.py3-none-any.whl (62kB)
    100% |████████████████████████████████| 71kB 7.5MB/s
Collecting websocket-client; extra == "httpclient" (from tinyrpc[gevent,httpclient,jsonext,websocket,wsgi]->pyethapp->-r requirements.txt (line 16))
  Downloading https://files.pythonhosted.org/packages/6a/0b/fe3a2d47066005c928056f60ed308036485a7d8bcfa6595d4f7a45f1b938/websocket_client-0.51.0-py2.py3-none-any.whl (198kB)
    100% |████████████████████████████████| 204kB 5.1MB/s
Collecting gevent-websocket; extra == "httpclient" (from tinyrpc[gevent,httpclient,jsonext,websocket,wsgi]->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/7b/84/2dc373eb6493e00c884cc11e6c059ec97abae2678d42f06bf780570b0193/gevent_websocket-0.10.1-py3-none-any.whl
Collecting jsonext; extra == "jsonext" (from tinyrpc[gevent,httpclient,jsonext,websocket,wsgi]->pyethapp->-r requirements.txt (line 16))
Collecting ptyprocess>=0.5 (from pexpect->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
Collecting greenlet>=0.4.9 (from gevent==1.1.0->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/de/7b/cb662640540725deb0627264f6b890ee2b7725848b8cbca49e27bf3273c6/greenlet-0.4.14-cp36-cp36m-manylinux1_x86_64.whl
Collecting traitlets>=4.2 (from ipython<6.0.0,>=5.4.0->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython<6.0.0,>=5.4.0->pyethapp->-r requirements.txt (line 16))
Requirement already satisfied: setuptools>=18.5 in ./venv/lib/python3.6/site-packages (from ipython<6.0.0,>=5.4.0->pyethapp->-r requirements.txt (line 16)) (40.2.0)
Collecting prompt-toolkit<2.0.0,>=1.0.4 (from ipython<6.0.0,>=5.4.0->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/04/d1/c6616dd03701e7e2073f06d5c3b41b012256e42b72561f16a7bd86dd7b43/prompt_toolkit-1.0.15-py3-none-any.whl
Collecting pickleshare (from ipython<6.0.0,>=5.4.0->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/9f/17/daa142fc9be6b76f26f24eeeb9a138940671490b91cb5587393f297c8317/pickleshare-0.7.4-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.3.0->coincurve>=5.0.1->ethereum==2.1.1->-r requirements.txt (line 14))
Collecting pluggy<1,>=0.3.0 (from tox->devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/f5/f1/5a93c118663896d83f7bcbfb7f657ce1d0c0d617e6b4a443a53abcc658ca/pluggy-0.7.1-py2.py3-none-any.whl
Collecting virtualenv>=1.11.2 (from tox->devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl
Collecting py<2,>=1.4.17 (from tox->devp2p>=0.9.3->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/f3/bd/83369ff2dee18f22f27d16b78dd651e8939825af5f8b0b83c38729069962/py-1.5.4-py2.py3-none-any.whl
Collecting arrow (from jsonext; extra == "jsonext"->tinyrpc[gevent,httpclient,jsonext,websocket,wsgi]->pyethapp->-r requirements.txt (line 16))
Collecting ipython-genutils (from traitlets>=4.2->ipython<6.0.0,>=5.4.0->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.4->ipython<6.0.0,>=5.4.0->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting python-dateutil (from arrow->jsonext; extra == "jsonext"->tinyrpc[gevent,httpclient,jsonext,websocket,wsgi]->pyethapp->-r requirements.txt (line 16))
  Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl
Building wheels for collected packages: py-etherscan-api, kivy, kivymd, pyethapp, pyelliptic, layoutmargin
  Running setup.py bdist_wheel for py-etherscan-api ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-c3pf8iho/wheels/32/83/31/1250254157b9e1280d448c466c6a173fbbf7bca6e59100543e
  Running setup.py bdist_wheel for kivy ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-c3pf8iho/wheels/a1/0f/ea/eebdbcbdc139709342d736bc1eec44345fa70257a94aa8cba4
  Running setup.py bdist_wheel for kivymd ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-c3pf8iho/wheels/a7/51/98/78dc0c72328de69a0b894639c8735c617c934b25f02779f11e
  Running setup.py bdist_wheel for pyethapp ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-c3pf8iho/wheels/5b/1b/7e/bb3d020ec310dc6c32ce77bb2b60d24df37cfe381caa97715b
  Running setup.py bdist_wheel for pyelliptic ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-c3pf8iho/wheels/96/e7/40/8728426b84a6ed4acce58a1c150bb423c842cf05fea9f44dc6
  Running setup.py bdist_wheel for layoutmargin ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-c3pf8iho/wheels/3f/ba/46/d336a24a84c8aa8d2c7ce5673d445371a0f07b96609fa709c0
Successfully built py-etherscan-api kivy kivymd pyethapp pyelliptic layoutmargin
eth-keyfile 0.5.1 has requirement pycryptodome<4.0.0,>=3.4.7, but you'll have pycryptodome 3.4.6 which is incompatible.
eth-testrpc 1.3.3 has requirement ethereum<2.0.0,>=1.6.1, but you'll have ethereum 2.1.1 which is incompatible.
py-etherscan-api 0.7.0 has requirement requests==2.18.4, but you'll have requests 2.19.1 which is incompatible.
devp2p 0.9.3 has requirement pyelliptic==1.5.7, but you'll have pyelliptic 1.5.10 which is incompatible.
pyethapp 1.5.1a0 has requirement pyelliptic==1.5.7, but you'll have pyelliptic 1.5.10 which is incompatible.
Installing collected packages: certifi, urllib3, chardet, idna, requests, six, parsimonious, eth-typing, pycryptodome, eth-hash, toolz, cytoolz, eth-utils, eth-abi, eth-keys, eth-keyfile, hexbytes, rlp, eth-rlp, attrdict, eth-account, lru-dict, web3, click, json-rpc, asn1
crypto, pycparser, cffi, coincurve, future, pyethash, pbkdf2, pysha3, PyYAML, repoze.lru, scrypt, py-ecc, ethereum, Werkzeug, eth-testrpc, py-etherscan-api, pycodestyle, mccabe, pyflakes, flake8, isort, Kivy-Garden, docutils, pygments, kivy, kivymd, lmdb, ipaddress, green
let, gevent, bitcoin, coverage, pyelliptic, miniupnpc, pluggy, virtualenv, py, tox, devp2p, CodernityDB, websocket-client, gevent-websocket, python-dateutil, arrow, jsonext, tinyrpc, gipc, statistics, decorator, ptyprocess, pexpect, ethereum-serpent, ipython-genutils, tra
itlets, simplegeneric, wcwidth, prompt-toolkit, pickleshare, ipython, leveldb, pyethapp, raven, requests-cache, kivyunittest, qrcode, layoutmargin
Successfully installed CodernityDB-0.5.0 Kivy-Garden-0.1.4 PyYAML-3.13 Werkzeug-0.14.1 arrow-0.12.1 asn1crypto-0.24.0 attrdict-2.0.0 bitcoin-1.1.42 certifi-2018.8.13 cffi-1.11.5 chardet-3.0.4 click-6.7 coincurve-8.0.2 coverage-4.5.1 cytoolz-0.9.0.1 decorator-4.3.0 devp2p-
0.9.3 docutils-0.14 eth-abi-1.1.1 eth-account-0.3.0 eth-hash-0.1.4 eth-keyfile-0.5.1 eth-keys-0.2.0b3 eth-rlp-0.1.2 eth-testrpc-1.3.3 eth-typing-1.1.0 eth-utils-1.2.0 ethereum-2.1.1 ethereum-serpent-2.0.4 flake8-3.5.0 future-0.16.0 gevent-1.1.0 gevent-websocket-0.10.1 gip
c-0.6.0 greenlet-0.4.14 hexbytes-0.1.0 idna-2.7 ipaddress-1.0.22 ipython-5.8.0 ipython-genutils-0.2.0 isort-4.3.4 json-rpc-1.11.0 jsonext-0.4.2 kivy-1.10.1.dev0 kivymd-0.1.2 kivyunittest-0.1.8 layoutmargin-20180517 leveldb-0.194 lmdb-0.94 lru-dict-1.1.6 mccabe-0.6.1 miniu
pnpc-2.0.2 parsimonious-0.8.0 pbkdf2-1.3 pexpect-4.6.0 pickleshare-0.7.4 pluggy-0.7.1 prompt-toolkit-1.0.15 ptyprocess-0.6.0 py-1.5.4 py-ecc-1.4.3 py-etherscan-api-0.7.0 pycodestyle-2.3.1 pycparser-2.18 pycryptodome-3.4.6 pyelliptic-1.5.10 pyethapp-1.5.1a0 pyethash-0.1.27
 pyflakes-1.6.0 pygments-2.2.0 pysha3-1.0.2 python-dateutil-2.7.3 qrcode-5.3 raven-6.6.0 repoze.lru-0.7 requests-2.19.1 requests-cache-0.4.13 rlp-0.6.0 scrypt-0.8.6 simplegeneric-0.8.1 six-1.11.0 statistics-1.0.3.5 tinyrpc-0.9.2 toolz-0.9.0 tox-3.2.1 traitlets-4.3.2 urlli
b3-1.23 virtualenv-16.0.0 wcwidth-0.1.7 web3-4.0.0b11 websocket-client-0.51.0
[andre:/tmp/trash/EtherollApp] [venv] develop 2m39s ±
liuxiang0 commented 6 years ago

Thank AndreMiras. Appreciate your suggestion. I do make. I think it is OK.

(venv2) liu@T440:~/working/EtherollApp$ make sudo apt install --yes --no-install-recommends python3-dev virtualenv build-essential libssl-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev xclip xsel 正在读取软件包列表... 完成 正在分析软件包的依赖关系树
正在读取状态信息... 完成
build-essential 已经是最新版 (12.4ubuntu1)。 xclip 已经是最新版 (0.12+svn84-4build1)。 libsdl2-image-dev 已经是最新版 (2.0.3+dfsg1-1)。 libsdl2-mixer-dev 已经是最新版 (2.0.2+dfsg1-2)。 libsdl2-ttf-dev 已经是最新版 (2.0.14+dfsg1-2)。 virtualenv 已经是最新版 (15.1.0+ds-1.1)。 xsel 已经是最新版 (1.2.0-4)。 libssl-dev 已经是最新版 (1.1.0g-2ubuntu4.1)。 python3-dev 已经是最新版 (3.6.5-3ubuntu1)。 libsdl2-dev 已经是最新版 (2.0.8+dfsg1-1ubuntu1.18.04.1)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 14 个软件包未被升级。 test -d venv || virtualenv -p python3 venv . venv/bin/activate . ""venv"/bin/activate"; which pip install Cython==0.26.1 Requirement already satisfied: Cython==0.26.1 in ./venv/lib/python3.6/site-packages (0.26.1)

downgrade to setuptools 37, see:

https://github.com/ethereum/pyethereum/pull/831

. ""venv"/bin/activate"; which pip install setuptools==37.0.0 Requirement already satisfied: setuptools==37.0.0 in ./venv/lib/python3.6/site-packages (37.0.0) . ""venv"/bin/activate"; which pip install --timeout 120 -r requirements.txt Collecting web3==4.0.0b11 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/a4/60/a92a30e64b237fdfed88e6f0af2a52a86bacdde9da1fff0d9bcf59024d26/web3-4.0.0b11-py3-none-any.whl Collecting eth-testrpc==1.3.3 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/4e/c7/dbd1de96baba748cf45b4119438bfc453e987723706a460e05aa565f4ade/eth_testrpc-1.3.3-py3-none-any.whl Collecting py-etherscan-api from https://github.com/corpetty/py-etherscan-api/archive/cb91fb3.zip#egg=py-etherscan-api (from -r requirements.txt (line 3)) Downloading https://github.com/corpetty/py-etherscan-api/archive/cb91fb3.zip Collecting flake8 (from -r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/b9/dc/14e9d94c770b8c4ef584e906c7583e74864786a58d47de101f2767d50c0b/flake8-3.5.0-py2.py3-none-any.whl Collecting isort (from -r requirements.txt (line 5)) Using cached https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl Collecting kivy from https://github.com/kivy/kivy/archive/d8ef8c2834293098bc404c0432049b2761f9b721.zip#egg=kivy (from -r requirements.txt (line 11)) Downloading https://github.com/kivy/kivy/archive/d8ef8c2834293098bc404c0432049b2761f9b721.zip (24.9MB) 100% |████████████████████████████████| 24.9MB 283kB/s Collecting kivymd from https://gitlab.com/kivymd/KivyMD/repository/archive.zip?ref=19e587e6#egg=kivymd (from -r requirements.txt (line 13)) Downloading https://gitlab.com/kivymd/KivyMD/repository/archive.zip?ref=19e587e6 \ 8.9MB 11.6MB/s Collecting ethereum==2.1.1 (from -r requirements.txt (line 14)) Using cached https://files.pythonhosted.org/packages/14/72/93b920c969017294841722d0aa2c8bd14fc699665f85c3d7436c8d017f7e/ethereum-2.1.1.tar.gz Collecting pyethapp from https://github.com/ethereum/pyethapp/archive/8406f32.zip#egg=pyethapp (from -r requirements.txt (line 16)) Downloading https://github.com/ethereum/pyethapp/archive/8406f32.zip \ 512kB 28.0MB/s Collecting raven==6.6.0 (from -r requirements.txt (line 17)) Using cached https://files.pythonhosted.org/packages/09/db/394b12baaf9f14d8efa03e812bfe806ed60f29fe0602a8431bceb54b0ee4/raven-6.6.0-py2.py3-none-any.whl Collecting requests-cache (from -r requirements.txt (line 18)) Using cached https://files.pythonhosted.org/packages/00/62/9e45a38988cb48c474805a1626439f4d9a486a042bd077af888fa8b17a64/requests_cache-0.4.13-py2.py3-none-any.whl Collecting kivyunittest==0.1.8 (from -r requirements.txt (line 19)) Collecting qrcode==5.3 (from -r requirements.txt (line 20)) Using cached https://files.pythonhosted.org/packages/39/71/c01d42a3fc1a9c768c93980f26159ec682dc7bd49407e756f671b52b8344/qrcode-5.3-py2.py3-none-any.whl Collecting eth-rlp==0.1.2 (from -r requirements.txt (line 21)) Using cached https://files.pythonhosted.org/packages/56/4b/b309fb44dd9bb975e84f3d626392eec1eeed0108e55a51cd7dd8956a73ad/eth_rlp-0.1.2-py3-none-any.whl Collecting rlp==0.6.0 (from -r requirements.txt (line 22)) Collecting pyelliptic from https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz#egg=pyelliptic (from -r requirements.txt (line 25)) Downloading https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz / 4.3MB 386kB/s Collecting layoutmargin from https://github.com/AndreMiras/garden.layoutmargin/archive/20180517.zip#egg=layoutmargin (from -r requirements.txt (line 26)) Downloading https://github.com/AndreMiras/garden.layoutmargin/archive/20180517.zip

liuxiang0 commented 6 years ago

after doing make, we get 'venv' directory which including everything for virtualenv command. just running: liu@T440:~/working/EtherollApp$ source ./venv/bin/activate then running: (venv) liu@T440:~/working/EtherollApp$ ./src/main.py

It is finished.

Thanks a lot

liuxiang0 commented 6 years ago

(venv) liu@T440:~/working/EtherollApp$ pip freeze arrow==0.12.1 asn1crypto==0.24.0 attrdict==2.0.0 bitcoin==1.1.42 certifi==2018.8.13 cffi==1.11.5 chardet==3.0.4 click==6.7 CodernityDB==0.5.0 coincurve==8.0.2 coverage==4.5.1 Cython==0.26.1 cytoolz==0.9.0.1 decorator==4.3.0 devp2p==0.9.3 docutils==0.14 eth-abi==1.1.1 eth-account==0.3.0 eth-hash==0.1.4 eth-keyfile==0.5.1 eth-keys==0.2.0b3 eth-rlp==0.1.2 eth-testrpc==1.3.3 eth-typing==1.1.0 eth-utils==1.2.0 ethereum==2.1.1 ethereum-serpent==2.0.4 flake8==3.5.0 future==0.16.0 gevent==1.1.0 gevent-websocket==0.10.1 gipc==0.6.0 greenlet==0.4.14 hexbytes==0.1.0 idna==2.7 ipaddress==1.0.22 ipython==5.8.0 ipython-genutils==0.2.0 isort==4.3.4 json-rpc==1.11.0 jsonext==0.4.2 Kivy==1.10.1.dev0 Kivy-Garden==0.1.4 kivymd==0.1.2 kivyunittest==0.1.8 layoutmargin==20180517 leveldb==0.194 lmdb==0.94 lru-dict==1.1.6 mccabe==0.6.1 miniupnpc==2.0.2 parsimonious==0.8.0 pbkdf2==1.3 pexpect==4.6.0 pickleshare==0.7.4 pluggy==0.7.1 prompt-toolkit==1.0.15 ptyprocess==0.6.0 py==1.5.4 py-ecc==1.4.3 py-etherscan-api==0.7.0 pycodestyle==2.3.1 pycparser==2.18 pycryptodome==3.4.6 pyelliptic==1.5.10 pyethapp==1.5.1a0 pyethash==0.1.27 pyflakes==1.6.0 Pygments==2.2.0 pysha3==1.0.2 python-dateutil==2.7.3 PyYAML==3.13 qrcode==5.3 raven==6.6.0 repoze.lru==0.7 requests==2.19.1 requests-cache==0.4.13 rlp==0.6.0 scrypt==0.8.6 simplegeneric==0.8.1 six==1.11.0 statistics==1.0.3.5 tinyrpc==0.9.2 toolz==0.9.0 tox==3.2.1 traitlets==4.3.2 urllib3==1.23 virtualenv==16.0.0 wcwidth==0.1.7 web3==4.0.0b11 websocket-client==0.51.0 Werkzeug==0.14.1

AndreMiras commented 6 years ago

Thanks for keeping me updated, glad you got it working. Actually I think it was an upgrade rather than a downgrade of setuptools, right? Looks like you were running. If I believe this message Requirement already satisfied: setuptools>=18.5.