GeezerVison is showing github.com — Control Panel GUI does not open, can not register... · Issue #1693 · winpython/winpython
Control Panel GUI does not open, can not register... #1693DescriptionI just downloaded & extracted Winpython64-3.13.5.0slim.exe on my W10 computer. Wiki says for registration I have to start ControlPanel, go to menu "Advanced" and "Register distribution", but in my case no GUI shows up, only command-line help:
usage: wppm [-h] [-v] [--register] [--unregister] [--fix] [--movable] [-ws WHEELSOURCE] [-wd WHEELDRAIN] [-ls] [-lsa]
[-md] [-p] [-r] [-l LEVELS] [-t TARGET] [-i] [-u]
[package(s) or lockfile ...]
I tried to register it using command line, but I get only some strange error:
C:\Users\Jarry\Programs\WPy64-31350\notebooks>wppm --register
Register WinPython: associate file extensions, icons and context menu with this WinPython
registering C:\Users\Jarry\Programs\WPy64-31350\python
continue ? Y/N
Y
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Jarry\Programs\WPy64-31350\python\Scripts\wppm.exe\__main__.py", line 7, in <module>
sys.exit(main())
~~~~^^
File "C:\Users\Jarry\Programs\WPy64-31350\python\Lib\site-packages\winpython\wppm.py", line 345, in main
associate.register(dist.target, verbose=args.verbose)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jarry\Programs\WPy64-31350\python\Lib\site-packages\winpython\associate.py", line 243, in register
for path, desc, fname in _get_shortcut_data(target, current=current, has_pywin32=True):
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jarry\Programs\WPy64-31350\python\Lib\site-packages\winpython\associate.py", line 133, in _get_shortcut_data
shortcut_name = str(Path(create_winpython_start_menu_folder(current=current)) / bname) + '.lnk'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\Jarry\Programs\WPy64-31350\python\Lib\site-packages\winpython\associate.py", line 49, in create_winpython_start_menu_folder
shutil.rmtree(path, onexc=onerror)
^^^^^^
NameError: name 'shutil' is not defined. Did you forget to import 'shutil'?
C:\Users\Jarry\Programs\WPy64-31350\notebooks>
What does it mean and how can I fix it? This is my first experience with winpython, but as of now, I'm quite scared of it... Activitystonebig commented on Jul 17, 2025 HKPhysicist commented on Jan 27, 2026 Let me leave a mark here. I also suffer from this issue.
No error message but also no Start Menu Group. Please advice. Mine is WinPython 3.13.11. stonebig commented on Jan 27, 2026
Let me leave a mark here. I also suffer from this issue.
No error message but also no Start Menu Group. Please advice. Mine is WinPython 3.13.11.
you may have to close then re-open a new "file explorer", to see the change HKPhysicist commented on Jan 27, 2026 For now, I switch back to WinPython 3.11 and start menu group is back. stonebig commented on Jan 27, 2026 hum, maybe droping pywin32, so the small "dot" version was equal to the bigger ones, I droped volontarly this part... to be found in commits stonebig commented on Jan 27, 2026 Jostikas commented on Oct 27, 2026 Different version (WinPython 3.14.70), but as the issue is named as it is, people like me will end up here, and it's still open.
C:\WinPython\WPy64-31470\notebooks>wppm --register
Register the target Python in Windows (file extensions, icons, context menu, start menu), under the 'WinPython' PEP-514 vendor key
registering C:\WinPython\WPy64-31470\python
continue ? Y/N
Y
Traceback (most recent call last):
File "<frozen runpy>", line 203, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\WinPython\WPy64-31470\python\Scripts\wppm.exe\__main__.py", line 5, in <module>
sys.exit(main())
~~~~^^
File "C:\WinPython\WPy64-31470\python\Lib\site-packages\wppm\wppm.py", line 435, in main
import associate
ModuleNotFoundError: No module named 'associate'
I should note that while wppm is, I guess, technically deprecated in favor of just using pip, it's now the only way to register the distribution, and probably the most common reason any new user ever opens wppm. Maybe add it as a test case (easy for me to say).
The fix:
In C:\WinPython\WPy64-31470\python\Lib\site-packages\wppm\wppm.py:
replace all
import associate
with
from . import associate
Also, VS Code shortcut is installed in Start Menu, pointing at a nonexistent .exe? stonebig commented on Oct 27, 2026 stonebig commented on Oct 27, 2026 wppm-17.13.20261027 ... and now all last night prepared build goes to trash stonebig commented on Oct 27, 2026 stonebig commented on Oct 27, 2026 new wppm-17.14.20261027 added, as we are on a wppm fix-up
includes wppm -sa checks security of included packages
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|