Skip to content

Problem in importing LruCache #4

@agn-7

Description

@agn-7

I installed lru_cache properly with $ pip install lru_cache

$ pip show lru_cache
Name: lru-cache
Version: 0.2.3
Summary: thread safe lru cache
Home-page: https://github.com/acmerfight/lru_cache
Author: acmerfight
Author-email: acmerfight@gmail.com
License: MIT
Location: /usr/local/lib/python3.6/dist-packages

But when I importing this library, encountered with this error:

In [1]: from cache import LruCache
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-2bf864cf4d52> in <module>()
----> 1 from cache import LruCache

/usr/local/lib/python3.6/dist-packages/cache/__init__.py in <module>()
----> 1 from lru_cache import LruCache

ModuleNotFoundError: No module named 'lru_cache'

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