Please make sure you use the custom Kali Zaid made for this course.
If you get the same error then install the needed packages manually, so:
1. Download the needed packages from the following links
2. Navigate to the location where they are downloaded (probably downloads).
3. Install the downloaded packages in the following order
dpkg -i python-typing_3.6.6-1_all.deb
dpkg -i python-m2crypto_0.31.0-4_i386.deb
I just tried this myself and it worked on the custom Kali 2020.
Let me know how it goes!