signorrayan / RedTeam_toolkit

Red Team Toolkit is an Open-Source Django Offensive Web-App which is keeping the useful offensive tools used in the red-teaming together.
MIT License
550 stars 121 forks source link

When Running docker-compose up -d --build after some times i am getting this error. i tried everything like changing version of requirements but it didn't work. #54

Closed GitHamzaS closed 1 year ago

GitHamzaS commented 1 year ago

Collecting matplotlib==3.6.2 Downloading matplotlib-3.6.2.tar.gz (35.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.8/35.8 MB 2.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [324 lines of output]

  Edit mplsetup.cfg to change the build options; suppress output with --quiet.                                                                                                                                                          

  BUILDING MATPLOTLIB                                                                                                                                                                                                                   
        python: yes [3.12.0a3 (main, Dec 21 2022, 07:55:14) [GCC 10.2.1 20210110]]                                                                                                                                                      
      platform: yes [linux]                                                                                                                                                                                                             
         tests: no  [skipping due to configuration]                                                                                                                                                                                     
        macosx: no  [Mac OS-X only]                                                                                                                                                                                                     

  /usr/local/lib/python3.12/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.                                        
    warnings.warn(                                                                                                                                                                                                                      
    error: subprocess-exited-with-error                                                                                                                                                                                                 

    **× Building wheel for numpy (pyproject.toml) did not run successfully.**                                                                                                                                                               
    │ exit code: 1                                                                                                                                                                                                                      
    ╰─> [267 lines of output]                                                                                                                                                                                                           
        **setup.py:52: RuntimeWarning: NumPy 1.24.2 may not yet support Python 3.12.**                                                                                                                                                      
          warnings.warn(                                                                                                                                                                                                                
        Running from numpy source directory.                                                                                                                                                                                            
        setup.py:67: DeprecationWarning:                                                                                                                                                                                                

          `numpy.distutils` is deprecated since NumPy 1.23.0, as a result                                                                                                                                                               
          of the deprecation of `distutils` itself. It will be removed for                                                                                                                                                              
          Python >= 3.12. For older Python versions it will remain present.                                                                                                                                                             
          It is recommended to use `setuptools < 60.0` for those Python versions.                                                                                                                                                       
          For more details, see:                                                                                                                                                                                                        
            https://numpy.org/devdocs/reference/distutils_status_migration.html                                                                                                                                                         

          import numpy.distutils.command.sdist                                                                                                                                                                                          
        Cythonizing sources                                                                                                                                                                                                             
        Processing numpy/random/_bounded_integers.pxd.in                                                                                                                                                                                
        Processing numpy/random/bit_generator.pyx                                                                                                                                                                                       
        Processing numpy/random/mtrand.pyx                                                                                                                                                                                              
        Processing numpy/random/_common.pyx                                                                                                                                                                                             
        Processing numpy/random/_bounded_integers.pyx.in                                                                                                                                                                                
        Processing numpy/random/_mt19937.pyx                                                                                                                                                                                            
        Processing numpy/random/_philox.pyx                                                                                                                                                                                             
        Processing numpy/random/_pcg64.pyx                                                                                                                                                                                              
        Processing numpy/random/_generator.pyx                                                                                                                                                                                          
        Processing numpy/random/_sfc64.pyx                                                                                                                                                                                              
        INFO: blas_opt_info:                                                                                                                                                                                                            
        INFO: blas_armpl_info:                                                                                                                                                                                                          
        INFO: customize UnixCCompiler                                                                                                                                                                                                   
        INFO:   libraries armpl_lp64_mp not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                     
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: blas_mkl_info:                                                                                                                                                                                                            
        INFO:   libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                            
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: blis_info:                                                                                                                                                                                                                
        INFO:   libraries blis not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                              
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: openblas_info:                                                                                                                                                                                                            
        INFO:   libraries openblas not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                          
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: accelerate_info:                                                                                                                                                                                                          
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_3_10_blas_threads_info:                                                                                                                                                                                             
        INFO: Setting PTATLAS=ATLAS                                                                                                                                                                                                     
        INFO:   libraries tatlas not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                            
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_3_10_blas_info:                                                                                                                                                                                                     
        INFO:   libraries satlas not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                            
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_blas_threads_info:                                                                                                                                                                                                  
        INFO: Setting PTATLAS=ATLAS                                                                                                                                                                                                     
        INFO:   libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                           
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_blas_info:                                                                                                                                                                                                          
        INFO:   libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                               
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        /tmp/pip-wheel-x3ux_h4q/numpy_36cff5b3cef940ebb922b8d4b4ae9f40/numpy/distutils/system_info.py:2077: UserWarning:                                                                                                                
            Optimized (vendor) Blas libraries are not found.                                                                                                                                                                            
            Falls back to netlib Blas library which has worse performance.                                                                                                                                                              
            A better performance should be easily gained by switching                                                                                                                                                                   
            Blas library.                                                                                                                                                                                                               
          if self._calc_info(blas):                                                                                                                                                                                                     
        INFO: blas_info:                                                                                                                                                                                                                
        INFO:   libraries blas not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                              
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        /tmp/pip-wheel-x3ux_h4q/numpy_36cff5b3cef940ebb922b8d4b4ae9f40/numpy/distutils/system_info.py:2077: UserWarning:                                                                                                                
            Blas (http://www.netlib.org/blas/) libraries not found.                                                                                                                                                                     
            Directories to search for the libraries can be specified in the                                                                                                                                                             
            numpy/distutils/site.cfg file (section [blas]) or by setting                                                                                                                                                                
            the BLAS environment variable.                                                                                                                                                                                              
          if self._calc_info(blas):                                                                                                                                                                                                     
        INFO: blas_src_info:                                                                                                                                                                                                            
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        /tmp/pip-wheel-x3ux_h4q/numpy_36cff5b3cef940ebb922b8d4b4ae9f40/numpy/distutils/system_info.py:2077: UserWarning:                                                                                                                
            Blas (http://www.netlib.org/blas/) sources not found.                                                                                                                                                                       
            Directories to search for the sources can be specified in the                                                                                                                                                               
            numpy/distutils/site.cfg file (section [blas_src]) or by setting                                                                                                                                                            
            the BLAS_SRC environment variable.                                                                                                                                                                                          
          if self._calc_info(blas):                                                                                                                                                                                                     
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        non-existing path in 'numpy/distutils': 'site.cfg'                                                                                                                                                                              
        INFO: lapack_opt_info:                                                                                                                                                                                                          
        INFO: lapack_armpl_info:                                                                                                                                                                                                        
        INFO:   libraries armpl_lp64_mp not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                     
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: lapack_mkl_info:                                                                                                                                                                                                          
        INFO:   libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                            
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: openblas_lapack_info:                                                                                                                                                                                                     
        INFO:   libraries openblas not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                          
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: openblas_clapack_info:                                                                                                                                                                                                    
        INFO:   libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                   
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: flame_info:                                                                                                                                                                                                               
        INFO:   libraries flame not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                             
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_3_10_threads_info:                                                                                                                                                                                                  
        INFO: Setting PTATLAS=ATLAS                                                                                                                                                                                                     
        INFO:   libraries tatlas,tatlas not found in /usr/local/lib                                                                                                                                                                     
        INFO:   libraries tatlas,tatlas not found in /usr/lib                                                                                                                                                                           
        INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>                                                                                                                                                             
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_3_10_info:                                                                                                                                                                                                          
        INFO:   libraries satlas,satlas not found in /usr/local/lib                                                                                                                                                                     
        INFO:   libraries satlas,satlas not found in /usr/lib                                                                                                                                                                           
        INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>                                                                                                                                                                     
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_threads_info:                                                                                                                                                                                                       
        INFO: Setting PTATLAS=ATLAS                                                                                                                                                                                                     
        INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib                                                                                                                                                           
        INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/lib                                                                                                                                                                 
        INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>                                                                                                                                                                  
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: atlas_info:                                                                                                                                                                                                               
        INFO:   libraries f77blas,cblas,atlas not found in /usr/local/lib                                                                                                                                                               
        INFO:   libraries f77blas,cblas,atlas not found in /usr/lib                                                                                                                                                                     
        INFO: <class 'numpy.distutils.system_info.atlas_info'>                                                                                                                                                                          
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        INFO: lapack_info:                                                                                                                                                                                                              
        INFO:   libraries lapack not found in ['/usr/local/lib', '/usr/lib']                                                                                                                                                            
        INFO:   NOT AVAILABLE                                                                                                                                                                                                           
        INFO:                                                                                                                                                                                                                           
        /tmp/pip-wheel-x3ux_h4q/numpy_36cff5b3cef940ebb922b8d4b4ae9f40/numpy/distutils/system_info.py:1902: UserWarning:                                                                                                                
            Lapack (http://www.netlib.org/lapack/) libraries not found.                                                                                                                                                                 
            Directories to search for the libraries can be specified in the                                                                                                                                                             
            numpy/distutils/site.cfg file (section [lapack]) or by setting                                                                                                                                                              
            the LAPACK environment variable.                                                                                                                                                                                            
          return getattr(self, '_calc_info_{}'.format(name))()                                                                                                                                                                          
        INFO: lapack_src_info:                                                                                                                                                                                                                                                                                                                                                                                                                          

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
ERROR: Service 'webapp' failed to build : Build failed

Comment is too long (maximum is 65536 characters) There was an error creating your Issue: body is too long (maximum is 65536 characters). So i am unable to put all error.

signorrayan commented 1 year ago

@hamzasakhi Hi, I fixed the issue in #55 update. please update the project and try that again. It should be fixed.

GitHamzaS commented 1 year ago

Nice Bro Love from Heart ! Now Its working fine. 💯

signorrayan commented 1 year ago

You're welcome.