pyaes
pyaes copied to clipboard
Installation error
trafficstars
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.
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?