Python Forum
Newbie Help - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Newbie Help (/thread-17992.html)



Newbie Help - mikeoc1973 - May-02-2019

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


RE: Newbie Help - buran - May-02-2019

(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-Python-3-6-3-7-and-pip-installation-under-Windows


RE: Newbie Help - SheeppOSU - May-02-2019

You can use pip

Go to the cmd and do the following

pip install requests

&

pip install lxml


RE: Newbie Help - mikeoc1973 - May-02-2019

Thanks i followed both of your advice and have solved my issue, thank you much appreciated