Python-Instagram API example not working

后端 未结 4 1603
感动是毒
感动是毒 2021-01-12 22:38

I am looking to use the Python-Instagram package. I have downloaded the package using the script that is provided on https://github.com/Instagram/python-instagram.

I

4条回答
  •  难免孤独
    2021-01-12 23:33

    The recommended way:

    1. Make sure you have pip installed
    2. Install the package with the command: pip install python-instagram (you may require administrator/sudo privileges for this)

    Manual Installation:

    1. Download the zip file from https://github.com/Instagram/python-instagram
    2. Copy the instagram directory to your python's dist-package directory or site-package directory (whatever is relevant to you)

    You should then be able to import InstagramAPI with

    from instagram.client import InstagramAPI
    

提交回复
热议问题