-
may you help me recently i installed this script on my win PC after follow step by step . it seem error here is log PS C:\Users\anand\Documents\my-tgcf-folder> tgcf --help
tgcf : The term 'tgcf' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:1
+ tgcf --help
+ ~~~~
+ CategoryInfo : ObjectNotFound: (tgcf:Sanandng) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
i am already try to update file
PS C:\Users\ANAND\Documents\my-tgcf-folder> pip install --upgrade tgcf
Requirement already satisfied: tgcf in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (0.1.35.post6)
Requirement already satisfied: PyYAML<6.0.0,>=5.4.1 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (5.4.1)
Requirement already satisfied: python-dotenv<0.18.0,>=0.17.0 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (0.17.1)
Requirement already satisfied: requests<3.0.0,>=2.25.1 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (2.25.1)
Requirement already satisfied: Pillow<9.0.0,>=8.1.2 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (8.2.0)
Requirement already satisfied: cryptg<0.3,>=0.2.post2 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (0.2.post4)
Requirement already satisfied: typer<0.4.0,>=0.3.2 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (0.3.2)
Requirement already satisfied: hachoir<4.0.0,>=3.1.2 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (3.1.2)
Requirement already satisfied: tg-login<0.0.3,>=0.0.2 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (0.0.2)
Requirement already satisfied: Telethon<2.0,>=1.20 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (1.21.1)
Requirement already satisfied: aiohttp<4.0.0,>=3.7.4 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (3.7.4.post0)
Requirement already satisfied: pydantic<2.0.0,>=1.8.1 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from tgcf) (1.8.2)
Requirement already satisfied: chardet<5.0,>=2.0 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from aiohttp<4.0.0,>=3.7.4->tgcf) (4.0.0)
Requirement already satisfied: attrs>=17.3.0 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from aiohttp<4.0.0,>=3.7.4->tgcf) (21.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from aiohttp<4.0.0,>=3.7.4->tgcf) (5.1.0)
Requirement already satisfied: typing-extensions>=3.6.5 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from aiohttp<4.0.0,>=3.7.4->tgcf) (3.10.0.0)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from aiohttp<4.0.0,>=3.7.4->tgcf) (1.6.3)
Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from aiohttp<4.0.0,>=3.7.4->tgcf) (3.0.1)
Requirement already satisfied: cffi>=1.0.0 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from cryptg<0.3,>=0.2.post2->tgcf) (1.14.5)
Requirement already satisfied: pycparser in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from cryptg<0.3,>=0.2.post2->tgcf) (2.20)
Requirement already satisfied: idna<3,>=2.5 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from requests<3.0.0,>=2.25.1->tgcf) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from requests<3.0.0,>=2.25.1->tgcf) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from requests<3.0.0,>=2.25.1->tgcf) (2020.12.5)
Requirement already satisfied: rsa in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from Telethon<2.0,>=1.20->tgcf) (4.7.2)
Requirement already satisfied: pyaes in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from Telethon<2.0,>=1.20->tgcf) (1.6.1)
Requirement already satisfied: click<7.2.0,>=7.1.1 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from typer<0.4.0,>=0.3.2->tgcf) (7.1.2)
Requirement already satisfied: pyasn1>=0.1.3 in c:\users\anand\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from rsa->Telethon<2.0,>=1.20->tgcf) (0.4.8) thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Windows is a shitty os. Try restarting your computer. Try running |
Beta Was this translation helpful? Give feedback.
-
means? why did you do that? I think you have messed up something. It is not possible for me to debug your setup. Change your system path variables back to the original, otherwise, it might lead to errors. Do you understand the concept of PATH? You should not change it to something. Rather add new paths to the list. Try following the steps listed in https://github.com/aahnik/tgcf/wiki/Run-tgcf-on-Windows You have multiple installations of python in your system. I think you have messed up something. This is not a problem related to tgcf. You may try running using other options like cloud servers. Many people have already run on windows. I am a Ubuntu user but installed windows a few weeks back to test |
Beta Was this translation helpful? Give feedback.
means? why did you do that? I think you have messed up something. It is not possible for me to debug your setup. Change your system path variables back to the original, otherwise, it might lead to errors.
Do you understand the concept of PATH? You should not change it to something. Rather add new paths to the list.
Try following the steps listed in https://github.com/aahnik/tgcf/wiki/Run-tgcf-on-Windows
You have multiple installations of python in your system. I think you have messed up something. This is not a problem related to tgcf. You may try running using other options like cloud servers.
Many peop…