Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shearichard opened this issue Nov 26, 2022 · 3 comments

Comments

@shearichard
Copy link

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 <module>
    from .anchor import (
  File "/home/rshea/dev/von-network/server/anchor.py", line 17, in <module>
    from indy import ledger, pool
ModuleNotFoundError: No module named 'indy'
@WadeBarnes
Copy link
Member

The recommended way to run von-network is using docker through the ./manage script. See; https://github.com/bcgov/von-network/blob/main/docs/UsingVONNetwork.md.

@jamshale
Copy link

jamshale commented May 15, 2023

@WadeBarnes ./manage works well but i'm trying to have my own local agents/controllers as well as the aries demo agents connect to my von-network and having quite a bit of issues because of the docker ip address in the genesis file.
Do you have any resources or suggestions about this?

I've found some documentation https://github.com/hyperledger/indy-sdk/blob/main/README.md#how-to-start-local-nodes-pool-with-docker but it seems out of date. Tried a lot of things but haven't got it to work. I'm on windows/wsl.

@WadeBarnes
Copy link
Member

@jamshale, This sounds like a different issue than the one reported here. If so, please open a separate issue and we can discuss there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants