avilash / TikTokAPI-Python

TikTok API Python Wrapper
http://avilashkumar.com/TikTokAPI-Python/
MIT License
442 stars 114 forks source link

I got Installation error #62

Closed qlchen1 closed 2 years ago

qlchen1 commented 2 years ago

Can you help? Did i miss some other packages?

ERROR: Command errored out with exit status 1: command: 'c:\python27\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\users\xiaoto~1\appdata\local\temp\pip-install-ih5dkv\tiktokapi\setup.py'"'"'; file='"'"'c:\users\xiaoto~1\appdata\local\temp\pip-install-ih5dkv\tiktokapi\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'c:\users\xiaoto~1\appdata\local\temp\pip-pip-egg-info-oroizo' cwd: c:\users\xiaoto~1\appdata\local\temp\pip-install-ih5dkv\tiktokapi\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "c:\users\xiaoto~1\appdata\local\temp\pip-install-ih5dkv\tiktokapi\setup.py", line 5, in with open("README.md", "r", encoding="utf-8") as fh: TypeError: 'encoding' is an invalid keyword argument for this function

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

qlchen1 commented 2 years ago

I upgraded python. Got this resolved.