I have been trying to install some lectures from coursera using the coursera-dl command, installed via :
pip install coursera-dl
I also did the coursera-dl.conf file, which includes my username, password, download preferences and cauth from Coursera.org. I made sure to be logged in on coursera (in ALL of my browsers!!!) I carefully write the classe's name, i.e. what follows learn/ in the url. But I encountered errors. I decided to downgrade Python from 3.9.5 to 3.8. I also changed path, in environment variables of advanced settings (control panel) to where the coursera-dl.exe file is. In addition, I have created the folder for the downloads, have the .conf file in there, and am doing the commands there (it managed to create a coursera-dl folder too, after I git cloned I think).
Anyway, I now get the error below after doing this command:
coursera-dl classical-composition
Can anyone help me please? Thank you
Traceback (most recent call last):
File "c:\users\leo\anaconda3\envs\spyder-env\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\leo\anaconda3\envs\spyder-env\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Leo\Anaconda3\envs\spyder-env\Scripts\coursera-dl.exe\__main__.py", line 4, in <module>
File "c:\users\leo\anaconda3\envs\spyder-env\lib\site-packages\coursera\coursera_dl.py", line 61, in <module>
from .cookies import (
File "c:\users\leo\anaconda3\envs\spyder-env\lib\site-packages\coursera\cookies.py", line 9, in <module>
import ssl
File "c:\users\leo\anaconda3\envs\spyder-env\lib\ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: DLL load failed while importing _ssl: The specified module could not be found.