linkedin-course-downloader icon indicating copy to clipboard operation
linkedin-course-downloader copied to clipboard

logging.error(f"[!] Connection Error: {e}")

Open n4ahn opened this issue 3 years ago • 4 comments

Hello Ahmed I am getting this error when i start the script

File "downloader.py", line 37 logging.error(f"[!] Connection Error: {e}") ^ SyntaxError: invalid syntax

Could you help me fix it ?

Thanks !

n4ahn avatar May 12 '21 16:05 n4ahn

I I believe you are not using python 3 , Are you ?

Ahmed-Soli avatar May 12 '21 20:05 Ahmed-Soli

I have python3, but when i use python3 downloader.py I get import logging , requests , lxml.html , os ModuleNotFoundError: No module named 'lxml'

n4ahn avatar May 12 '21 20:05 n4ahn

You have to install the dependences with pip install then the name of the module bro :)

Ahmed-Soli avatar May 13 '21 02:05 Ahmed-Soli

I did, it says requirement already satisfied

n4ahn avatar May 13 '21 08:05 n4ahn