Ask Your Question

in UR5_Driver( No module named BeautifulSoup

asked 2013-11-20 03:04:30 -0500

MKI gravatar image

updated 2013-11-20 11:46:08 -0500

Hi All,

This question is with reference to universal_robot package, I did a fresh installation of ROS Groovy on my Ubuntu PC(12.04) and also cloned the universal_robot stack from git-hub. followed all steps until catkin_make and sourcing setup.bash. The very first time I run this command

$ roslaunch ur_bringup ur5.launch robot_ip:=

I get the below error, which is apparently a parser.

Traceback (most recent call last):
  File "/home/bucky/catkin_ws/src/universal_robot/ur_driver/src/ur_driver/", line 11, in <module>
    from BeautifulSoup import BeautifulSoup
ImportError: No module named BeautifulSoup

During the previous installations, I overcame the same problem by installing the file using

$ sudo easy_install BeautifulSoup

The Question is, which version of the file should I install, BeautifulSoup or BeautifulSoup4 and should I update the PYTHONPATH environment variable? Did anyone face the same issue when proceeding with this installation?

Thanks and Regards, Murali

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-11-20 14:39:16 -0500

The beautiful soup package can be downloaded by the following:

sudo apt-get install python-beautifulsoup

This should not require any additional updates to the PYTHONPATH variable. It should just work from here.

As an aside, the universal robot package is also available for groovy using:

sudo apt-get install ros-groovy-universal-robot

By downloading the package using sudo apt-get, the dependencies like Beautiful Soup should be taken care of. However, there are some features in the github groovy version that are not in the debian version.

edit flag offensive delete link more


Thank you Shaun, I was more concerned about the version of the beautiful soup package. This answer explains what I wanted ...

MKI gravatar image MKI  ( 2013-11-21 00:08:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-11-20 03:04:30 -0500

Seen: 560 times

Last updated: Nov 20 '13