question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: 'ellipsis' object is not iterable

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jakevdpcommented, Jun 26, 2018

Looks like an issue in Python 3.5.2 that has been fixed in more recent releases: https://github.com/python/typing/issues/259

Please update to Python 3.5.3 or newer to fix this.

0reactions
Demetrio92commented, Sep 4, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Matplotlib error message: "TypeError: 'Ellipse' object is not ...
From the matplotlib documentation for FuncAnimation : If blit=True, func and init_func should return an iterable of drawables to clear.
Read more >
While importing web3.py getting following error: TypeError
This is a very common error. You need to upgrade your python version. Web3 requires at least 3.5.3+. I hope this resolved your...
Read more >
How to Fix TypeError in Python: NoneType Object Is Not Iterable
The Python TypeError: NoneType Object Is Not Iterable is an exception that occurs when trying to iterate over a None value. Learn how...
Read more >
Int Object is Not Iterable – Python Error [Solved]
If you are running your Python code and you see the error “TypeError: 'int' object is not iterable”, it means you are trying...
Read more >
What is Python's Ellipsis Object? - Florian Dahlitz
In Python, you usually use the pass keyword to fill a function (or at least something indented), which is not fully implemented yet....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found