Skip to content

ImportError: cannot import name 'Iterable' from 'collections' #117

@shirooo39

Description

@shirooo39

I'm not sure why I keep getting this error from Python.
All the modules are also installed without any issue.
I believe I have the API and OAuth thing set up properly, as I've been using it with rclone for about 2 years.
So I don't think there's anything wrong with my account (but I could be wrong).

  • Python version: 3.10.5
  • OS: Windows 10 21H2
  • virtualenv?: Yes (D:\Projects\Python\.venv)
(.venv) D:\Projects\GitHub\Public\uds>python uds.py

Traceback (most recent call last):
  File "D:\Projects\GitHub\Public\uds\uds.py", line 17, in <module>
    from tabulate import tabulate
  File "D:\Projects\Python\.venv\lib\site-packages\tabulate.py", line 7, in <module>
    from collections import namedtuple, Iterable
ImportError: cannot import name 'Iterable' from 'collections' (C:\Users\Shiro39\AppData\Local\Programs\Python\Python310\lib\collections\__init__.py)

ImportError: cannot import name 'Iterable' from 'collections' (C:\Users\Shiro39\AppData\Local\Programs\Python\Python310

Why isi it looking up for the modules in the global installation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions