Note that there are some explanatory texts on larger screens.

plurals
  1. POBeautiful Soup 4.2.1 on Cygwin: core dumping
    primarykey
    data
    text
    <p>Wanting to scrap the web, I installed the latest (4.2.1) Beautiful Soup on Cygwin.</p> <p>On the Python shell - importing bs4 gives no problems.<br> However, trying to import Beautiful Soup in a Python script - core dumps, viz.:</p> <pre><code>$ cat bs_core_dumped_demo.py #!/usr/bin/env python import bs4 $ which python /usr/bin/python $ /usr/bin/python --version Python 2.7.3 $ python bs_core_dumped_demo.py Aborted (core dumped) $ python Python 2.7.3 (default, Dec 18 2012, 13:50:09) [GCC 4.5.3] on cygwin Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import sys &gt;&gt;&gt; print sys.platform cygwin &gt;&gt;&gt; &gt;&gt;&gt; import bs4 &gt;&gt;&gt; $ </code></pre> <p>The web didn't produce any hints for incompatibility between bs4 and Cygwin's Python. <strong>Can you suggest what may be wrong?</strong></p> <p>Environment:</p> <pre><code>CYGWIN_NT-6.1 t43 1.7.22(0.268/5/3) 2013-07-22 17:06 i686 Cygwin Windows 7 Python 2.7.3 /usr/lib/python2.7/site-packages/beautifulsoup4-4.2.1-py2.7.egg-info /usr/lib/python2.7/site-packages/bs4/__init__.py /usr/lib/python2.7/site-packages/bs4/__init__.pyc /usr/lib/python2.7/site-packages/bs4/builder/__init__.py /usr/lib/python2.7/site-packages/bs4/builder/__init__.pyc /usr/lib/python2.7/site-packages/bs4/builder/_html5lib.py /usr/lib/python2.7/site-packages/bs4/builder/_html5lib.pyc /usr/lib/python2.7/site-packages/bs4/builder/_htmlparser.py /usr/lib/python2.7/site-packages/bs4/builder/_htmlparser.pyc /usr/lib/python2.7/site-packages/bs4/builder/_lxml.py /usr/lib/python2.7/site-packages/bs4/builder/_lxml.pyc /usr/lib/python2.7/site-packages/bs4/dammit.py /usr/lib/python2.7/site-packages/bs4/dammit.pyc /usr/lib/python2.7/site-packages/bs4/diagnose.py /usr/lib/python2.7/site-packages/bs4/diagnose.pyc /usr/lib/python2.7/site-packages/bs4/element.py /usr/lib/python2.7/site-packages/bs4/element.pyc /usr/lib/python2.7/site-packages/bs4/testing.py /usr/lib/python2.7/site-packages/bs4/testing.pyc /usr/lib/python2.7/site-packages/bs4/tests/__init__.py /usr/lib/python2.7/site-packages/bs4/tests/__init__.pyc /usr/lib/python2.7/site-packages/bs4/tests/test_builder_registry.py /usr/lib/python2.7/site-packages/bs4/tests/test_builder_registry.pyc /usr/lib/python2.7/site-packages/bs4/tests/test_docs.py /usr/lib/python2.7/site-packages/bs4/tests/test_docs.pyc /usr/lib/python2.7/site-packages/bs4/tests/test_html5lib.py /usr/lib/python2.7/site-packages/bs4/tests/test_html5lib.pyc /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.py /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyc /usr/lib/python2.7/site-packages/bs4/tests/test_lxml.py /usr/lib/python2.7/site-packages/bs4/tests/test_lxml.pyc /usr/lib/python2.7/site-packages/bs4/tests/test_soup.py /usr/lib/python2.7/site-packages/bs4/tests/test_soup.pyc /usr/lib/python2.7/site-packages/bs4/tests/test_tree.py /usr/lib/python2.7/site-packages/bs4/tests/test_tree.pyc </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload