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

Cannot import name 'literal' from typing. #144

Closed
arnaumarin opened this issue Mar 2, 2024 · 1 comment
Closed

Cannot import name 'literal' from typing. #144

arnaumarin opened this issue Mar 2, 2024 · 1 comment
Assignees

Comments

@arnaumarin
Copy link

arnaumarin commented Mar 2, 2024

I am trying to run on a Linux the example for "mnist_keras_loihi.py". After installing the setup.py and the dependencies, I find the following error:
File "/path/miniconda3/envs/mearl/lib/python3.7/site-packages/termcolor-2.4.0-py3.7.egg/termcolor/_types.py", line 3, in
from typing import Literal
ImportError: cannot import name 'Literal' from 'typing' (/home/harvard/miniconda3/envs/mearl/lib/python3.7/typing.py)

I am using Python 3.7 and I finished processing dependencies for snntoolbox==0.6.0.
Any advice ?

@arnaumarin arnaumarin closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2024
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