Advertisement
Guest User

playwright with c++ build tools

a guest
Jun 26th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.83 KB | None | 0 0
  1. (.venv) C:\Users\allesn\Scripts\.venv\Scripts>python -m pip install playwright==1.47.0
  2. Collecting playwright==1.47.0
  3. Using cached playwright-1.47.0-py3-none-win_amd64.whl.metadata (3.5 kB)
  4. Collecting greenlet==3.0.3 (from playwright==1.47.0)
  5. Using cached greenlet-3.0.3.tar.gz (182 kB)
  6. Installing build dependencies ... done
  7. Getting requirements to build wheel ... done
  8. Preparing metadata (pyproject.toml) ... done
  9. Collecting pyee==12.0.0 (from playwright==1.47.0)
  10. Using cached pyee-12.0.0-py3-none-any.whl.metadata (2.8 kB)
  11. Collecting typing-extensions (from pyee==12.0.0->playwright==1.47.0)
  12. Using cached typing_extensions-4.14.0-py3-none-any.whl.metadata (3.0 kB)
  13. Using cached playwright-1.47.0-py3-none-win_amd64.whl (29.9 MB)
  14. Using cached pyee-12.0.0-py3-none-any.whl (14 kB)
  15. Using cached typing_extensions-4.14.0-py3-none-any.whl (43 kB)
  16. Building wheels for collected packages: greenlet
  17. Building wheel for greenlet (pyproject.toml) ... error
  18. error: subprocess-exited-with-error
  19.  
  20. × Building wheel for greenlet (pyproject.toml) did not run successfully.
  21. │ exit code: 1
  22. ╰─> [123 lines of output]
  23. C:\Users\allesn\AppData\Local\Temp\pip-build-env-q359jknj\overlay\Lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
  24. !!
  25.  
  26. ********************************************************************************
  27. Please consider removing the following classifiers in favor of a SPDX license expression:
  28.  
  29. License :: OSI Approved :: MIT License
  30.  
  31. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
  32. ********************************************************************************
  33.  
  34. !!
  35. self._finalize_license_expression()
  36. running bdist_wheel
  37. running build
  38. running build_py
  39. creating build\lib.win-amd64-cpython-313\greenlet
  40. copying src\greenlet\__init__.py -> build\lib.win-amd64-cpython-313\greenlet
  41. creating build\lib.win-amd64-cpython-313\greenlet\platform
  42. copying src\greenlet\platform\__init__.py -> build\lib.win-amd64-cpython-313\greenlet\platform
  43. creating build\lib.win-amd64-cpython-313\greenlet\tests
  44. copying src\greenlet\tests\fail_clearing_run_switches.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  45. copying src\greenlet\tests\fail_cpp_exception.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  46. copying src\greenlet\tests\fail_initialstub_already_started.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  47. copying src\greenlet\tests\fail_slp_switch.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  48. copying src\greenlet\tests\fail_switch_three_greenlets.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  49. copying src\greenlet\tests\fail_switch_three_greenlets2.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  50. copying src\greenlet\tests\fail_switch_two_greenlets.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  51. copying src\greenlet\tests\leakcheck.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  52. copying src\greenlet\tests\test_contextvars.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  53. copying src\greenlet\tests\test_cpp.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  54. copying src\greenlet\tests\test_extension_interface.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  55. copying src\greenlet\tests\test_gc.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  56. copying src\greenlet\tests\test_generator.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  57. copying src\greenlet\tests\test_generator_nested.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  58. copying src\greenlet\tests\test_greenlet.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  59. copying src\greenlet\tests\test_greenlet_trash.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  60. copying src\greenlet\tests\test_leaks.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  61. copying src\greenlet\tests\test_stack_saved.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  62. copying src\greenlet\tests\test_throw.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  63. copying src\greenlet\tests\test_tracing.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  64. copying src\greenlet\tests\test_version.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  65. copying src\greenlet\tests\test_weakref.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  66. copying src\greenlet\tests\__init__.py -> build\lib.win-amd64-cpython-313\greenlet\tests
  67. running egg_info
  68. writing src\greenlet.egg-info\PKG-INFO
  69. writing dependency_links to src\greenlet.egg-info\dependency_links.txt
  70. writing requirements to src\greenlet.egg-info\requires.txt
  71. writing top-level names to src\greenlet.egg-info\top_level.txt
  72. reading manifest file 'src\greenlet.egg-info\SOURCES.txt'
  73. reading manifest template 'MANIFEST.in'
  74. warning: no previously-included files found matching 'benchmarks\*.json'
  75. no previously-included directories found matching 'docs\_build'
  76. warning: no files found matching '*.py' under directory 'appveyor'
  77. warning: no previously-included files matching '*.pyc' found anywhere in distribution
  78. warning: no previously-included files matching '*.pyd' found anywhere in distribution
  79. warning: no previously-included files matching '*.so' found anywhere in distribution
  80. warning: no previously-included files matching '.coverage' found anywhere in distribution
  81. adding license file 'LICENSE'
  82. adding license file 'LICENSE.PSF'
  83. adding license file 'AUTHORS'
  84. writing manifest file 'src\greenlet.egg-info\SOURCES.txt'
  85. copying src\greenlet\TBrokenGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet
  86. copying src\greenlet\TExceptionState.cpp -> build\lib.win-amd64-cpython-313\greenlet
  87. copying src\greenlet\TGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet
  88. copying src\greenlet\TGreenletGlobals.cpp -> build\lib.win-amd64-cpython-313\greenlet
  89. copying src\greenlet\TMainGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet
  90. copying src\greenlet\TPythonState.cpp -> build\lib.win-amd64-cpython-313\greenlet
  91. copying src\greenlet\TStackState.cpp -> build\lib.win-amd64-cpython-313\greenlet
  92. copying src\greenlet\TThreadStateDestroy.cpp -> build\lib.win-amd64-cpython-313\greenlet
  93. copying src\greenlet\TUserGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet
  94. copying src\greenlet\greenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet
  95. copying src\greenlet\greenlet.h -> build\lib.win-amd64-cpython-313\greenlet
  96. copying src\greenlet\greenlet_allocator.hpp -> build\lib.win-amd64-cpython-313\greenlet
  97. copying src\greenlet\greenlet_compiler_compat.hpp -> build\lib.win-amd64-cpython-313\greenlet
  98. copying src\greenlet\greenlet_cpython_add_pending.hpp -> build\lib.win-amd64-cpython-313\greenlet
  99. copying src\greenlet\greenlet_cpython_compat.hpp -> build\lib.win-amd64-cpython-313\greenlet
  100. copying src\greenlet\greenlet_exceptions.hpp -> build\lib.win-amd64-cpython-313\greenlet
  101. copying src\greenlet\greenlet_greenlet.hpp -> build\lib.win-amd64-cpython-313\greenlet
  102. copying src\greenlet\greenlet_internal.hpp -> build\lib.win-amd64-cpython-313\greenlet
  103. copying src\greenlet\greenlet_refs.hpp -> build\lib.win-amd64-cpython-313\greenlet
  104. copying src\greenlet\greenlet_slp_switch.hpp -> build\lib.win-amd64-cpython-313\greenlet
  105. copying src\greenlet\greenlet_thread_state.hpp -> build\lib.win-amd64-cpython-313\greenlet
  106. copying src\greenlet\greenlet_thread_state_dict_cleanup.hpp -> build\lib.win-amd64-cpython-313\greenlet
  107. copying src\greenlet\greenlet_thread_support.hpp -> build\lib.win-amd64-cpython-313\greenlet
  108. copying src\greenlet\slp_platformselect.h -> build\lib.win-amd64-cpython-313\greenlet
  109. copying src\greenlet\platform\setup_switch_x64_masm.cmd -> build\lib.win-amd64-cpython-313\greenlet\platform
  110. copying src\greenlet\platform\switch_aarch64_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  111. copying src\greenlet\platform\switch_alpha_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  112. copying src\greenlet\platform\switch_amd64_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  113. copying src\greenlet\platform\switch_arm32_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  114. copying src\greenlet\platform\switch_arm32_ios.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  115. copying src\greenlet\platform\switch_arm64_masm.asm -> build\lib.win-amd64-cpython-313\greenlet\platform
  116. copying src\greenlet\platform\switch_arm64_masm.obj -> build\lib.win-amd64-cpython-313\greenlet\platform
  117. copying src\greenlet\platform\switch_arm64_msvc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  118. copying src\greenlet\platform\switch_csky_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  119. copying src\greenlet\platform\switch_loongarch64_linux.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  120. copying src\greenlet\platform\switch_m68k_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  121. copying src\greenlet\platform\switch_mips_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  122. copying src\greenlet\platform\switch_ppc64_aix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  123. copying src\greenlet\platform\switch_ppc64_linux.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  124. copying src\greenlet\platform\switch_ppc_aix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  125. copying src\greenlet\platform\switch_ppc_linux.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  126. copying src\greenlet\platform\switch_ppc_macosx.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  127. copying src\greenlet\platform\switch_ppc_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  128. copying src\greenlet\platform\switch_riscv_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  129. copying src\greenlet\platform\switch_s390_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  130. copying src\greenlet\platform\switch_sparc_sun_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  131. copying src\greenlet\platform\switch_x32_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  132. copying src\greenlet\platform\switch_x64_masm.asm -> build\lib.win-amd64-cpython-313\greenlet\platform
  133. copying src\greenlet\platform\switch_x64_masm.obj -> build\lib.win-amd64-cpython-313\greenlet\platform
  134. copying src\greenlet\platform\switch_x64_msvc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  135. copying src\greenlet\platform\switch_x86_msvc.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  136. copying src\greenlet\platform\switch_x86_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform
  137. copying src\greenlet\tests\_test_extension.c -> build\lib.win-amd64-cpython-313\greenlet\tests
  138. copying src\greenlet\tests\_test_extension_cpp.cpp -> build\lib.win-amd64-cpython-313\greenlet\tests
  139. running build_ext
  140. building 'greenlet._greenlet' extension
  141. creating build\temp.win-amd64-cpython-313\Release\src\greenlet
  142. "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32=1 -IC:\Users\allesn\Scripts\.venv\include "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" /EHsc /Tpsrc/greenlet/greenlet.cpp /Fobuild\temp.win-amd64-cpython-313\Release\src\greenlet\greenlet.obj /EHsr /GT
  143. greenlet.cpp
  144. C:\Program Files\Python313\include\internal/pycore_frame.h(8): fatal error C1189: #error: "this header requires Py_BUILD_CORE define"
  145. error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  146. [end of output]
  147.  
  148. note: This error originates from a subprocess, and is likely not a problem with pip.
  149. ERROR: Failed building wheel for greenlet
  150. Failed to build greenlet
  151. ERROR: Failed to build installable wheels for some pyproject.toml based projects (greenlet)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement