instaloader / instaloader

Download pictures (or videos) along with their captions and other metadata from Instagram.

Home Page:https://instaloader.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The procedure entry point PssQuerySnapshot could not be located in the dynamic link library KERNEL32.dll.

EveryDirection opened this issue · comments

I can run Instaloader 4.10 and earlier versions on Windows 7.

However, Instaloader 4.11, starting with 4.11rc1, will not run on Windows 7 and will instead immediately quit with the error message

The procedure entry point PssQuerySnapshot could not be located in the dynamic link library KERNEL32.dll.

because the Windows 7 version of kernel32.dll does not include the function PssQuerySnapshot(), which was added in Windows 8.1.

I am curious as to what 4.11 doing different that it needs PssQuerySnapshot() when earlier versions did not.

Is there any possible workaround or patch for this PssQuerySnapshot() issue on Windows 7? It's a shame because Instaloader has been working on Win7 for so many years, and then 4.11's use of PssQuerySnapshot() makes the program flat out un-runnable.

Windows 7 is obsolete since 2020, so updated software may not work any longer.
Beginning with instaloader 4.11, the target build environment is python 3.12 (before it was 3.8).
Python 3.8 is the last version which works on Windows 7. Python 3.9 requires at least Windows 8 (also obsolete)

The following workaround can currently be used:

  • install python 3.8
  • use pip to install instaloader (see manual)
    or
  • download the source release of instaloader 4.11, extract and use it with python instaloader.py

There has been no activity on this question for an extended period of time. This issue will be closed after further 14 days of inactivity.