最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - installing auto-py-to-exe e Building wheel for greenlet (pyproject.toml): finished with status 'error'

programmeradmin1浏览0评论

I'm trying to install auto-py-to-exe in a Python 32-bit virtual environment (on a 64-bit computer). When I attempt to install it, I get a very long error message:

Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      + meson setup C:\Users\username\AppData\Local\Temp\pip-install-uakvyfpf\matplotlib_27bad86e9be041f5916f8b3a97f98176 C:\Users\username\AppData\Local\Temp\pip-install-uakvyfpf\matplotlib_27bad86e9be041f5916f8b3a97f98176\.mesonpy-oxsjit8a -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\username\AppData\Local\Temp\pip-install-uakvyfpf\matplotlib_27bad86e9be041f5916f8b3a97f98176\.mesonpy-oxsjit8a\meson-python-native-file.ini
      The Meson build system
      Version: 1.7.0
      Source dir: C:\Users\username\AppData\Local\Temp\pip-install-uakvyfpf\matplotlib_27bad86e9be041f5916f8b3a97f98176
      Build dir: C:\Users\username\AppData\Local\Temp\pip-install-uakvyfpf\matplotlib_27bad86e9be041f5916f8b3a97f98176\.mesonpy-oxsjit8a
      Build type: native build
      Program python3 found: YES
      Project name: matplotlib
      Project version: 3.10.0
      WARNING: Failed to activate VS environment: Could not parse vswhere.exe output
     
      ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
      The following exception(s) were encountered:
      Running `icl ""` gave "[WinError 2] system cannot find archive"
      Running `cl /?` gave "[WinError 2] system cannot find archive"
      Running `cc --version` gave "[WinError 2] system cannot find archive"
      Running `gcc --version` gave "[WinError 2] system cannot find archive"
      Running `clang --version` gave "[WinError 2] system cannot find archive"
      Running `clang-cl /?` gave "[WinError 2] system cannot find archive"
      Running `pgcc --version` gave "[WinError 2] system cannot find archive"
     
      A full log can be found at C:\Users\username\AppData\Local\Temp\pip-install-uakvyfpf\matplotlib_27bad86e9be041f5916f8b3a97f98176\.mesonpy-oxsjit8a\meson-logs\meson-log.txt
      [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.
(venv_32) PS C:\Users\username\Desktop\project\project_name> pip install auto-py-to-exe
Collecting auto-py-to-exe
  Using cached auto_py_to_exe-2.45.1-py2.py3-none-any.whl.metadata (17 kB)
Collecting Eel!=0.18.0,>=0.11.0 (from auto-py-to-exe)
  Using cached Eel-0.18.1-py3-none-any.whl
Collecting pyinstaller>=5.8.0 (from auto-py-to-exe)
  Using cached pyinstaller-6.11.1-py3-none-win32.whl.metadata (8.3 kB)
Requirement already satisfied: requests in c:\users\username\desktop\project\project_name\venv_32\lib\site-packages (from auto-py-to-exe) (2.32.3)
Collecting bottle (from Eel!=0.18.0,>=0.11.0->auto-py-to-exe)
  Using cached bottle-0.13.2-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting bottle-websocket (from Eel!=0.18.0,>=0.11.0->auto-py-to-exe)
  Using cached bottle_websocket-0.2.9-py3-none-any.whl
Collecting future (from Eel!=0.18.0,>=0.11.0->auto-py-to-exe)
  Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pyparsing (from Eel!=0.18.0,>=0.11.0->auto-py-to-exe)
  Using cached pyparsing-3.2.1-py3-none-any.whl.metadata (5.0 kB)
Collecting typing_extensions (from Eel!=0.18.0,>=0.11.0->auto-py-to-exe)
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: setuptools>=42.0.0 in c:\users\username\desktop\project\project_name\venv_32\lib\site-packages (from pyinstaller>=5.8.0->auto-py-to-exe) (75.8.0)
Collecting altgraph (from pyinstaller>=5.8.0->auto-py-to-exe)
  Using cached altgraph-0.17.4-py2.py3-none-any.whl.metadata (7.3 kB)
Collecting pyinstaller-hooks-contrib>=2024.9 (from pyinstaller>=5.8.0->auto-py-to-exe)
  Using cached pyinstaller_hooks_contrib-2025.0-py3-none-any.whl.metadata (16 kB)
Requirement already satisfied: packaging>=22.0 in c:\users\username\desktop\project\project_name\venv_32\lib\site-packages (from pyinstaller>=5.8.0->auto-py-to-exe) (24.2)
Collecting pefile!=2024.8.26,>=2022.5.30 (from pyinstaller>=5.8.0->auto-py-to-exe)
  Using cached pefile-2023.2.7-py3-none-any.whl.metadata (1.4 kB)
Collecting pywin32-ctypes>=0.2.1 (from pyinstaller>=5.8.0->auto-py-to-exe)
  Using cached pywin32_ctypes-0.2.3-py3-none-any.whl.metadata (3.9 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\username\desktop\project\project_name\venv_32\lib\site-packages (from requests->auto-py-to-exe) (3.4.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\username\desktop\project\project_name\venv_32\lib\site-packages (from requests->auto-py-to-exe) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\username\desktop\project\project_name\venv_32\lib\site-packages (from requests->auto-py-to-exe) (2.3.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\username\desktop\project\project_name\venv_32\lib\site-packages (from requests->auto-py-to-exe) (2024.12.14)
Collecting gevent-websocket (from bottle-websocket->Eel!=0.18.0,>=0.11.0->auto-py-to-exe)
  Using cached gevent_websocket-0.10.1-py3-none-any.whl.metadata (5.3 kB)
Collecting gevent (from gevent-websocket->bottle-websocket->Eel!=0.18.0,>=0.11.0->auto-py-to-exe)
  Using cached gevent-24.11.1.tar.gz (6.0 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [256 lines of output]
      Collecting setuptools>=40.8.0
        Using cached setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
      Collecting Cython>=3.0.11
        Using cached Cython-3.0.11-cp312-cp312-win32.whl.metadata (3.2 kB)
      Collecting cffi>=1.17.1
        Using cached cffi-1.17.1-cp312-cp312-win32.whl.metadata (1.6 kB)
      Collecting greenlet>=3.0.3
        Using cached greenlet-3.1.1.tar.gz (186 kB)
        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 'done'
      Collecting pycparser (from cffi>=1.17.1)
        Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
      Using cached setuptools-75.8.0-py3-none-any.whl (1.2 MB)
      Using cached Cython-3.0.11-cp312-cp312-win32.whl (2.6 MB)
      Using cached cffi-1.17.1-cp312-cp312-win32.whl (172 kB)
      Using cached pycparser-2.22-py3-none-any.whl (117 kB)
      Building wheels for collected packages: greenlet
        Building wheel for greenlet (pyproject.toml): started
        Building wheel for greenlet (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error
     
        × Building wheel for greenlet (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [222 lines of output]
            running bdist_wheel
            running build
            running build_py
            creating build\lib.win32-cpython-312\greenlet
            copying src\greenlet\__init__.py -> build\lib.win32-cpython-312\greenlet
            creating build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\__init__.py -> build\lib.win32-cpython-312\greenlet\platform
            creating build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\fail_clearing_run_switches.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\fail_cpp_exception.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\fail_initialstub_already_started.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\fail_slp_switch.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\fail_switch_three_greenlets.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\fail_switch_three_greenlets2.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\fail_switch_two_greenlets.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\leakcheck.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_contextvars.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_cpp.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_extension_interface.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_gc.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_generator.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_generator_nested.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_greenlet.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_greenlet_trash.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_leaks.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_stack_saved.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_throw.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_tracing.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_version.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\test_weakref.py -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\__init__.py -> build\lib.win32-cpython-312\greenlet\tests
            running egg_info
            writing src\greenlet.egg-info\PKG-INFO
            writing dependency_links to src\greenlet.egg-info\dependency_links.txt
            writing requirements to src\greenlet.egg-info\requires.txt
            writing top-level names to src\greenlet.egg-info\top_level.txt
            reading manifest file 'src\greenlet.egg-info\SOURCES.txt'
            reading manifest template 'MANIFEST.in'
            warning: no previously-included files found matching 'benchmarks\*.json'
            no previously-included directories found matching 'docs\_build'
            warning: no files found matching '*.py' under directory 'appveyor'
            warning: no previously-included files matching '*.pyc' found anywhere in distribution
            warning: no previously-included files matching '*.pyd' found anywhere in distribution
            warning: no previously-included files matching '*.so' found anywhere in distribution
            warning: no previously-included files matching '.coverage' found anywhere in distribution
            adding license file 'LICENSE'
            adding license file 'LICENSE.PSF'
            adding license file 'AUTHORS'
            writing manifest file 'src\greenlet.egg-info\SOURCES.txt'
            copying src\greenlet\CObjects.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\PyGreenlet.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\PyGreenlet.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\PyGreenletUnswitchable.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\PyModule.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TBrokenGreenlet.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TExceptionState.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TGreenlet.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TGreenlet.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TGreenletGlobals.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TMainGreenlet.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TPythonState.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TStackState.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TThreadState.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TThreadStateCreator.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TThreadStateDestroy.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\TUserGreenlet.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet.cpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet.h -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_allocator.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_compiler_compat.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_cpython_add_pending.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_cpython_compat.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_exceptions.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_internal.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_refs.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_slp_switch.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\greenlet_thread_support.hpp -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\slp_platformselect.h -> build\lib.win32-cpython-312\greenlet
            copying src\greenlet\platform\setup_switch_x64_masm.cmd -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_aarch64_gcc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_alpha_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_amd64_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_arm32_gcc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_arm32_ios.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_arm64_masm.asm -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_arm64_masm.obj -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_arm64_msvc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_csky_gcc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_loongarch64_linux.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_m68k_gcc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_mips_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_ppc64_aix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_ppc64_linux.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_ppc_aix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_ppc_linux.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_ppc_macosx.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_ppc_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_riscv_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_s390_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_sh_gcc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_sparc_sun_gcc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_x32_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_x64_masm.asm -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_x64_masm.obj -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_x64_msvc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_x86_msvc.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\platform\switch_x86_unix.h -> build\lib.win32-cpython-312\greenlet\platform
            copying src\greenlet\tests\_test_extension.c -> build\lib.win32-cpython-312\greenlet\tests
            copying src\greenlet\tests\_test_extension_cpp.cpp -> build\lib.win32-cpython-312\greenlet\tests
            running build_ext
            building 'greenlet._greenlet' extension
            creating build\temp.win32-cpython-312\Release\src\greenlet
            "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32=1 -IC:\Users\username\Desktop\project\project_name\venv_32\include -IC:\Users\username\Desktop\project\python-3.12.7-32\include -IC:\Users\username\Desktop\project\python-3.12.7-32\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\winrt" /EHsc /Tpsrc/greenlet/greenlet.cpp /Fobuild\temp.win32-cpython-312\Release\src\greenlet\greenlet.obj /EHsr /GT /std:c++20
            cl : Linha de comando warning D9002 : ignorando op‡Æo desconhecida '/std:c++20'
            greenlet.cpp
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\greenlet_refs.hpp(530): warning C4521: 'greenlet::refs::_OwnedGreenlet<PyGreenlet,void greenlet::refs::MainGreenletExactChecker(void *)>': v rios construtores
de c¢pia especificados
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\greenlet_refs.hpp(603): note: consulte a referˆncia … instancia‡Æo da classe modelo 'greenlet::refs::_OwnedGreenlet<PyGreenlet,void greenlet::refs::MainGreenletExactChecker(void *)>' que est  sendo compilada
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(670): error C2059: sintax error: '.'
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(674): error C2143: sintax error: ';' ausente antes de '}'
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(674): error C2059: sintax error: '}'
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(675): error C2143: sintax error: ';' ausente antes de '{'
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(675): error C2447: '{': faltando cabe‡alho de fun‡Æo (formal list of the old style?)
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(675): error C2059: sintax error: ','
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(676): error C2143: sintax error: ';' ausente antes de '{'
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(676): error C2447: '{': faltando cabe‡alho de fun‡Æo (formal list of the old style?)
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.cpp(676): error C2059: sintax error: ','
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyGreenlet.c(215): error C2143: sintax error: ';' ausente antes de '{'
            c:\users\username\appdata\local\temp\pip-install-yc3wi84o\greenlet_a36ebce905c544b6a9e0014235a7ae01\src\greenlet\PyModule.cpp(278): fatal error C1003: more than 100 errors; stopping..
            error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit code 2
            [end of output]
     
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for greenlet
      Failed to build greenlet
      ERROR: Failed to build installable wheels for some pyproject.toml based projects (greenlet)
      [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.

What I have tried to fix it:

py -m pip install --upgrade pip

pip install --upgrade setuptools wheel

pip install --only-binary :all: greenlet (says it's not available)

Installed vcredist 2017

Installed Visual Studio + C++ auxiliary packages

pip install greenlet==3.0.0 (works, but auto-py-to-exe still tries to install another version)

./python -m pip install --upgrade pip setuptools wheel

pip install --no-build-isolation auto-py-to-exe

Downgraded Python to 3.10

Upgraded to 3.11.0

Downgraded to 3.8, but it failed due to many syntax errors.

pip install auto-py-to-exe --no-cache-dir

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat

pip install meson

Any ideas on how to fix this?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论