Open jafetmorales opened 6 years ago
I have this error too, you fixed them? I install this library to python 3
I think this is happening because the module tries to install beautifulsoup which is no longer supported by python. It should be beautifulsoup4 instead.
@vtrokhymenko I don't think I fixed since I was just automatically testing hundreds of github packages and automatically posting the detected issues. But indeed it probably has something to do with your version of python since it says you gotta use Python 2.7 in the readme. Maybe you can port it by using beautifulsoup4 instead. So those are probably your two choices.
Also, I think the package is getting the BeautifulSoup-3.2.1 module while installing. Maybe the error is on that. I am not sure how can we install pyteaser with beautifulsoup4. We have bs4 dependency in the setup file.
Collecting beautifulsoup (from pyteaser)
Downloading https://files.pythonhosted.org/packages/1e/ee/295988deca1a5a7accd783d0dfe14524867e31abb05b6c0eeceee49c759d/BeautifulSoup-3.2.1.tar.gz
Complete output from command python setup.py egg_info:
@SuryaChandrasekaran I've never done that but this is what I would tray:
don't use the sudo pip install pyteaser
, just type the pip install pyteaser
, easy fix it
@vtrokhymenko @SuryaChandrasekaran can you verify @ahlixinjie 's fix?
@jafetmorales I just saw your error log, yours is different from mine.
Here is my suggestion:
Don't use the python3.x, your error log indicates the SyntaxError cause you're using python3! You should use the pyenv to mange different python versions(better use the pyenv-virtualenv to create virtual environments to manage the modules' version for each project). Switch to python2 then pip install pyteaser
.
@jafetmorales This project is fantastic, cause it can get summarization from web directly, which saves pounds of time of parsing the web content to pure text. It's worth to try what i said above.
This is the output when running
pip install pyteaser
This is my setup: