You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the below error when using snoop. when trying to run in python 2.7
how to use snoop for python 2.7
File "/home/hadoop/./driver.py", line 1, in <module>
import snoop
File "/usr/local/lib/python2.7/site-packages/snoop/__init__.py", line 19, in <module>
from .configuration import Config, install
File "/usr/local/lib/python2.7/site-packages/snoop/configuration.py", line 11, in <module>
from snoop.formatting import DefaultFormatter
File "/usr/local/lib/python2.7/site-packages/snoop/formatting.py", line 8, in <module>
import executing
File "/usr/local/lib/python2.7/site-packages/executing/__init__.py", line 12, in <module>
from .executing import Source, Executing, only, NotOneValueFound, cache, future_flags
File "/usr/local/lib/python2.7/site-packages/executing/executing.py", line 36, in <module>
from functools import lru_cache
ImportError: cannot import name lru_cache
$ pip show snoop
Name: snoop
Version: 0.4.3
Summary: Powerful debugging tools for Python
Home-page: https://github.com/alexmojaki/snoop
Author: Alex Hall
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python2.7/site-packages
Requires: cheap-repr, asttokens, backports.functools-lru-cache, six, pygments, executing
You are using pip version 9.0.3, however version 24.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
I am getting the below error when using
snoop
. when trying to run in python 2.7how to use snoop for python 2.7
The text was updated successfully, but these errors were encountered: