I have a python script which is used to scrape data from an external website. The mechanism is as follows:
1. User pastes a URL into a text box.
2. Python script visits the above URL and collects data from the page
3. The above data is populated into a form for the user to review, before submitting.
The script stopped working with an error message saying File "/home/xxxxxx/[login to view URL]", line 2, in <module> import mechanize IMPORT ERROR: No module named mechanize.
12 pekerja bebas membida secara purata $22 untuk pekerjaan ini
This can perhaps be solved by installing all necessary libraries on a virtual environment on your local machine. I can also test the code on my local machine to determine how to successfully run and optimize such code.