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

TypeError: 'ellipsis' object is not iterable #972

Closed
iaindillingham opened this issue Jun 25, 2018 · 5 comments
Closed

TypeError: 'ellipsis' object is not iterable #972

iaindillingham opened this issue Jun 25, 2018 · 5 comments

Comments

@iaindillingham
Copy link
Contributor

I tried to import altair and fell at the first hurdle with TypeError: 'ellipsis' object is not iterable when I ran import altair as alt in a new Jupyter notebook.

I've followed the Altair installation instructions as well as those for IPython Vega. I'm running against Python 3.5 on Ubuntu. I see that Travis CI is testing and passing against Python 3.5, however.

Selected dependencies:

altair 2.1.0
notebook 5.5.0
vega 1.3.0

@jakevdp
Copy link
Collaborator

jakevdp commented Jun 26, 2018

What code did you run to produce that error?

@iaindillingham
Copy link
Contributor Author

import altair as alt

In a fresh Python 3.5 virtualenv, having followed the installation instructions that linked to above. I'm afraid I didn't get any further. Here's the stack trace.

@jakevdp
Copy link
Collaborator

jakevdp commented Jun 26, 2018

Looks like an issue in Python 3.5.2 that has been fixed in more recent releases: python/typing#259

Please update to Python 3.5.3 or newer to fix this.

@jakevdp jakevdp closed this as completed Jun 26, 2018
@iaindillingham
Copy link
Contributor Author

Thanks for the speedy response.

@Demetrio92
Copy link

you guys maybe at least want to add a warning there to the package. In ubuntu 16.04 python 3.5.2 is still the default version.

Demetrio92 added a commit to Demetrio92/folium that referenced this issue Sep 4, 2018
Conengmo pushed a commit to python-visualization/folium that referenced this issue Sep 28, 2018
* add missing packages to the requirements

* add explanation on how to run the tests

* handle altair error which is due to python typing issue, but creates an enormous and complex traceback. see: vega/altair#972

* add reference to the contributors guidlines into the readme. FIXME: make it a proper link

* addressing #952 (comment)

* more welcoming contributors message. Stolen from .github/CONTRIBUTING.md

* Complete link to the contributors guide.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants