当试图在删除目录后立即创建一个新的(深层)目录(在本地ssd上)时,Python3.6在os.makedirs(dirName)行中报告了一个PermissionError。我是不是用错了API,这是Python的问题,还是别的什么问题?: [WinError5] Access is denied: '...'File "C:\Program Files\Python37\lib\os.py", line 221, in makedirs
mkdir(name, mode)
sklearn Using cached https://files.pythonhosted.org/packages/1e/7a/dbb3be0ce9bd5c8b7e3d87328e79063f8b263b2b1bfa4774cb1147bfcd3fCollecting scikit-learn (from sklearn)
Using cached https://files.pythonhosted.org/packages/
AppData\Local\Programs\Python\Python37-32\lib\shutil.py", line 389, in _rmtree_unsafePermissionError: [WinError5] Access is denied: 'C:\\Users\\daman\\AppData\\Local\\Temp\\tmpe6tqnsio\\matplotlib\\.git\\objects\\pack\\pack-e0ef0cedb6b5<