无法安装`eth-tester` Python软件包

时间:2019-09-08 09:32:47

标签: python-3.x package ethereum

我正在尝试安装[eth-tester][1] Python软件包,以便可以通过其get_balance()函数使用它在我的帐户中加载测试以太坊。

首先,当我使用以下方法安装该软件包时:

  

pip install eth_tester

它要求我升级pip版本。我升级了点子。现在我的点子版本是19.2.3。现在,它给我以下有关安装eth-tester软件包的错误;

ERROR: Command errored out with exit status 1:
     command: 'c:\users\mk141\appdata\local\programs\python\python36-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\mk141\\AppData\\Local\\Temp\\pip-install-mcki_ya9\\cytoolz\\setup.py'"'"'; __file__='"'"'C:\\Users\\mk141\\AppData\\Local\\Temp\\pip-install-mcki_ya9\\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 'C:\Users\mk141\AppData\Local\Temp\pip-record-viyzcfqs\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\mk141\AppData\Local\Temp\pip-install-mcki_ya9\cytoolz\
    Complete output (49 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.6
    creating build\lib.win32-3.6\cytoolz
    copying cytoolz\compatibility.py -> build\lib.win32-3.6\cytoolz
    copying cytoolz\utils_test.py -> build\lib.win32-3.6\cytoolz
    copying cytoolz\_signatures.py -> build\lib.win32-3.6\cytoolz
    copying cytoolz\_version.py -> build\lib.win32-3.6\cytoolz
    copying cytoolz\__init__.py -> build\lib.win32-3.6\cytoolz
    creating build\lib.win32-3.6\cytoolz\curried
    copying cytoolz\curried\exceptions.py -> build\lib.win32-3.6\cytoolz\curried
    copying cytoolz\curried\operator.py -> build\lib.win32-3.6\cytoolz\curried
    copying cytoolz\curried\__init__.py -> build\lib.win32-3.6\cytoolz\curried
    copying cytoolz\dicttoolz.pyx -> build\lib.win32-3.6\cytoolz
    copying cytoolz\functoolz.pyx -> build\lib.win32-3.6\cytoolz
    copying cytoolz\itertoolz.pyx -> build\lib.win32-3.6\cytoolz
    copying cytoolz\recipes.pyx -> build\lib.win32-3.6\cytoolz
    copying cytoolz\utils.pyx -> build\lib.win32-3.6\cytoolz
    copying cytoolz\cpython.pxd -> build\lib.win32-3.6\cytoolz
    copying cytoolz\dicttoolz.pxd -> build\lib.win32-3.6\cytoolz
    copying cytoolz\functoolz.pxd -> build\lib.win32-3.6\cytoolz
    copying cytoolz\itertoolz.pxd -> build\lib.win32-3.6\cytoolz
    copying cytoolz\recipes.pxd -> build\lib.win32-3.6\cytoolz
    copying cytoolz\utils.pxd -> build\lib.win32-3.6\cytoolz
    copying cytoolz\__init__.pxd -> build\lib.win32-3.6\cytoolz
    creating build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\dev_skip_test.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_compatibility.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_curried.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_curried_toolzlike.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_dev_skip_test.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_dicttoolz.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_docstrings.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_doctests.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_embedded_sigs.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_functoolz.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_inspect_args.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_itertoolz.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_none_safe.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_recipes.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_serialization.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_signatures.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_tlz.py -> build\lib.win32-3.6\cytoolz\tests
    copying cytoolz\tests\test_utils.py -> build\lib.win32-3.6\cytoolz\tests
    running build_ext
    building 'cytoolz.dicttoolz' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\mk141\appdata\local\programs\python\python36-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\mk141\\AppData\\Local\\Temp\\pip-install-mcki_ya9\\cytoolz\\setup.py'"'"'; __file__='"'"'C:\\Users\\mk141\\AppData\\Local\\Temp\\pip-install-mcki_ya9\\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 'C:\Users\mk141\AppData\Local\Temp\pip-record-viyzcfqs\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

我可以轻松安装python的其他软件包,但不能安装此软件包。有什么办法可以解决此问题,或者此程序包中有任何问题吗?如果还有其他方法可以在我的帐户中加载测试以太坊,请告诉我。

0 个答案:

没有答案