Python Forum
can not import name invalidate_caches
Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can not import name invalidate_caches
#4
Mind showing the full traceback?  I'm on 3.6, so I can't replicate exactly what you're on, but it seems to work on my end.

D:\Projects\playground>python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from importlib import invalidate_caches
>>> invalidate_caches()
>>> help(invalidate_caches)
Help on function invalidate_caches in module importlib:

invalidate_caches()
   Call the invalidate_caches() method on all meta path finders stored in
   sys.meta_path (where implemented).

>>>
Reply


Messages In This Thread
can not import name invalidate_caches - by Bani - Apr-30-2017, 04:37 PM
RE: can not import name invalidate_caches - by Bani - May-01-2017, 04:48 AM
RE: can not import name invalidate_caches - by nilamo - May-01-2017, 05:53 AM
RE: can not import name invalidate_caches - by Bani - May-01-2017, 07:50 AM
RE: can not import name invalidate_caches - by Bani - May-03-2017, 06:49 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020