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 install and use in windows? #24

Closed
shadow443 opened this issue Jun 30, 2019 · 7 comments
Closed

How to install and use in windows? #24

shadow443 opened this issue Jun 30, 2019 · 7 comments
Assignees
Milestone

Comments

@shadow443
Copy link

  • telegram-upload version: 0.1.10
  • Python version: 3.7.2
  • Operating System: Windows 10 64bit

Description

Hello, i try to install via "pip install telegram-upload". If I run python telegram-upload it says "python: can't open file 'telegram-upload': [Errno 2] No such file or directory". And if I only run telegram-upload cmd doesn't recognize it (it's because it's not in the environment variables I don't know where the installation was done.)

My Question

Does telegram-upload only work on linux? Is there any way to install it and use it in windows?

Thanks for the help.

@Nekmo
Copy link
Owner

Nekmo commented Jun 30, 2019

There are other users who have used telegram-upload in Windows. I have not tried Windows support because it is a system that can not be tested using CI.

I know it works in Windows, but I do not know how it works in Windows. Sorry.

@shadow443
Copy link
Author

@Nekmo I just fixed it. The script is in this directory:
"C:Users\username\AppData\Local\Programs\Python\Python37-32\Scripts"

I used python telegram-upload and was able to configure api and hash.

I did some audio and video test uploads and they were successfully uploaded. Thank you.

@dognk
Copy link

dognk commented Apr 24, 2020

how fix the installation? i have the same issue

@Nekmo
Copy link
Owner

Nekmo commented Apr 24, 2020

Windows does not support scripts without an extension. This is a known issue in this OS. In a future version I will try to support it.

@Nekmo Nekmo reopened this Apr 24, 2020
@dognk
Copy link

dognk commented Apr 24, 2020

Already fixed, the problem is pip something about add "" in this line #!"c:\users\nikotz\appdata\local\programs\python\python36\python.exe" " when you add it change extension to py and call it in the cmd telegram-upload.py and works perrrrfect

@Nekmo Nekmo self-assigned this Apr 28, 2020
@Nekmo Nekmo added this to the v0.3.0 milestone Apr 28, 2020
@Nekmo
Copy link
Owner

Nekmo commented Apr 28, 2020

Added entry_point console_script. It should now work fine on Windows. Will be available in the next release.

@gmy77
Copy link

gmy77 commented Oct 7, 2023

Why Telegram (base) work native on Windows and Telegram-X not? Is so difficult to build this? And sorry if this for certain guys try to think "noob question..." but as me, considering the base version and the x version... the difference on the base code is tiny... for x the real differences are on all things the base don't have... for this i ask...

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

No branches or pull requests

4 participants