Aug 11, 2013 at 4:27 PM
Edited Aug 11, 2013 at 4:28 PM
I am getting an ImportError when I try to import bs4 from BeautifulSoup: "No module named cchardet"
The call stack is:
dammit module line 20 Python
element module line 5 Python
__init__ module line 4 Python
__init__ module line 29 Python
tester module line 2 Python
It seems it's because the file dammit.py doesn't exist. When trying to find the source it shows:
The file 'C:...\myproject\build\bdist.win32\egg\bs4\dammit.py' does not exist.
I am finding it hard to figure out because this import works fine from a python Shell and when running the same module from the command line. I tried using "Install Python package..." on the context menu of the Python 2.7 environment to install beautiful
soup again, but no luck. Any ideas what this could be?