Skip to content

ImportError: cannot import name 'Sequence' from 'collections' (C:\Program Files\Python3\lib\collections\__init__.py) (venv) #10

@nnnkkk9

Description

@nnnkkk9

There seems to be this error even on the solution file. The full output is:
F:\Other\DevNet\aci-learning-labs-code-samples\venv\lib\site-packages\acitoolkit-0.4-py3.10.egg\acitoolkit\acitoolkit.py:5207: SyntaxWarning: "is not" with a literal. Did you mean "!="?
F:\Other\DevNet\aci-learning-labs-code-samples\venv\lib\site-packages\acitoolkit-0.4-py3.10.egg\acitoolkit\acitoolkit.py:5207: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Traceback (most recent call last):
File "F:\Other\DevNet\aci-learning-labs-code-samples\sbx-intro-aci\sbx-intro-aci-mission_toolkit\aci_critical_faults_SOLUTION.py", line 9, in
from acitoolkit.acitoolkit import Session
File "F:\Other\DevNet\aci-learning-labs-code-samples\venv\lib\site-packages\acitoolkit-0.4-py3.10.egg\acitoolkit_init_.py", line 35, in
File "F:\Other\DevNet\aci-learning-labs-code-samples\venv\lib\site-packages\acitoolkit-0.4-py3.10.egg\acitoolkit\acitoolkit.py", line 33, in

ImportError: cannot import name 'Sequence' from 'collections' (C:\Program Files\Python3\lib\collections_init_.py)
(venv)

I ran in the venv created for this lab only. Does anybody have an idea what the issue might be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions