iDRAC6VirtualConsoleLauncher icon indicating copy to clipboard operation
iDRAC6VirtualConsoleLauncher copied to clipboard

TypeError: mkdir() got an unexpected keyword argument 'exist_ok'

Open daviderickson opened this issue 4 years ago • 2 comments

Seeing the below on the latest version of code

Traceback (most recent call last): File "iDRAC6VirtualConsoleLauncher.py", line 92, in main() File "iDRAC6VirtualConsoleLauncher.py", line 46, in main libdir.mkdir(parents=True, exist_ok=True) TypeError: mkdir() got an unexpected keyword argument 'exist_ok'

daviderickson avatar Jun 14 '20 02:06 daviderickson

I had a few other failures as well even after modifying the above.. this was on Python 3.4. Is there a minimum newer version of Python required that would be worth mentioning in the readme?

daviderickson avatar Jun 14 '20 02:06 daviderickson

Hi, thanks for this issue. I will look into it.

I developed the tool with python 3.7 where it works. My assumption is that it should work with python 3.5 and above, but I have to test it first. Then I will include this in the readme.

I do not plan to support python 3.4 as it has reached the end of life anyway.

gethvi avatar Jun 15 '20 10:06 gethvi