简体   繁体   中英

Python No module named 'TikTok Api'

Im trying to figure out where the problem is.

When I run the code, I got an error "Traceback (most recent call last): File "C:\Users\user\IdeaProjects\tiktokAnalyse.idea\main\main.py", line 2, in import TikTokApi ModuleNotFoundError: No module named 'TikTokApi' "

Ive installed "pip install TiKTokApi" and imported with " from TikTokApi import TikTokApi "

Cant figure out where the problem is...

make sure you pip installed it, if the issue is still there, restart the editor. also, check if you have activated the environment in which you pip installed the module(if you are using anaconda)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM