MizukiSonoko / iroha-cli

YACI: Yet Another Cli of Iroha πŸ‘πŸ‘πŸ‘
Apache License 2.0
9 stars 4 forks source link

Python3.6対応 / Apply Python3.6 #37

Open MizukiSonoko opened 6 years ago

MizukiSonoko commented 6 years ago

Currently we use bjornedstrom/python-sha3. But It happens error in Python3.6, like this. https://github.com/tiran/pysha3/issues/4

I guess tiran/pysha3 supports pyhton3.6 by above issues. So I should check and if need, I will replace.

takemiyamakoto commented 6 years ago

This problem occurs with pip3 and python 3.6:


Collecting iroha-ya-cli
  Downloading iroha-ya-cli-1.2.4.tar.gz (101kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 102kB 800kB/s
Requirement already satisfied: grpcio in /usr/local/lib/python3.6/site-packages (from iroha-ya-cli)
Requirement already satisfied: grpcio-tools in /usr/local/lib/python3.6/site-packages (from iroha-ya-cli)
Requirement already satisfied: protobuf in /usr/local/lib/python3.6/site-packages (from iroha-ya-cli)
Requirement already satisfied: PyYAML in /usr/local/lib/python3.6/site-packages (from iroha-ya-cli)
Requirement already satisfied: sha3 in /usr/local/lib/python3.6/site-packages (from iroha-ya-cli)
Requirement already satisfied: ed25519 in /usr/local/lib/python3.6/site-packages (from iroha-ya-cli)
Requirement already satisfied: six>=1.5.2 in /usr/local/lib/python3.6/site-packages (from grpcio->iroha-ya-cli)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from protobuf->iroha-ya-cli)
Building wheels for collected packages: iroha-ya-cli
  Running setup.py bdist_wheel for iroha-ya-cli ... error
  Complete output from command /usr/local/opt/python3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/39/8svk6h9x2ygb51glrc8ht0pr0000gn/T/pip-build-9mlakw6h/iroha-ya-cli/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 /var/folders/39/8svk6h9x2ygb51glrc8ht0pr0000gn/T/tmpvpmimwufpip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  /usr/bin/python: No module named grpc_tools

  ----------------------------------------
  Failed building wheel for iroha-ya-cli
  Running setup.py clean for iroha-ya-cli
Failed to build iroha-ya-cli
Installing collected packages: iroha-ya-cli
  Running setup.py install for iroha-ya-cli ... error
    Complete output from command /usr/local/opt/python3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/39/8svk6h9x2ygb51glrc8ht0pr0000gn/T/pip-build-9mlakw6h/iroha-ya-cli/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/39/8svk6h9x2ygb51glrc8ht0pr0000gn/T/pip-hlujncyx-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    /usr/bin/python: No module named grpc_tools