Skip to content

Import pandas with graphics disabled #16628

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

Closed
dabliss opened this issue Jun 7, 2017 · 2 comments
Closed

Import pandas with graphics disabled #16628

dabliss opened this issue Jun 7, 2017 · 2 comments
Labels
Duplicate Report Duplicate issue or pull request
Milestone

Comments

@dabliss
Copy link

dabliss commented Jun 7, 2017

I'm running an analysis using the Sun Grid Engine.

However, in my code I import pandas, which causes this error to be raised:

import pandas as pd

: cannot connect to X server :3026.0

This is new. Until recently, I was able to import and use pandas within the SGE.

What I've gathered from some Googling and conversations with my sys admin is that pandas is trying to load graphics, and the SGE is not allowing this.

I don't want to do any plotting with pandas. I just want to use its DataFrame features.

Is there a way to load pandas with graphics disabled, so the SGE doesn't hiccup in this way?

UPDATE: This error is not raised when I use pandas version 0.18. So it was introduced by one of the more recent versions. (The version I tried that did raise the error was 0.20.)

Note, this question has been posted to stackoverflow: https://stackoverflow.com/questions/44424058/import-pandas-with-graphics-disabled

@jorisvandenbossche
Copy link
Member

Can you check with the latest version? (0.20.2, bugfix released few days ago) Because I think this was related to the clipboard imports, which should have been fixed in the meantime.

@jorisvandenbossche
Copy link
Member

The related issues I meant are #16383 and #16288, so this should indeed be fixed in 0.20.2.

Closing, but please check that updating solves the issue, and report back it it doesn't.

@jorisvandenbossche jorisvandenbossche added this to the 0.20.2 milestone Jun 8, 2017
@jorisvandenbossche jorisvandenbossche added the Duplicate Report Duplicate issue or pull request label Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Report Duplicate issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants