Skip to content

pd.read_clipboard in Jupyter makes python 3.5 crash on windows #13946

@jmarrec

Description

@jmarrec

Disclaimer: I'm not quite sure if the problem is really on pandas' side or on jupyter's.

I have seen #4561 but this isn't the same problem.

Code Sample, a copy-pastable example if possible

Given the following code:

import pandas as pd
pd.read_clipboard()

If I use it in a python file, it works fine.

If I use ipython in cmd.exe, it works fine.

Now if I use it in a Jupyter notebook, it consistently makes my kernel die.

output of pd.show_versions()

INSTALLED VERSIONS

commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None

pandas: 0.18.1
nose: 1.3.7
pip: 8.1.2
setuptools: 25.1.6
Cython: 0.24.1
numpy: 1.11.1
scipy: 0.18.0
statsmodels: 0.6.1
xarray: None
IPython: 5.0.0
sphinx: 1.3.1
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: None
tables: 3.2.2
numexpr: 2.6.1
matplotlib: 1.5.1
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.2
lxml: 3.6.1
bs4: 4.4.1
html5lib: 0.9999999
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.40.0
pandas_datareader: 0.2.1

Jupyter info:

jupyter 1.0.0 py35_3
jupyter_client 4.3.0 py35_0
jupyter_console 5.0.0 py35_0
jupyter_core 4.1.0 py35_0
ipython 5.0.0 py35_0
ipython-notebook 4.0.4 py35_3
ipython-qtconsole 4.0.1 py35_4
ipython_genutils 0.1.0 py35_0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compatpandas objects compatability with Numpy or Python functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions