我想下载一张 insta 个人资料图片,所以我使用了这段代码
import instaloader
ig = instaloader.instaloader()
dp = input("insta user name :" )
ig.download_profile(dp , profile_pic_only=true)
但我遇到了这个错误:
回溯(最近一次通话最后):
文件“C:/Users/mhgh/AppData/Local/Programs/Python/Python38/1.py”,第 1 行,在
导入安装程序
ModuleNotFoundError:没有名为“instaloader”的模块
然后我写了这段代码
pip3 install instaloader
并面临:
SyntaxError:无效的语法
我正在使用python 3.8。