[Fixed!] Problems with virtual coach


#1

Hi,
I’m trying to learn how to use the Virtual Coach. To this purpose, I’m following the instructions here https://developer.humanbrainproject.eu/docs/projects/HBP%20Neurorobotics%20Platform/1.2/nrp/user_manual/tutorials/virtual_coach/launching_exp.html

  1. I have opened a terminal and written “cle-virtual-coach python”; in this way I have launched an interactive python interpreter session;
  2. Then I have written “from hbp_nrp_virtual_coach.virtual_coach import VirtualCoach” and this is the result:

from hbp_nrp_virtual_coach.virtual_coach import VirtualCoach
Traceback (most recent call last):
File “”, line 1, in
File “/home/danielecaligiore/Documents/NRP/VirtualCoach/hbp_nrp_virtual_coach/hbp_nrp_virtual_coach/virtual_coach.py”, line 29, in
from hbp_nrp_virtual_coach.simulation import Simulation
File “/home/danielecaligiore/Documents/NRP/VirtualCoach/hbp_nrp_virtual_coach/hbp_nrp_virtual_coach/simulation.py”, line 30, in
from bbp_client.oidc.client import BBPOIDCClient
File “/home/danielecaligiore/.opt/platform_venv/lib/python2.7/site-packages/bbp_client/oidc/client.py”, line 15, in
import httplib2
ImportError: No module named httplib2

How can I deal with this issue? Thanks, Daniele


#2

Hi,

Its a missing package (httplib2),

I think you can install it with pip:

pip install httplib2

Alexander


#3

Yes. Thanks! Now it’s working. Daniele