所以,我不确定这里发生了什么..我有两个python解释器(一个服务器和一个本地)... 我有一个制表符分隔文件,我正在尝试使用pandas读取此文件。 非常简单的东西
df = pd.read_csv(filename, delimiter='\t')
但是在一台机器上它会抛出一个
In [2]: df = pd.read_csv(filename, delimiter='\t')
Segmentation fault
在另一台机器上,它会提供以下内容并终止
*** Error in `/usr/bin/python': free(): invalid pointer: 0x00007f96f679711e ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7f97118a5bcb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76f96)[0x7f97118abf96]
/lib/x86_64-linux-gnu/libc.so.6(+0x777de)[0x7f97118ac7de]
/home/msingh/.local/lib/python2.7/site-packages/pandas/_libs/parsers.so(parser_cleanup+0x1a)[0x7f96f678da9a]
/home/msingh/.local/lib/python2.7/site-packages/pandas/_libs/parsers.so(+0x16f61)[0x7f96f672cf61]
/usr/bin/python(PyEval_EvalFrameEx+0x585f)[0x5609dc75c58f]
/usr/bin/python(PyEval_EvalCodeEx+0x255)[0x5609dc755535]
/usr/bin/python(PyEval_EvalFrameEx+0x6968)[0x5609dc75d698]
/usr/bin/python(PyEval_EvalCodeEx+0x255)[0x5609dc755535]
/usr/bin/python(PyEval_EvalFrameEx+0x6968)[0x5609dc75d698]
/usr/bin/python(PyEval_EvalCodeEx+0x255)[0x5609dc755535]
/usr/bin/python(PyEval_EvalFrameEx+0x6968)[0x5609dc75d698]
/usr/bin/python(PyEval_EvalCodeEx+0x255)[0x5609dc755535]
/usr/bin/python(PyEval_EvalFrameEx+0x61e9)[0x5609dc75cf19]
这里发生了什么?我该如何解决这个问题?