Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie Help
#1
Hi completely new to python( never heard of it before today) . I am trying to make something on Github work( again never heard of that before today).
I needed to install Python which i did successfully Python3.7 for windows
Now i need to install modules requests and lxml
I have tried literally everything i can find on google and everything i try returns a syntax error, i'm never going to be an expert but it's so frustrating when it doesn't work whatever i do.
Can anyone give me a step by step guide how to do this bearing in mind i have zero knowledge
Thanks
Mike
Reply
#2
(May-02-2019, 11:37 AM)mikeoc1973 Wrote: I have tried literally everything i can find on google and everything i try returns a syntax error
If you get syntax error I guess you try to install them from within python/interpreter

you need to use pip from command line - https://python-forum.io/Thread-Part-1-Py...er-Windows
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
You can use pip

Go to the cmd and do the following

pip install requests

&

pip install lxml
Reply
#4
Thanks i followed both of your advice and have solved my issue, thank you much appreciated
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020