4

I was wondering if I could get some help setting up Pywikibot.

I was able to download it using

git clone --recursive https://gerrit.wikimedia.org/r/pywikibot/core.git

following wikipedia page instructions.

Where I get lost is when trying to create the user-config.py file using the generate_user_files.py. I get an error message saying: "No module named requests"

Thanks in advance

omonoia
  • 87
  • 4

2 Answers2

3

did you try install it via pip?

pip install requests
liorko
  • 1,435
  • 2
  • 24
  • 41
  • When I try I get this erro: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 – omonoia Feb 05 '16 at 20:19
  • 1
    It seems that you are new to python. install python 2.7 instead. – liorko Feb 05 '16 at 20:21
  • Yea I am a beginner, but I have python 2.7.10 installed. When I check using terminal command pyhton -v in terminalit says 2.7.10 – omonoia Feb 05 '16 at 20:28
1

try with the following command sudo pip install pywikibot my terminal image of the instalation

info-farmer
  • 255
  • 3
  • 18