I'm running ErrBot using Python 3.4.0, and am running into issues with the BeautifulSoup dependency for err-music:
2015-07-04 19:41:56,434 ERROR Unable to import plugin: /home/errbot/data/plugins/err-music/music
Traceback (most recent call last):
File "/home/errbot/venv/lib/python3.4/site-packages/yapsy/PluginManager.py", line 487, in loadPlugins
candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
File "/home/errbot/venv/lib/python3.4/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/home/errbot/venv/lib/python3.4/imp.py", line 171, in load_source
module = methods.load()
File "", line 1220, in load
File "", line 1200, in _load_unlocked
File "", line 1129, in _exec
File "", line 1448, in exec_module
File "", line 321, in _call_with_frames_removed
File "/home/errbot/data/plugins/err-music/music.py", line 11, in
from BeautifulSoup import BeautifulSoup
ImportError: No module named 'BeautifulSoup'
This is what I received when I tried to install BeautifulSoup via pip:
$ pip install BeautifulSoup
Downloading/unpacking BeautifulSoup
Downloading BeautifulSoup-3.2.1.tar.gz
Running setup.py (path:/home/errbot/venv/build/BeautifulSoup/setup.py) egg_info for package BeautifulSoup
Traceback (most recent call last):
File "", line 17, in
File "/home/errbot/venv/build/BeautifulSoup/setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/home/errbot/venv/build/BeautifulSoup/setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
There appears to be a newer version that seems to support Python 3: beautifulsoup4