Установка фильтрующей ноды на ubuntu 24.04

svet0ff

New member
Здравствуйте

при установке фильтрующей ноды на ubuntu 24.04(по инструкции https://nemesida-waf.ru/manuals/9306#installation) получаем ошибку


Code:
 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Conn
ection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /packages/20/a7/84c96b61fd13205f2cafbe263cdb2745965974bdf3e007
8f121dfeca5f02/schedule-1.2.2-py3-none-any.whl.metadata                                                                                 
  Downloading schedule-1.2.2-py3-none-any.whl.metadata (3.8 kB)                                                                         
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connec
tion aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/simple-crypt/                             
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connec
tion aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/simple-crypt/                             
Collecting simple-crypt                                                                                                                 
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Conn
ection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /packages/60/66/5bf6feb073f715a61492f8a6d444ad3d884ada71af317c
e7a9c80bebee60/simple-crypt-4.1.7.tar.gz                                                                                                 
  Downloading simple-crypt-4.1.7.tar.gz (10 kB)                                                                                         
  Installing build dependencies ... error                                                                                               
  error: subprocess-exited-with-error                                                                                                   
                                                                                                                                        
  × pip subprocess to install build dependencies did not run successfully.                                                               
  │ exit code: 1                                                                                                                         
  ╰─> [7 lines of output]                                                                                                               
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/setuptools/                         
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                       
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                       
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                       
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                       
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)                           
      ERROR: No matching distribution found for setuptools>=40.8.0                                                                       
      [end of output]                                                                                                                   
                                                                                                                                        
  note: This error originates from a subprocess, and is likely not a problem with pip.                                                   
error: subprocess-exited-with-error                                                                                                     
                                                                                                                                        
× pip subprocess to install build dependencies did not run successfully.                                                                 
│ exit code: 1                                                                                                                           
╰─> See above for output.

подозреваю что ошибка связана с этим
When using pip command to install a Python package in Ubuntu 24.04 will output “error: externally-managed-environment“. Here are a few workarounds to ‘fix’ the issue.

As the terminal output shows you, it’s the change due to PEP 668. Since Ubuntu 23.04, it recommends Python-specific package management tools (e.g., pip) to install packages using a virtual environment, to avoid conflicts to packages installed by OS package managers. Though, user can still force pip to install into interpreter’s global context just like before.

Подскажите пожалуйста как правильно установить ноду на ubuntu 24.04
 
Здравствуйте

при установке фильтрующей ноды на ubuntu 24.04(по инструкции https://nemesida-waf.ru/manuals/9306#installation) получаем ошибку


Code:
 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Conn
ection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /packages/20/a7/84c96b61fd13205f2cafbe263cdb2745965974bdf3e007
8f121dfeca5f02/schedule-1.2.2-py3-none-any.whl.metadata                                                                                
  Downloading schedule-1.2.2-py3-none-any.whl.metadata (3.8 kB)                                                                        
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connec
tion aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/simple-crypt/                            
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connec
tion aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/simple-crypt/                            
Collecting simple-crypt                                                                                                                
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Conn
ection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /packages/60/66/5bf6feb073f715a61492f8a6d444ad3d884ada71af317c
e7a9c80bebee60/simple-crypt-4.1.7.tar.gz                                                                                                
  Downloading simple-crypt-4.1.7.tar.gz (10 kB)                                                                                        
  Installing build dependencies ... error                                                                                              
  error: subprocess-exited-with-error                                                                                                  
                                                                                                                                       
  × pip subprocess to install build dependencies did not run successfully.                                                              
  │ exit code: 1                                                                                                                        
  ╰─> [7 lines of output]                                                                                                              
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/setuptools/                        
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                      
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                      
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                      
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('
Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/setuptools/                                      
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)                          
      ERROR: No matching distribution found for setuptools>=40.8.0                                                                      
      [end of output]                                                                                                                  
                                                                                                                                       
  note: This error originates from a subprocess, and is likely not a problem with pip.                                                  
error: subprocess-exited-with-error                                                                                                    
                                                                                                                                       
× pip subprocess to install build dependencies did not run successfully.                                                                
│ exit code: 1                                                                                                                          
╰─> See above for output.

подозреваю что ошибка связана с этим


Подскажите пожалуйста как правильно установить ноду на ubuntu 24.04

Судя по логу, у вас проблемы с доступностью pip-репозитория:

Code:
'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))'
 
в самом деле замена репозитория на альтернативный помогла. Спасибо

может кому-то тоже понадобятся. нужно один из списка выбрать


Code:
sudo pip3 config set global.index-url https://mirror.sjtu.edu.cn/pypi/web/simple
sudo pip3 config set global.index-url https://mirrors.sustech.edu.cn/pypi/simple
sudo pip3 config set global.index-url https://repo.ito.gov.ir/python
 
  • Like
Reactions: rr
Back
Top