AttributeError: module 'os' has no attribute 'add_dll_directory'
时间: 2023-10-24 10:07:18 浏览: 61
mdk_armcc_user_guide.pdf
This error occurs when you are trying to use the `add_dll_directory` function from the `os` module, but the version of Python you are using does not support it.
`add_dll_directory` was introduced in Python 3.8, so if you are using an older version of Python, you will encounter this error.
To fix this error, you can either upgrade your Python version to 3.8 or later, or you can use an alternative method to achieve the same functionality.
阅读全文