Manual talk:Pywikibot/flickrripper.py

Latest comment: 8 years ago by Josve05a in topic Windows how to

Warning

edit

I 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)Reply

Windows how to

edit
  1. Install Python 2.7.x
  2. open cmd.exe
  3. Type C:\Python27\python.exe -m pip install "flickrapi==1.4.5"
  4. Pres enter and wait for the package to load and install succesfully.
  5. 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


If cmd.exe says at anytime C:\Python27\python.exe: No module named pip, please do the following before retrying the last step;

  1. Go to https://bootstrap.pypa.io/get-pip.py
  2. Right click on the page and press "Save page/file as"
  3. Save the file
  4. In cmd.exe type C:\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)
  5. Go back to the last step in the guide above and retry the step which caused this error.

--Josve05a (talk) 08:06, 16 May 2016 (UTC)Reply

Return to "Pywikibot/flickrripper.py" page.