I have the latest python-can library installed on my laptop version 4.4.0 I am getting error that detect_available_configs can not be imported from can?

Here is my version info:
D:\Python_PCAN_Project\Python_PCAN_HW_Communication>pip show python-can
Name: python-can
Version: 4.4.0
Summary: Controller Area Network interface module for Python
Home-page:
Author: python-can contributors
Author-email:
License: LGPL v3
Location: C:\Users\emb-vikrkas\AppData\Local\Programs\Python\Python311\Lib\site-packages
Requires: packaging, pywin32, typing-extensions, wrapt
Required-by:

Here is my console output:
D:\Python_PCAN_Project\Python_PCAN_HW_Communication>python
Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

from can.util import detect_available_configs
Traceback (most recent call last):
File “”, line 1, in
ImportError: cannot import name ‘detect_available_configs’ from ‘can.util’ (C:\Users\emb-vikrkas\AppData\Local\Programs\Python\Python311\Lib\site-packages\can\util.py)
from can import detect_available_configs
Traceback (most recent call last):
File “”, line 1, in
ImportError: cannot import name ‘detect_available_configs’ from ‘can’ (C:\Users\emb-vikrkas\AppData\Local\Programs\Python\Python311\Lib\site-packages\can_init_.py)
exit()

Issue is fixed I uninstalled and reinstalled python-can then it worked for me.

Please do not make multiple threads about the same issue. Instead, edit your first post to include any missing information and fix any other problems. (And please read the pinned thread to understand how to format code and error messages properly.)