module 'yarp' has no attribute 'Network'?
YANGGANG1971 opened this issue · 7 comments
Hi @YANGGANG1971 ,
could you please post the source of demo.py?
The content of demo.py is as follows.
import yarp
yarp.Network.init()
from pyicub import *
Are you sure yarp and pyicub are present in the PYTHONPATH?
Could you please report the output of the following lines?
import yarp
yarp
and
import pyicub
pyicub
I recorded the processing as follows. You can the errors from the video.
https://drive.google.com/open?id=1ZzCrz00Ppg_OZLcNOgjKzEfTFPadwAx6
I suppose you've installed yarp using ubuntu packages and something is broken in the Python wrappers. Please try to install yarp from sources and see if you encounter the same issue. Since the issue is clearly related to yarp rather than pyicub I close this.
I followed the following tutorial and installed twice, but I encounter the same issue. May I ask where I can post this kind of issue?
http://wiki.icub.org/wiki/Linux:Installation_from_sources
https://github.com/robotology/yarp/issues is the good place