Skip to content
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

Detect missing six script #68

Closed
kshedden opened this issue Jan 6, 2014 · 2 comments
Closed

Detect missing six script #68

kshedden opened this issue Jan 6, 2014 · 2 comments

Comments

@kshedden
Copy link

kshedden commented Jan 6, 2014

After my first installation of seaborn, I tried "import seaborn as sns" and got an error:

File "build/bdist.linux-x86_64/egg/seaborn/init.py", line 1, in
File "build/bdist.linux-x86_64/egg/seaborn/rcmod.py", line 5, in
File "build/bdist.linux-x86_64/egg/seaborn/utils.py", line 11, in ImportError: cannot import name range

Checking line 11 of utils.py reveals that this is due to the missing six module. After installing it, everything worked fine. It would be good to detect the missing six module at installation.

@mwaskom
Copy link
Owner

mwaskom commented Jan 6, 2014

Ah, sorry, most of the dependencies use six so I figured it would have to be installed for those to work, but they must internally package it.

@mwaskom
Copy link
Owner

mwaskom commented Jan 15, 2014

I'm going to close this because packaging six internally is going to be part of the broader changes laid out in #67, which will solve this problem

@mwaskom mwaskom closed this as completed Jan 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants