Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Error: subprocess-exited-with-error #141

Open
TogataMirioA2 opened this issue Mar 21, 2024 · 16 comments
Open

Error: subprocess-exited-with-error #141

TogataMirioA2 opened this issue Mar 21, 2024 · 16 comments

Comments

@TogataMirioA2
Copy link

while installing requirements i get this error :

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[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.

note: This error originates from a subprocess, and is likely not a problem with pip.

what should i do sir ?

@TogataMirioA2 TogataMirioA2 changed the title error: subprocess-exited-with-error Error: subprocess-exited-with-error Mar 21, 2024
@Detergent13
Copy link
Owner

What's the full console output? As the error says, "This is an issue with the package mentioned above." But you didn't give that part of the output, lol

@TogataMirioA2
Copy link
Author

Microsoft Windows [Version 10.0.22621.3296]
(c) Microsoft Corporation. All rights reserved.

C:\Users\togat\Desktop\tft-bot-main>pip install -r requirements.txt
Collecting pyscreeze==0.1.28 (from -r requirements.txt (line 1))
Using cached PyScreeze-0.1.28.tar.gz (25 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting opencv-python==4.5.1.48 (from -r requirements.txt (line 2))
Using cached opencv-python-4.5.1.48.tar.gz (88.3 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [241 lines of output]
Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "linux" and platform_machine == "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine != "aarch64"' don't match your environment
Collecting setuptools
Using cached setuptools-69.2.0-py3-none-any.whl.metadata (6.3 kB)
Collecting wheel
Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Collecting scikit-build
Using cached scikit_build-0.17.6-py3-none-any.whl.metadata (14 kB)
Collecting cmake
Using cached cmake-3.28.3-py2.py3-none-win_amd64.whl.metadata (6.5 kB)
Collecting pip
Using cached pip-24.0-py3-none-any.whl.metadata (3.6 kB)
Collecting numpy==1.19.3
Using cached numpy-1.19.3.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

    Preparing metadata (pyproject.toml) did not run successfully.
    exit code: 1

    [202 lines of output]
    setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.11.
      warnings.warn(
    Running from numpy source directory.
    setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      run_build = parse_setuppy_commands()
    Processing numpy/random\_bounded_integers.pxd.in
    Processing numpy/random\bit_generator.pyx
    Processing numpy/random\mtrand.pyx
    Processing numpy/random\_bounded_integers.pyx.in
    Processing numpy/random\_common.pyx
    Processing numpy/random\_generator.pyx
    Processing numpy/random\_mt19937.pyx
    Processing numpy/random\_pcg64.pyx
    Processing numpy/random\_philox.pyx
    Processing numpy/random\_sfc64.pyx
    Cythonizing sources
    blas_opt_info:
    blas_mkl_info:
    No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
    customize MSVCCompiler
      libraries mkl_rt not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    blis_info:
      libraries blis not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    openblas_info:
      libraries openblas not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
    get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
    customize GnuFCompiler
    Could not locate executable g77
    Could not locate executable f77
    customize IntelVisualFCompiler
    Could not locate executable ifort
    Could not locate executable ifl
    customize AbsoftFCompiler
    Could not locate executable f90
    customize CompaqVisualFCompiler
    Could not locate executable DF
    customize IntelItaniumVisualFCompiler
    Could not locate executable efl
    customize Gnu95FCompiler
    Could not locate executable gfortran
    Could not locate executable f95
    customize G95FCompiler
    Could not locate executable g95
    customize IntelEM64VisualFCompiler
    customize IntelEM64TFCompiler
    Could not locate executable efort
    Could not locate executable efc
    customize PGroupFlangCompiler
    Could not locate executable flang
    don't know how to compile Fortran code on platform 'nt'
      NOT AVAILABLE

    atlas_3_10_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries tatlas not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    atlas_3_10_blas_info:
      libraries satlas not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    atlas_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    atlas_blas_info:
      libraries f77blas,cblas,atlas not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    accelerate_info:
      NOT AVAILABLE

    C:\Users\togat\AppData\Local\Temp\pip-install-g645nc1o\numpy_c62a4ec558e34b52b2164bc69e05ce1c\numpy\distutils\system_info.py:1914: 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):
    blas_info:
      libraries blas not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    C:\Users\togat\AppData\Local\Temp\pip-install-g645nc1o\numpy_c62a4ec558e34b52b2164bc69e05ce1c\numpy\distutils\system_info.py:1914: 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):
    blas_src_info:
      NOT AVAILABLE

    C:\Users\togat\AppData\Local\Temp\pip-install-g645nc1o\numpy_c62a4ec558e34b52b2164bc69e05ce1c\numpy\distutils\system_info.py:1914: 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):
      NOT AVAILABLE

    non-existing path in 'numpy\\distutils': 'site.cfg'
    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries tatlas,tatlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries lapack_atlas not found in C:\
      libraries tatlas,tatlas not found in C:\
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
      libraries tatlas,tatlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries satlas,satlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries lapack_atlas not found in C:\
      libraries satlas,satlas not found in C:\
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
      libraries satlas,satlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries ptf77blas,ptcblas,atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries lapack_atlas not found in C:\
      libraries ptf77blas,ptcblas,atlas not found in C:\
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
      libraries ptf77blas,ptcblas,atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries f77blas,cblas,atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\lib
      libraries lapack_atlas not found in C:\
      libraries f77blas,cblas,atlas not found in C:\
      libraries lapack_atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
      libraries f77blas,cblas,atlas not found in C:\Users\togat\AppData\Local\Programs\Python\Python311\libs
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\togat\\AppData\\Local\\Programs\\Python\\Python311\\libs']
      NOT AVAILABLE

    C:\Users\togat\AppData\Local\Temp\pip-install-g645nc1o\numpy_c62a4ec558e34b52b2164bc69e05ce1c\numpy\distutils\system_info.py:1748: 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))()
    lapack_src_info:
      NOT AVAILABLE

    C:\Users\togat\AppData\Local\Temp\pip-install-g645nc1o\numpy_c62a4ec558e34b52b2164bc69e05ce1c\numpy\distutils\system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    numpy_linalg_lapack_lite:
      FOUND:
        language = c
        define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]

    C:\Users\togat\AppData\Local\Temp\pip-build-env-b4asb13f\overlay\Lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
      warnings.warn(msg)
    running dist_info
    running build_src
    build_src
    building py_modules sources
    creating build
    creating build\src.win-amd64-3.11
    creating build\src.win-amd64-3.11\numpy
    creating build\src.win-amd64-3.11\numpy\distutils
    building library "npymath" sources
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: metadata-generation-failed

  Encountered error while generating package metadata.

  See above for output.

  note: This is an issue with the package mentioned above, not pip.
  hint: See above for details.
  [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.

note: This error originates from a subprocess, and is likely not a problem with pip.

C:\Users\togat\Desktop\tft-bot-main>

@TogataMirioA2
Copy link
Author

i am sry sir i dont understand most of these things i just copied and pasted the entire thing hope it is enough for u

@Detergent13
Copy link
Owner

Thanks, that helps! It looks like you're using Python 11 from the output. Please try using Python 3.8.3 like the readme says!

@TogataMirioA2
Copy link
Author

thx sir i installed python 3.8.3 and it worked but when i run the bot it says "bot started, queuing up!" but nothing happens in the client it doesnt press the find match button

@Detergent13
Copy link
Owner

Have you checked the troubleshooting section on resolutions?

@TogataMirioA2
Copy link
Author

yes i have checked them all but still have the same issue.
i was using this one :
https://github.com/Kyrluckechuck/TFT-Bot
and still working actually but buys no champions as it has no certain comp but everything else works normally

@RomeoAlphaEkko
Copy link
Contributor

TFT 11 just released yesterday which should be the problem

@Detergent13
Copy link
Owner

Try re-capturing the find match button

@TogataMirioA2
Copy link
Author

i did but doesn't work as well.. i am trying to edit the bot i ve mentioned before to make it choose the new set but looks like it is a bit complicated

@TogataMirioA2
Copy link
Author

mb i had my display scaling set to 125% 😳 i changed it to 100% and the bot started working fine but loses every game

@TogataMirioA2
Copy link
Author

actually surrenders every game after 11-12 mins in

@RomeoAlphaEkko
Copy link
Contributor

Which is the best setting for the TFT pass if you grind for the high noon you have to change it manually

@TogataMirioA2
Copy link
Author

@RomeoAlphaEkko the problem is that idk how

@TheHypocritee
Copy link

TheHypocritee commented Mar 28, 2024

Try re-capturing the find match button

Sir,does this software work with servers in all regions?Or just need to change the game language to English?

@Detergent13
Copy link
Owner

It works with English by default. You can either recapture the images for any language, or change your language to English.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants