Skip to content

thonny is not opening : ImportError DLL load failed while importing_ctypes: The parameteri incorrect #3762

@peachtop98

Description

@peachtop98

The error message is as follows:

Traceback (most recent call last): File "", line 3, in <modules File "C:\Users\scope\AppData\Local\Programs\Thonny\lib\runpy.py", line 203, in run_modulemod_name, mod_spec, code = -get_module_details(mod_name) -get_module_details File "C:\Users\scope\AppData\Local\Programs\Thonny\lib\runpy.py", line 144, in return get_module_details(pkg_main_nane, error) -get_module_detailsjmport(pkg_name) File "C:\Users\scope\AppData\Local\Prograhs\Thonny\lib\runpy.py", line 111, in File "C:\Users\scope\AppData\Local\Programs\Thonny\lib\site-packages\thonny/_init_py", line 162, in <modules THONNY_USER_DIR = _compute_thonny_user_dirO File “C:\Users\scope\AppData\Local\Programs\Thonny\lib\site-packages\thonny/_init_py", line 77,in compute_thonny_user_dir elf is_portable0: File "C:\Users\scope\AppData\LocalPrograms\Thonny\lib\site-packages\thonny_init-py", line133, in is_portable from ctypes import windl ImportError: DLL load failed while importing _ctypes: The parameteri incorrect。 "C:\Users\scope\AppData\Local\Programs\Thonny\lib\ctypes_init_py", line 7, in from _ctypes import Union, Structure, Array

The error screenshot is as follows:

Image

question:

Is the 32-bit version of the new version of Thonny no longer supported for Windows 7? I am using the 32-bit version of Thonny 4.0 and also encounter problems like "ImportError DLL load failed while importing_ctypes: The parameter is incorrect".

Do you have any solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions