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

Installation error #35

Open
MusiCode1 opened this issue Dec 23, 2020 · 1 comment
Open

Installation error #35

MusiCode1 opened this issue Dec 23, 2020 · 1 comment

Comments

@MusiCode1
Copy link

MusiCode1 commented Dec 23, 2020

I try to install a package that uses this package (Telethon), but again and again I have the following installation error.

Technical specifications:
Windows 10
Python 3.9
VENV

(venv) F:\Projects\Code\Python>python -m pip install telethon
Collecting telethon
  Using cached Telethon-1.18.2-py3-none-any.whl (494 kB)
Collecting pyaes
  Using cached pyaes-1.6.1.tar.gz (28 kB)
    ERROR: Command errored out with exit status 1:
     command: 'F:\Projects\Code\Python\telegram-babkup\venv\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install
-qyug7uqd\\pyaes_f998a3b9b8034b3e975f9dcc14552748\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-qyug7uqd\\pyaes_f998a3b9b8034b3e975f9dcc14552748\\setup.
py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-bas
e 'C:\Users\user\AppData\Local\Temp\pip-pip-egg-info-au2zlztl'
         cwd: C:\Users\user\AppData\Local\Temp\pip-install-qyug7uqd\pyaes_f998a3b9b8034b3e975f9dcc14552748\
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'egg_info'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
@MusiCode1
Copy link
Author

Install it in the virtual environment,
Help: https://bootstrap.pypa.io/ez_setup.py

Why was it missing in the virtual environment?
And how can I make it not be missing, in the following environments?

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

1 participant