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

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

Open
shirooo39 opened this issue Jul 5, 2022 · 0 comments
Open

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

shirooo39 opened this issue Jul 5, 2022 · 0 comments

Comments

@shirooo39
Copy link

shirooo39 commented Jul 5, 2022

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?

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

1 participant