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

How to run after pip install #393

Open
tellts opened this issue Feb 22, 2024 · 1 comment
Open

How to run after pip install #393

tellts opened this issue Feb 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tellts
Copy link

tellts commented Feb 22, 2024

After I entered the following commands, I do not understand how to launch the GUI to enter the token and url.
`Microsoft Windows [Version 10.0.19045.4046]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

C:\Users\admin>cd c:\python3108

c:\Python3108>python -m venv C:\GUIPy\td

c:\Python3108>cd C:\GUIPy\td

C:\GUIPy\td>.\Scripts\Activate

(td) C:\GUIPy\td>pip install tkdesigner
Collecting tkdesigner
Downloading tkdesigner-1.0.7-py3-none-any.whl (14 kB)
Collecting requests==2.25.1
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting Pillow<9.0.0,>=8.4.0
Downloading Pillow-8.4.0-cp310-cp310-win_amd64.whl (3.2 MB)
---------------------------------------- 3.2/3.2 MB 7.1 MB/s eta 0:00:00
Collecting Jinja2==3.0.1
Using cached Jinja2-3.0.1-py3-none-any.whl (133 kB)
Collecting urllib3<2.0.0,>=1.26.6
Downloading urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
---------------------------------------- 143.8/143.8 kB 8.3 MB/s eta 0:00:00
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl (17 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Installing collected packages: urllib3, Pillow, MarkupSafe, idna, chardet, certifi, requests, Jinja2, tkdesigner
Successfully installed Jinja2-3.0.1 MarkupSafe-2.1.5 Pillow-8.4.0 certifi-2024.2.2 chardet-4.0.0 idna-2.10 requests-2.25.1 tkdesigner-1.0.7 urllib3-1.26.18

[notice] A new release of pip available: 22.2.2 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip

(td) C:\GUIPy\td>python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\guipy\td\lib\site-packages (22.2.2)
Collecting pip
Using cached pip-24.0-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.2.2
Uninstalling pip-22.2.2:
Successfully uninstalled pip-22.2.2
Successfully installed pip-24.0

(td) C:\GUIPy\td>C:\GUIPy\td\Lib\site-packages\tkdesigner\designer.py

(td) C:\GUIPy\td>
[main 2024-02-22T23:51:50.694Z] update#setState idle
[main 2024-02-22T23:51:56.241Z] WSL is not installed, so could not detect WSL profiles
[main 2024-02-22T23:52:20.725Z] update#setState checking for updates
[main 2024-02-22T23:52:20.733Z] update#setState available for download
[main 2024-02-22T23:52:34.289Z] Extension host with pid 13824 exited with code: 0, signal: unknown.`

@tellts tellts added the bug Something isn't working label Feb 22, 2024
@tellts
Copy link
Author

tellts commented Mar 9, 2024

I came across a video released a few days ago where the required functionality works https://www.youtube.com/watch?v=9oaqCMwcoQ4
If I understand correctly, there is a version under development. I tried this. First in CMD:
Code
Microsoft Windows [Version 10.0.19045.4123]
(c) Microsoft Corporation. All rights reserved.

C:\Users\admin>cd C:\GUIPy\td
C:\GUIPy\td>C:\GUIPy\td\Scripts\activate
(td) C:\GUIPy\td>python --version
Python 3.10.8
Next I opened the file C:\GUIPy\td\td2\gui\gui.py в VSC.
I set the interpreter along the path in the IDE C:\GUIPy\td\Scripts\python.exe
After that I ran the code opened in the IDE. The interface has started.

Can't paste data via clipboard.
In VSC, the line in the script code is not active
import tkinter.filedialog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant