Thanks to visit codestin.com
Credit goes to github.com

Skip to content

When attempting to use the gui I get an error with 3.12.6.0 #1408

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

Closed
N6REJ opened this issue Sep 20, 2024 · 7 comments
Closed

When attempting to use the gui I get an error with 3.12.6.0 #1408

N6REJ opened this issue Sep 20, 2024 · 7 comments

Comments

@N6REJ
Copy link

N6REJ commented Sep 20, 2024

we're using pywin32-306-cp312-cp312-win_amd64.whl
it appears pyqt is missing

Current directory changed to: E:\Bearsampp-development\sandbox\tools\python\current\scripts
Command line: .\wpcp.bat

Clink v1.6.21.f97375
Copyright (c) 2012-2018 Martin Ridgers
Portions Copyright (c) 2020-2024 Christopher Antos
https://github.com/chrisant996/clink
wppm
E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64\Lib\site-packages\winpython\utils.py:286: SyntaxWarning: invalid escape sequence '\R'
  exec_shell_cmd('dir ..\README.R*', path)
E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64\Lib\site-packages\winpython\utils.py:394: SyntaxWarning: invalid escape sequence '\.'
  b"(#!.*pythonw?\.exe)"
E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64\Lib\site-packages\winpython\utils.py:398: SyntaxWarning: invalid escape sequence '\.'
  b"(#!.*pypy3w?\.exe)"
E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64\Lib\site-packages\winpython\utils.py:444: SyntaxWarning: invalid escape sequence '\p'
  exec_path = '#!.\python.exe'
E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64\Lib\site-packages\winpython\utils.py:446: SyntaxWarning: invalid escape sequence '\p'
  exec_path = '#!.\pypy3.exe'
E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64\Lib\site-packages\winpython\utils.py:450: SyntaxWarning: invalid escape sequence '\!'
  if re.match('^#\!.*python\.exe$', line) is not None:
E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64\Lib\site-packages\winpython\utils.py:452: SyntaxWarning: invalid escape sequence '\!'
  elif re.match('^#\!.*pypy3\.exe$', line) is not None:# PyPy !
usage: wppm [-h] [--register] [--unregister] [-v] [-ls] [-p] [-r] [-l LEVELS] [-lsa] [-t TARGET] [-i] [-u] [package]

WinPython Package Manager: handle a WinPython Distribution and its packages

positional arguments:
  package          optional package name or package wheel

options:
  -h, --help       show this help message and exit
  --register       Register distribution: associate file extensions, icons and context menu with this WinPython
  --unregister     Unregister distribution: de-associate file extensions, icons and context menu from this WinPython
  -v, --verbose    show more details on packages and actions
  -ls, --list      list packages matching the given [optionnal] package expression: wppm -ls, wppm -ls pand
  -p               show Package dependancies of the given package[option]: wppm -p pandas[test]
  -r               show Reverse dependancies of the given package[option]: wppm -r pytest[test]
  -l LEVELS        show 'LEVELS' levels of dependancies of the package, default is 2: wppm -p pandas -l1
  -lsa             list details of package names matching given regular expression: wppm -lsa pandas -l1
  -t TARGET        path to target Python distribution (default: "E:\Bearsampp-development\sandbox\tools\python\current\python-3.12.6.amd64")
  -i, --install    install a given package wheel (use pip for more features)
  -u, --uninstall  uninstall package  (use pip for more features)

   bear@Bears-PC  E:  Bearsampp-development  sandbox  tools  python  current  notebooks  apc 
>
@stonebig
Copy link
Contributor

wppm last use the QT "windowing" was in WinPython 2024-01, but pyqt5 is still there for big version.

for the error message itself: correlation is you have an unusual environment (Clink ?) , but correlation is not causation.

@N6REJ
Copy link
Author

N6REJ commented Sep 23, 2024

does this mean there is no gui on current versions? If so, how do we add it?
This is what we've had for years
image

@stonebig
Copy link
Contributor

stonebig commented Sep 23, 2024

Python idle is there

python console I don't know what you mean

Python control panel I removed even the code, it was not user friendly nor maintaimance team capability friendly

@stonebig
Copy link
Contributor

But wppm command line is more powerful than previous qt control panel

@N6REJ
Copy link
Author

N6REJ commented Sep 23, 2024

ok great. tyvm

@stonebig
Copy link
Contributor

Objective is to shrink the needed lonely-to-support code, the non-python supported code specifically which is mostly .bat, close to the black mordor speach, and being qt-independant as qt is not available in a minimal winpython

@stonebig
Copy link
Contributor

stonebig commented Sep 23, 2024

You can copy past from a version you liked the icons and the /scripts, except env.bat, copy past also previous winpython package, and it shall probably work as you liked it before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants