Ссылка
нажмите — покажем
нажмите — покажем
Люди добрые, подскажите в чем проблема? при установке библиотеки Telethon возникает следующая ошибка:
The following command was executed: pip install Telethon==1.20 The exit code: 1 The error output of the command: Collecting Telethon==1.20 Using cached Telethon-1.20-py3-none-any.whl (511 kB) Collecting pyaes (from Telethon==1.20) Using cached pyaes-1.6.1.tar.gz (28 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting rsa (from Telethon==1.20) Using cached rsa-4.9-py3-none-any.whl (34 kB) Collecting pyasn1>=0.1.3 (from rsa->Telethon==1.20) Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB) Building wheels for collected packages: pyaes Building wheel for pyaes (setup.py): started Building wheel for pyaes (setup.py): finished with status 'error' Running setup.py clean for pyaes Failed to build pyaes error: subprocess-exited-with-error python setup.py bdist_wheel did not run successfully. exit code: 1 [59 lines of output] C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() Traceback (most recent call last): File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\util.py", line 212, in subst_vars return _subst_compat(s).format_map(lookup) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'dec' During handling of the above exception, another exception occurred: Traceback (most recent call last): File " ", line 2, in File " ", line 34, in File "C:\Users\P1$dec\AppData\Local\Temp\pip-install-4m_iir4i\pyaes_972dbdf1ca57417284626840d3be2ee2\setup.py", line 10, in setup(name = 'pyaes', File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands dist.run_commands() File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 1234, in run_command super().run_command(command) File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command cmd_obj.run() File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\wheel\bdist_wheel.py", line 378, in run self.run_command("install") File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 1234, in run_command super().run_command(command) File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.ensure_finalized() File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 111, in ensure_finalized self.finalize_options() File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py", line 51, in finalize_options orig.install.finalize_options(self) File "C:\Users\P1$dec\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\command\install.py", line 439,