Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Interpreter for parsing html/xml in zepplin #9

Open
mkscala opened this issue Apr 13, 2016 · 4 comments
Open

Python Interpreter for parsing html/xml in zepplin #9

mkscala opened this issue Apr 13, 2016 · 4 comments

Comments

@mkscala
Copy link

mkscala commented Apr 13, 2016

I wanted to use the Python APIs like BeautifulSoup, how can we use external python api's along with pyspark
http://omz-software.com/pythonista/docs/ios/beautifulsoup_guide.html
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-consider-HTML-files-in-Spark-td22017.html
https://pypi.python.org/pypi/beautifulsoup4

@dylanmei
Copy link
Owner

%sh pip install beautifulsoup4

I don't know any details about actually using it effectively with Spark. Spark has a very active mailing list and freenode #apache-spark IRC channel which I'm sure will yield better tips.

@mkscala
Copy link
Author

mkscala commented Apr 13, 2016

I get the below error
Process exited with an error: 127 (Exit value: 127)

@mkscala
Copy link
Author

mkscala commented Apr 13, 2016

how to add the basic python interpreter ? have you tried ? within this docker-zepplin?

@dylanmei
Copy link
Owner

There is only the pyspark interpreter. Perhaps you'd get more mileage with this: https://github.com/jupyter/docker-stacks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants