Traceback (most recent call last):


 "<stdin>", line 1, in <module>

print(dfs_fromstata.value_labels()) # Printing value_labels


 "C:\Anaconda3\lib\site-packages\pandas\io\stata.py", line 1725, in value_labels

self._read_value_labels()


 "C:\Anaconda3\lib\site-packages\pandas\io\stata.py", line 1329, in _read_value_labels

offset = self.nobs * self._dtype.itemsize
AttributeError: 'NoneType' object has no attribute 'itemsize'

Traceback (most recent call last):


 "C:\Python27\Scripts\spyder", line 3, in <module>

start_app.main()


 "C:\Python27\lib\site-packages\spyderlib\start_app.py", line 114, in main

from spyderlib import spyder


 "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 155, in <module>

from spyderlib.utils.environ import WinUserEnvDialog


 "C:\Python27\lib\site-packages\spyderlib\utils\environ.py", line 17, in <module>

from spyderlib.widgets.dicteditor import DictEditor


 "C:\Python27\lib\site-packages\spyderlib\widgets\dicteditor.py", line 39, in <module>

from spyderlib.widgets.dicteditorutils import (sort_against, get_size,


 "C:\Python27\lib\site-packages\spyderlib\widgets\dicteditorutils.py", line 78, in <module>

import bs4


 "C:\Python27\lib\site-packages\bs4\__init__.py", line 30, in <module>

from .builder import builder_registry, ParserRejectedMarkup


 "C:\Python27\lib\site-packages\bs4\builder\__init__.py", line 311, in <module>

from . import _html5lib


 "C:\Python27\lib\site-packages\bs4\builder\_html5lib.py", line 57, in <module>

class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'
