-
Notifications
You must be signed in to change notification settings - Fork 66
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
Doesn't work on Python 3.12.0 #86
Comments
Hi, sorry for the delay in getting back to you here. It looks like you are on Windows which I know next to nothing about, and that it fails to install PyYAML. I just updated all the dependencies for the tool to the latest ones, which might, or might not, fix this. So you can give it a new try and install straight from the git repo and see if that fixes it?
|
No worries for the delay, I switched back to Python 3.9 in the meantime.
No rush in solving the problem, like I said I was able to run the scripts using Python 3.9. It's just that Python 3.12 is officially released so I guessed I wouldn't be the only one with this issue :) If I have some free time, maybe I'll try to fix the issue myself. |
it's because https://github.com/alexis-mignon/python-flickr-api relies on https://github.com/joestump/python-oauth2 which is ancient, so it relies on distutils which is deprecated in 3.12 |
You can fix this by installing a version of PyYAML that works with newer cython:
Then install flickr-download using pip as in the README. |
I'm assuming this is fixed by the upgrade to a newer PyYAML |
I tried to install the package with Python 3.12.0, it fails:
The text was updated successfully, but these errors were encountered: