Trying to work through the Python 2 Scripting course

Hey guys tying to follow along with Hackersploit in Python For Ethical Hacking -#3 - Importing The Nmap Module, coming up with all kinds of problems, the console saying pip isn’t installed (it is: pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8), I guess i only just installed kali so some of the software Hackersploit would have already had installed is’t there (setuptools) I tried installing nmap via the console (pip not installed) so i downloaded it from pypi, the end of the installation comes up with :slight_smile:

File “/tmp/easy_install-cnvtCd/Sphinx-3.1.1/sphinx/”, line 20, in
File “/tmp/easy_install-cnvtCd/Sphinx-3.1.1/sphinx/”, line 32
def deprecated_alias(modname: str, objects: Dict, warning: “Type[Warning]”) -> None:
SyntaxError: invalid syntax

Instructions say: Installation

$ git clone

$ pip3 install -r requirements.txt

# Install nmap online

$ apt-get install nmap

# That's all is needed to get started

all i get is: [email protected]:~/Downloads/python3-nmap-1.4.7$ sudo pip3 install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Don't know where to go from here!