python - Pandas import error when debugging using PVTS -
i dealing silly error, , wondering if of have same problem. when try import pandas using import pandas pd error in copy.py. debugged pamdas imports, , found copy error thrown when pandas tries import this:
from pandas.io.html import read_html
exception throwns is:
un(shallow)copyable object of type <type 'element'>
i not error if try straight run code , not use pvts debugger. using python 2.7 interpreter, pandas version 0.12 came python xy 2.7.5.1 distro , ms visual studio 2012.
any appreciated. thanks!
this limitation of way ptvs detects unhandled exceptions - can't see except-block that's going catch exception because in code eval'd string. see bug in tracker more details.
as workaround, disable "debug standard library" checked in tools -> options -> python tools -> debugging - should cause exception ignored.
Comments
Post a Comment