shichao-an / twitter-photos

Simple, fast command-line tool to get photos from Twitter accounts
https://twitter-photos.shichao.io
BSD 2-Clause "Simplified" License
171 stars 39 forks source link

Error and Traceback #18

Open arcantuba opened 5 years ago

arcantuba commented 5 years ago

I don't know much about programming and coding so I don't know how to respond to these: First there is this error after installation it says: "error: urllib3 1.25 is installed but urllib3<1.25,>=1.21.1 is required by {'requests'}" then after making an attempt to download, this appeared: Capture

I have followed and reviewed all installation process and how to set it up.

arcantuba commented 5 years ago

One last problem, on my latest Traceback, it says Exception: No credentials found, how do I fix that?

shichao-an commented 5 years ago

Make sure the credential file is under home directory. The code expands ~ to find the user directory. https://github.com/shichao-an/twitter-photos/blob/master/twphotos/settings.py#L10

Since you are using Windows, I'm not sure of the exact path.

Try to test what's the expected path in a python shell, and then put your config in that path:

import os
USER_DIR = os.path.join(os.path.expanduser('~'))
USER_CONFIG = os.path.join(USER_DIR, '.twphotos')
print(USER_CONFIG)