title: Could not install erdpy - no module named 'ledgercomm'
body: <p>When I try to install <code>erdpy</code>, it fails with the following message:</p>
  <blockquote>
  <p>ModuleNotFoundError: No module named 'ledgercomm'<br />
  CRITICAL:installer:Could not install erdpy.</p>
  </blockquote>
  <p>I follow the steps from <a href="https://docs.elrond.com/sdk-and-tools/erdpy/installing-erdpy/" rel="nofollow noreferrer">here</a>.</p>
  <p>Running:</p>
  <pre><code>$ wget -O erdpy-up.py https://raw.githubusercontent.com/ElrondNetwork/elrond-sdk-erdpy/master/erdpy-up.py
  </code></pre>
  <p>outputs:</p>
  <pre><code>--2021-09-25 11:04:20--  https://raw.githubusercontent.com/ElrondNetwork/elrond-sdk-erdpy/master/erdpy-up.py
  Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.110.133, ...
  Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 8902 (8.7K) [text/plain]
  Saving to: ‘erdpy-up.py’
  
  erdpy-up.py                       100%[=============================================================&gt;]   8.69K  --.-KB/s    in 0.003s  
  
  2021-09-25 11:04:20 (2.82 MB/s) - ‘erdpy-up.py’ saved [8902/8902]
  </code></pre>
  <p>Then, running:</p>
  <pre><code>$ python3 erdpy-up.py
  </code></pre>
  <p>outputs:</p>
  <pre><code>INFO:installer:Checking user.
  INFO:installer:Checking Python version.
  INFO:installer:Python version: sys.version_info(major=3, minor=6, micro=9, releaselevel='final', serial=0)
  INFO:installer:Checking operating system.
  INFO:installer:Operating system: linux
  INFO:installer:Removed previous installation (virtual environment).
  INFO:installer:Packages found: &lt;module 'ensurepip' from '/usr/lib/python3.6/ensurepip/__init__.py'&gt;, &lt;module 'venv' from '/usr/lib/python3.6/venv/__init__.py'&gt;.
  INFO:installer:Creating virtual environment in: /home/user/elrondsdk/erdpy-venv.
  INFO:installer:Virtual environment has been created in: /home/user/elrondsdk/erdpy-venv.
  INFO:installer:Installing erdpy in virtual environment...
  Collecting pip
    Using cached https://files.pythonhosted.org/packages/ca/31/b88ef447d595963c01060998cb329251648acf4a067721b0452c45527eb8/pip-21.2.4-py3-none-any.whl
  Installing collected packages: pip
    Found existing installation: pip 9.0.1
      Uninstalling pip-9.0.1:
        Successfully uninstalled pip-9.0.1
  Successfully installed pip-21.2.4
  Collecting erdpy
    Downloading erdpy-1.0.17-py3-none-any.whl (142 kB)
       |################################| 142 kB 1.6 MB/s 
    Downloading erdpy-1.0.16-py3-none-any.whl (142 kB)
       |################################| 142 kB 5.1 MB/s 
  Collecting bottle
    Downloading bottle-0.12.19-py3-none-any.whl (89 kB)
       |################################| 89 kB 4.5 MB/s 
  Collecting pycryptodomex
    Downloading pycryptodomex-3.10.4-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB)
       |################################| 1.9 MB 5.4 MB/s 
  Collecting pynacl
    Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
       |################################| 961 kB 4.7 MB/s 
  Collecting requests
    Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
       |################################| 62 kB 6.8 MB/s 
  Collecting prettytable
    Downloading prettytable-2.2.0-py3-none-any.whl (23 kB)
  Collecting toml&gt;=0.10.2
    Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
  Collecting cryptography&gt;=3.2
    Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
       |################################| 3.0 MB 5.5 MB/s 
  Collecting cffi&gt;=1.12
    Downloading cffi-1.14.6-cp36-cp36m-manylinux1_x86_64.whl (401 kB)
       |################################| 401 kB 6.1 MB/s 
  Collecting pycparser
    Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
       |################################| 112 kB 6.9 MB/s 
  Collecting importlib-metadata
    Downloading importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
  Collecting wcwidth
    Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
  Collecting zipp&gt;=0.5
    Downloading zipp-3.5.0-py3-none-any.whl (5.7 kB)
  Collecting typing-extensions&gt;=3.6.4
    Downloading typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
  Collecting six
    Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
  Collecting idna&lt;4,&gt;=2.5
    Downloading idna-3.2-py3-none-any.whl (59 kB)
       |################################| 59 kB 8.6 MB/s 
  Collecting certifi&gt;=2017.4.17
    Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
       |################################| 145 kB 6.5 MB/s 
  Collecting charset-normalizer~=2.0.0
    Downloading charset_normalizer-2.0.6-py3-none-any.whl (37 kB)
  Collecting urllib3&lt;1.27,&gt;=1.21.1
    Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
       |################################| 138 kB 5.6 MB/s 
  Installing collected packages: zipp, typing-extensions, pycparser, wcwidth, urllib3, six, importlib-metadata, idna, charset-normalizer, cffi, certifi, toml, requests, pynacl, pycryptodomex, prettytable, cryptography, bottle, erdpy
  Successfully installed bottle-0.12.19 certifi-2021.5.30 cffi-1.14.6 charset-normalizer-2.0.6 cryptography-3.4.8 erdpy-1.0.16 idna-3.2 importlib-metadata-4.8.1 prettytable-2.2.0 pycparser-2.20 pycryptodomex-3.10.4 pynacl-1.4.0 requests-2.26.0 six-1.16.0 toml-0.10.2 typing-extensions-3.10.0.2 urllib3-1.26.7 wcwidth-0.2.5 zipp-3.5.0
  Traceback (most recent call last):
    File &quot;/home/user/elrondsdk/erdpy-venv/bin/erdpy&quot;, line 5, in &lt;module&gt;
      from erdpy.cli import main
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/cli.py&quot;, line 7, in &lt;module&gt;
      import erdpy.cli_accounts
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/cli_accounts.py&quot;, line 4, in &lt;module&gt;
      from erdpy import cli_shared, utils
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/cli_shared.py&quot;, line 8, in &lt;module&gt;
      from erdpy import config, errors, scope, utils
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/scope.py&quot;, line 6, in &lt;module&gt;
      from erdpy.testnet.config import TestnetConfiguration
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/testnet/__init__.py&quot;, line 2, in &lt;module&gt;
      from erdpy.testnet.setup import clean, configure, install_dependencies
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/testnet/setup.py&quot;, line 8, in &lt;module&gt;
      from erdpy.testnet import (genesis_json, genesis_smart_contracts_json,
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/testnet/genesis_json.py&quot;, line 6, in &lt;module&gt;
      from erdpy.testnet.genesis import (get_delegation_address,
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/testnet/genesis.py&quot;, line 2, in &lt;module&gt;
      from erdpy.contracts import SmartContract
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/contracts.py&quot;, line 10, in &lt;module&gt;
      from erdpy.transactions import Transaction
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/transactions.py&quot;, line 11, in &lt;module&gt;
      from erdpy.ledger.ledger_app_handler import SIGN_USING_HASH_VERSION
    File &quot;/home/user/elrondsdk/erdpy-venv/lib/python3.6/site-packages/erdpy/ledger/ledger_app_handler.py&quot;, line 1, in &lt;module&gt;
      from ledgercomm import Transport
  ModuleNotFoundError: No module named 'ledgercomm'
  CRITICAL:installer:Could not install erdpy.
  </code></pre>
  <p><strong>Details:</strong></p>
  <pre><code>$ python3 --version
  Python 3.6.9
  </code></pre>
  <p>How can I fix this?</p>