Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

TypeError: makedirs() got an unexpected keyword argument 'exist_ok' #5

Open
guschu79 opened this issue Feb 5, 2019 · 0 comments
Open

Comments

@guschu79
Copy link

guschu79 commented Feb 5, 2019

I'm betting a different errors when I'm trying to test this to download specific course

('Downloading course:', 'https://cloudacademy.com/course/introduction-and-high-level-overview/')
Traceback (most recent call last):
File "/Users/getchudez/test01/bin/cloudacademy-dl", line 10, in
sys.exit(main())
File "/Users/getchudez/test01/lib/python2.7/site-packages/cloudacademy/cloudacademy_dl.py", line 114, in main
download_course(course_url, username, password, video_res, output_dir)
File "/Users/getchudez/test01/lib/python2.7/site-packages/cloudacademy/cloudacademy_dl.py", line 91, in download_course
os.makedirs(course_dir, exist_ok=True)
TypeError: makedirs() got an unexpected keyword argument 'exist_ok'

The directory never is created. I tested to create the directory manually but still having issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant