Traceback (most recent call last): File "/Users/mba0098/Documents/bietdoisansale.py", line 1, in <module> import json, requests, time, os ModuleNotFoundError: No module named 'requests' code example

Example: import requests, sys, urllib, reImportError: No module named requests

Hack the box - buff 

Guys, this problem took me 1 day to find the problem and the issue is the
script needs python 2.7 and is missing libraries.
You'll need to install them.

Open terminal:
Install Python 2.7
sudo apt-get install python-pip

Install pip
sudo pip install requests

Install colorama
sudo pip install colorama

Run exploit:
python exploitname.py url

Happy Hacking!