I wanted to download an insta profile picture so I used this code
import instaloader
ig = instaloader.instaloader()
dp = input("insta user name :" )
ig.download_profile(dp , profile_pic_only=true)
but I faced this erorr:
Traceback (most recent call last):
File "C:/Users/m.h.gh/AppData/Local/Programs/Python/Python38/1.py", line 1, in
import instaloader
ModuleNotFoundError: No module named 'instaloader'
Then I wrote this code
pip3 install instaloader
and faced:
SyntaxError: invalid syntax
I'm using python 3.8.