-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Description
I 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...
Metadata
Metadata
Assignees
Labels
No labels