benvd / err-music Goto Github PK
View Code? Open in Web Editor NEWLyrics plugin for Err
Lyrics plugin for Err
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.