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

error when importing ammico #236

Open
TMonty-123 opened this issue Jan 13, 2025 · 1 comment
Open

error when importing ammico #236

TMonty-123 opened this issue Jan 13, 2025 · 1 comment

Comments

@TMonty-123
Copy link

Using Google Collab on Apple Silicon Mac.

Trying to run AMMICO but when running line get following error: import ammico

ImportError Traceback (most recent call last)
in <cell line: 2>()
1 import os
----> 2 import ammico
3 from tqdm import tqdm

10 frames
/usr/local/lib/python3.10/dist-packages/openai/_models.py in
5 from typing import TYPE_CHECKING, Any, Type, Tuple, Union, Generic, TypeVar, Callable, Optional, cast
6 from datetime import date, datetime
----> 7 from typing_extensions import (
8 Unpack,
9 Literal,

ImportError: cannot import name 'Sequence' from 'typing_extensions' (/usr/local/lib/python3.10/dist-packages/typing_extensions.py)

@iulusoy
Copy link
Member

iulusoy commented Feb 5, 2025

Hi, @TMonty-123, yes this is a conflict of the subsequent dependencies. If you

pip install --upgrade typing-extensions

in your environment, that should solve the issue. This is currently a workaround and results from sub-dependencies of ammico's dependencies.

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

2 participants