Closed juicechu closed 10 years ago
I just googled the error and this was the first result. http://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory
Looks like you just gotta
sudo apt-get install python-dev
Just installed into a new Trusty VM, and I needed all of these:
sudo apt-get install libxml2-dev libxslt-dev
sudo apt-get install python-dev
sudo apt-get install libffi-dev
sudo apt-get install libssl-dev
pip install BeautifulSoup
pip install Ipython
Thanks wiredfool, I'll keep this open for a while and update instructions eventually.
I removed the IPython debugging stuff. Not sure where it's calling for beautifulsoup though, I couldn't find it in pipelines or the spider.
Looks like it's a broken lxml install:
Traceback (most recent call last):
File "./xsscrapy.py", line 5, in <module>
from xsscrapy.spiders.xss_spider import XSSspider
File "/home/ubuntu/xsscrapy/xsscrapy/spiders/xss_spider.py", line 14, in <module>
from lxml.html import soupparser, fromstring
File "/home/ubuntu/vpy/local/lib/python2.7/site-packages/lxml/html/soupparser.py", line 7, in <module>
from BeautifulSoup import \
ImportError: No module named BeautifulSoup
@wiredfool @DanMcInerney Thank you for your help, i'm python rookie, but I'm progress
By the way, how can I get close the issue
i had type this command line but this is giving an error
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
can anyone help me out @DanMcInerney
Hello @manishthakur101 - I would recommend starting a new ticket, this one is closed
I believe your problem is that you are using pip3. From what I remember this project is Python2, not Python3, so you would want to use: pip install -r requirements.txt
@manishthakur101 same here
@decidedlygray not working
@addycracker your message isn’t super helpful. In what way is that not working? What OS are you using? Do you have a stack trace, recreation steps or screenshots you can share? Etc.
also same advice as before: start a new ticket that isn’t marked as closed
sudo pip install -r requirements.txt but error message