Ahmed-Soli / linkedin-course-downloader

python script for downloading courses from linkedin learning
51 stars 26 forks source link

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

Open n4ahn opened 3 years ago

n4ahn commented 3 years ago

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 !

Ahmed-Soli commented 3 years ago

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

n4ahn commented 3 years ago

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

Ahmed-Soli commented 3 years ago

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

n4ahn commented 3 years ago

I did, it says requirement already satisfied