gordienko-dmitry / TikTokPy

python TikTok client
25 stars 4 forks source link

when starting the program i get an error (MacOS) #3

Open xyr3x0 opened 4 years ago

xyr3x0 commented 4 years ago

when i start any example.py I get this error " raceback (most recent call last): File "/Users/yep/Downloads/TikTokPy-master/example.py", line 4, in username = os.environ['username'] File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 675, in getitem raise KeyError(key) from None KeyError: 'username' " how can I fix it? I'm on MacOS