Skip to content

import utils problem #14

Description

@imrrobat

when i want to import: from rubik_solver import utils

this error happened:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in
from rubik_solver import utils
File "C:\Users---\AppData\Local\Programs\Python\Python310\lib\site-packages\rubik_solver\utils.py", line 4, in
from past.builtins import basestring
File "C:\Users---\AppData\Local\Programs\Python\Python310\lib\site-packages\past\builtins_init_.py", line 43, in
from past.builtins.noniterators import (filter, map, range, reduce, zip)
File "C:\Users---\AppData\Local\Programs\Python\Python310\lib\site-packages\past\builtins\noniterators.py", line 24, in
from past.types import basestring
File "C:\Users---\AppData\Local\Programs\Python\Python310\lib\site-packages\past\types_init_.py", line 25, in
from .oldstr import oldstr
File "C:\Users---\AppData\Local\Programs\Python\Python310\lib\site-packages\past\types\oldstr.py", line 5, in
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (C:\Users---\AppData\Local\Programs\Python\Python310\lib\collections_init_.py)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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