获取错误:安装eth-testrpc时,“'pkg-config'是安装此软件包所必需的”

时间:2016-09-28 09:54:06

标签: python pip ethereum

我正在尝试使用pip [参考:https://github.com/pipermerriam/eth-testrpc]通过MobaXterm终端在我的Windows机器上为以太坊安装TestRPC,如下所示:

  

pip install eth-testrpc

但是我收到以下错误:   使用缓存secp256k1-0.13.2.tar.gz     从命令python setup.py egg_info完成输出:     安装此软件包需要'pkg-config'。有关详细信息,请参阅自述文件。

无法解决。它说“pkg-config是必需的。它是否意味着包:pkgconfig。这个已安装:

[manindra.singh] ➤ pip install pkgconfig
Requirement already satisfied (use --upgrade to upgrade): pkgconfig in /usr/lib/python2.7/site-packages

完整的命令执行:

    [manindra.singh] ➤ pip install eth-testrpc
Collecting eth-testrpc
  Using cached eth-testrpc-0.8.4.tar.gz
Collecting gevent>=1.1.2 (from eth-testrpc)
  Using cached gevent-1.1.2.tar.gz
Collecting Werkzeug>=0.11.10 (from eth-testrpc)
  Using cached Werkzeug-0.11.11-py2.py3-none-any.whl
Collecting click>=6.6 (from eth-testrpc)
  Using cached click-6.6.tar.gz
Collecting ethereum-tester-client>=1.2.1 (from eth-testrpc)
  Using cached ethereum-tester-client-1.2.2.tar.gz
Collecting ethereum>=1.5.2 (from eth-testrpc)
  Using cached ethereum-1.5.2.tar.gz
Collecting json-rpc>=1.10.3 (from eth-testrpc)
  Using cached json_rpc-1.10.3-py2.py3-none-any.whl
Collecting rlp>=0.4.4 (from eth-testrpc)
  Using cached rlp-0.4.6-py2.py3-none-any.whl
Collecting greenlet>=0.4.9 (from gevent>=1.1.2->eth-testrpc)
  Using cached greenlet-0.4.10.zip
Collecting repoze.lru (from ethereum>=1.5.2->eth-testrpc)
  Using cached repoze.lru-0.6.tar.gz
Collecting PyYAML (from ethereum>=1.5.2->eth-testrpc)
  Using cached PyYAML-3.12.tar.gz
Collecting pysha3 (from ethereum>=1.5.2->eth-testrpc)
  Using cached pysha3-0.3.zip
Collecting pbkdf2 (from ethereum>=1.5.2->eth-testrpc)
  Using cached pbkdf2-1.3.tar.gz
Collecting bitcoin (from ethereum>=1.5.2->eth-testrpc)
  Using cached bitcoin-1.1.42.tar.gz
Collecting pycryptodome>=3.3.1 (from ethereum>=1.5.2->eth-testrpc)
  Using cached pycryptodome-3.4.tar.gz
Collecting secp256k1 (from ethereum>=1.5.2->eth-testrpc)
  Using cached secp256k1-0.13.2.tar.gz
    Complete output from command python setup.py egg_info:
    'pkg-config' is required to install this package. Please see the README for details.

0 个答案:

没有答案