Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLL load failed while importing shell when running generate_audio_dcli.py #5

Open
pres2300 opened this issue Sep 15, 2022 · 0 comments

Comments

@pres2300
Copy link
Contributor

I use Anaconda to manage python installs, and this error seems specific to that after some googling. This was resolved on my specific instance by changing the version of pywin32 to 300
pip install pywin32==300

Full Traceback:

PS C:\Users\jacobpr\WorksWith\sensiml_xG24_dual_audio_imu_capture\python> python .\generate_audio_dcli.py
Traceback (most recent call last):
  File ".\generate_audio_dcli.py", line 1, in <module>
    from sensiml.dclproj.datasegmentsv2 import DataSegmentsV2, DataSegmentV2
  File "C:\Users\jacobpr\WorksWith\.venv\lib\site-packages\sensiml\__init__.py", line 1, in <module>
    from sensiml.client import Client
  File "C:\Users\jacobpr\WorksWith\.venv\lib\site-packages\sensiml\client.py", line 23, in <module>
    from sensiml.connection import Connection
  File "C:\Users\jacobpr\WorksWith\.venv\lib\site-packages\sensiml\connection\__init__.py", line 1, in <module>
    from .connection import Connection
  File "C:\Users\jacobpr\WorksWith\.venv\lib\site-packages\sensiml\connection\connection.py", line 42, in <module>
    config_dir = user_config_dir(__name__.split(".")[0], False)
  File "C:\Users\jacobpr\WorksWith\.venv\lib\site-packages\appdirs.py", line 196, in user_config_dir
    path = user_data_dir(appname, appauthor, None, roaming)
  File "C:\Users\jacobpr\WorksWith\.venv\lib\site-packages\appdirs.py", line 81, in user_data_dir
    path = os.path.normpath(_get_win_folder(const))
  File "C:\Users\jacobpr\WorksWith\.venv\lib\site-packages\appdirs.py", line 480, in _get_win_folder_with_pywin32
    from win32com.shell import shellcon, shell
ImportError: DLL load failed while importing shell: The specified procedure could not be found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant