Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error and Traceback #18

Open
arcantuba opened this issue Apr 24, 2019 · 2 comments
Open

Error and Traceback #18

arcantuba opened this issue Apr 24, 2019 · 2 comments

Comments

@arcantuba
Copy link

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
Copy link
Author

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

@shichao-an
Copy link
Owner

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants