I am new to Python and today I received a Python 2 script and would like to run it. Never worked with Python, but the code looks straight forward. The issue is, that right at the beginning there is:
import requests, sys, os, re import unicodecsv as csv from lxml import html from bs4 import UnicodeDammit from lxml import etree And I'm not sure how to install these dependencies. I googled around and figured that some 'requirements.txt' file would help, but I have not received it.
So how or whats the best way to install these dependencies please?
pip install requestsfor "requests" librarypip install beautifulsoup4for "bs4".pip install lxmlfor "lxml".pip install unicodecsvfor "unicodescv"