You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See below for traceback when trying to run the module on 3.12
Traceback (most recent call last):
File "C:\Users\MGIEPERT\OneDrive - azureford\Documents\programming\catc\catc_demo.py", line 1, in
from dnacentersdk import api
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\dnacentersdk_init_.py", line 30, in
from .api import DNACenterAPI
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\dnacentersdk\api_init_.py", line 39, in
from dnacentersdk.restsession import RestSession
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\dnacentersdk\restsession.py", line 27, in
from future import standard_library
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\future\standard_library_init_.py", line 65, in
import imp
ModuleNotFoundError: No module named 'imp'
The text was updated successfully, but these errors were encountered:
This code relies on the "imp" module which is deprecated in 3.12 as seen here. https://discuss.python.org/t/how-do-i-migrate-from-imp/27885
See below for traceback when trying to run the module on 3.12
Traceback (most recent call last):
File "C:\Users\MGIEPERT\OneDrive - azureford\Documents\programming\catc\catc_demo.py", line 1, in
from dnacentersdk import api
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\dnacentersdk_init_.py", line 30, in
from .api import DNACenterAPI
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\dnacentersdk\api_init_.py", line 39, in
from dnacentersdk.restsession import RestSession
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\dnacentersdk\restsession.py", line 27, in
from future import standard_library
File "C:\Users\MGIEPERT\AppData\Local\Programs\Python\Python312\Lib\site-packages\future\standard_library_init_.py", line 65, in
import imp
ModuleNotFoundError: No module named 'imp'
The text was updated successfully, but these errors were encountered: