TikTok-Api: ModuleNotFoundError: No module named 'TikTokApi'

Read Below!!! If this doesn’t fix your issue delete these two lines

You may need to install chromedriver for your machine globally. Download it here and add it to your path.

Describe the bug

In my terminal I ran ‘pip3 install TikTokApi’ but I could not import the library in my py file.

The buggy code

Please insert the code that is throwing errors or is giving you weird unexpected results.

# Code Goes Here
from TikTokApi import TikTokapi

Expected behavior

The API should run without any errors.

Error Trace (if any)

Put the error trace below if there’s any error thrown.

# Error Trace Here

Desktop (please complete the following information):

  • OS: [I am running it on Mac OS mojave]
  • TikTokApi Version [e.g. 3.3.1] - if out of date upgrade before posting an issue

Additional context

Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

Closing because it’s a playwright issue. I think you do need XCode tools installed

Currently there are only 3 methods, I will add more

You can try

I am also wondering since I have Mac, do I have to install XCode Developer Tools?

if you want to try some api then you can try https://github.com/demon071/Tiktok-API-Python using only the requests library