davidteather / TikTok-Api

The Unofficial TikTok API Wrapper In Python
https://davidteather.github.io/TikTok-Api
MIT License
4.76k stars 960 forks source link

[INSTALLATION] - ModuleNotFoundError: No module named 'TikTokApi' #1111

Open qdl49 opened 8 months ago

qdl49 commented 8 months ago

Hello, I installed TikTokApi via pip install TikTokApi --upgrade and then python -m playwright install. Everything it's okay but I have the error "No module named 'TikTokApi'" when I try "from TikTokApi import TikTokApi".

Could you help me please ?

Thank you

ob-chen commented 7 months ago

I have also encountered a similar issue, and my solution was to uninstall it and then reinstall it. pip uninstall TikTokApi pip install TikTokApi python -m playwright install Note: Make sure to correctly delete all the data under the lib path.

cloudengineer89 commented 7 months ago

I faced with the same issue. Rerunning commands to uninstall and install TikTokApi doesn't help. TikTokApi version: TikTokApi-6.2.1 playwright version: Version 1.41.2

Marimhou commented 7 months ago

I have done what you recommend and the same error keeps appearing, any more help?