bcgov / bcgov/von-network

"ModuleNotFoundError: No module named 'indy'" - where has 'ledger' and 'pool' moved to ?

Open
#245 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
170
Forks
189
PR merge metrics
No merged PRs in 30d

Description

I am following the instructions at https://github.com/bcgov/von-network#running-the-web-server-on-your-local-machine .

When I execute the following command I get the error "ModuleNotFoundError: No module named 'indy'" - can anyone tell me where the 'ledger' and 'pool' objects can now be found ?

```
(venv) rshea@tana:~/dev/von-network$ GENESIS_FILE=~/dev/aries-cloudagent-python-sandbox/genesis-file-downloaded-from-von.txt PORT=9000 python -m server.server
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/rshea/dev/von-network/server/server.py", line 14, in
from .anchor import (
File "/home/rshea/dev/von-network/server/anchor.py", line 17, in
from indy import ledger, pool
ModuleNotFoundError: No module named 'indy'
```

Contributor guide

Open the contributing guide

Research direction

Start with the local-server instructions in the repository README, then run the reported command and inspect server/server.py and server/anchor.py, especially the import of indy. Determine where the ledger and pool objects are provided in the current dependency setup, and verify that the web server starts without the ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.