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

Notebook execution error: cannot import name 'AriesAgentController' #2

Open
aknip opened this issue Nov 1, 2021 · 1 comment
Open

Comments

@aknip
Copy link

aknip commented Nov 1, 2021

I tried to setup the playground as described in your article https://hackmd.io/@wip-abramson/BkD06KGq_
It's a clean Ubuntu 20.4.0 machine. The whole installation process had worked fine (no errors) and the startup via ./manage.sh production shows no errors, too.

When I log into the notbook and execute the first cell ("Imports") it throws the following error:


ImportError Traceback (most recent call last)
/tmp/ipykernel_34/1893174728.py in
----> 1 from aries_cloudcontroller import AriesAgentController
2 import os
3 from termcolor import colored
+ImportError: cannot import name 'AriesAgentController' from 'aries_cloudcontroller' (/opt/conda/lib/python3.9/site-packages/aries_cloudcontroller/init.py)

@wip-abramson
Copy link
Owner

Hey @aknip,

Sorry I missed this. Did you manage to figure out the issue? Good to know that the install instructions mostly work still.

What branch were you using?

I haven't tried to run this for a while, but if you are still interested in it I would be happy to try help you solve this.

What might have happened is the version for the aries_cloudcontroller has not been fixed, so the latest has been installed (0.4.x) which has a different usage pattern I believe. I still haven't properly updated the playground for this.

A simple fix might be to set the aries_cloudcontroller to v0.3 in the requirements.txt file

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

2 participants