Manual talk:Pywikibot/flickrripper.py
Latest comment: 8 years ago by Josve05a in topic Windows how to
Warning
editI get this for every single image in the queue and no way to ignore it for all of them:
INFO:pywiki:Uploading file to commons:commons via API.... Uploading file to commons:commons via API.... INFO:pywiki:Got warning message: Got warning message: Do you want to ignore? ([y]es, [N]o)
Updating to the last git revision (compat aka trunk) didn't help; I'm now hacking upload.py to ignore all warnings (ignoreWarning=True) but if that fails I'll just use flickr2commons (which however doesn't fit my case very well). --Nemo 11:53, 5 September 2013 (UTC)
Windows how to
edit- Install Python 2.7.x
- open
cmd.exe
- Type
C:\Python27\python.exe -m pip install "flickrapi==1.4.5"
- Pres enter and wait for the package to load and install succesfully.
- Type
C:\Python27\python.exe C:\Path or place where the pwb-file is located\pwb.py flickrripper
- Make sure to replace the bold text with the location of the file. E.g.
C:\Users\Jonatan\Desktop\pywikibot\core\pwb.py
- Make sure to replace the bold text with the location of the file. E.g.
If cmd.exe
says at anytime C:\Python27\python.exe: No module named pip
, please do the following before retrying the last step;
- Go to https://bootstrap.pypa.io/get-pip.py
- Right click on the page and press "Save page/file as"
- Save the file
- In
cmd.exe
typeC:\Python27\python.exe C:\path\to\get-pip.py
- Replace path\to with the path to where you downloaded the file (e.g.
C:\User\Name\Downloads\get-pip.py
)
- Replace path\to with the path to where you downloaded the file (e.g.
- Go back to the last step in the guide above and retry the step which caused this error.