-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
to_clipboard has no effect in ipython (works in python) (linux) #22707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
http://pandas-docs.github.io/pandas-docs-travis/io.html#clipboard
Do you have those installed/ |
well I installed xsel, and it still didn't work. [and note it works in normal python just not ipython?]. (and it used to work on my linux machine??) |
Is your ipython the same environment as your python? (output of `which
ipython` and `which python`).
…On Fri, Sep 14, 2018 at 7:06 AM seanv507 ***@***.***> wrote:
well I installed xsel, and it still didn't work. [and note it works in
normal python just not ipython?]. (and it used to work on my linux
machine??)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22707 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIq_vKV7tYnx5PHniDgHUtJqlm9Jqks5ua5vWgaJpZM4Wox5T>
.
|
thanks - yes it is just root anaconda folder |
Any luck debugging this @seanv507? |
not so far. I don' know where to look [ I know it must be something to do
with my config]. my workaround currently is pyperclip.copy(df.to_csv())
…On Tue, Sep 18, 2018 at 5:09 PM Tom Augspurger ***@***.***> wrote:
Any luck debugging this @seanv507 <https://github.com/seanv507>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22707 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADJxL04nU3gbs9ae8EYw5fI75j7W07Knks5ucQy1gaJpZM4Wox5T>
.
|
The to_clipboard function is still not working properly with ipython or jupyter, but it works with python.
It seems that in my case the qt_clipboard was used. Output of
|
It's possible that the recenlty updated pyperclip we vendor has fixed some issues.
Not really, aside from manually setting Going to close this since this is isn't easily reproducible so it's not clear what needs to be done. |
It seems be fixed in pd.version = '0.26.0.dev0+1487.g733eb77f7' Thanks. |
Installing xclip fixed this for me. |
Same for me. Needed to Ubuntu 20.04 |
Code Sample, a copy-pastable example if possible
Problem description
Hi
since several months I am no longer able to use the to_clipboard function in ipython - nothing pasted to clipboard. I notice it works in python!!. I have tried using latest version of ipython/pandas on anaconda but no improvement
Expected Output
I expect to paste dataframe into text file etc.
Output of
pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.6.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.15.0-34-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: en_GB.UTF-8
pandas: 0.23.4
pytest: 3.7.2
pip: 9.0.3
setuptools: 40.2.0
Cython: 0.26.1
numpy: 1.13.3
scipy: 1.0.0
pyarrow: 0.7.1
xarray: None
IPython: 6.5.0
sphinx: 1.6.3
patsy: 0.4.1
dateutil: 2.7.3
pytz: 2014.10
blosc: None
bottleneck: 1.2.1
tables: 3.4.2
numexpr: 2.6.2
feather: None
matplotlib: 2.1.0
openpyxl: 2.4.8
xlrd: 1.1.0
xlwt: 1.3.0
xlsxwriter: 1.0.2
lxml: 4.1.0
bs4: 4.4.1
html5lib: 0.9999999
sqlalchemy: 1.0.14
pymysql: None
psycopg2: 2.7.1 (dt dec pq3 ext lo64)
jinja2: 2.7.3
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: