Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed building wheel for tartiflette #639

Open
5 tasks
ILugaro opened this issue Oct 23, 2023 · 0 comments
Open
5 tasks

ERROR: Failed building wheel for tartiflette #639

ILugaro opened this issue Oct 23, 2023 · 0 comments

Comments

@ILugaro
Copy link

ILugaro commented Oct 23, 2023

Report a bug

Please provide the steps to reproduce your problem and, if possible, a full reproducible environment. As we are working directly with containers, please provide the Dockerfile sample or the Docker image name

  • Explain with a simple sentence the expected behavior
  • Tartiflette version: 0.1.0 and 1.4.1
  • Python version: 3.8 and 3.11
  • Executed in docker: No_
  • Is it a regression from a previous versions? No_

I need install tartiflette and tartiflette_asgi but have Building wheel for tartiflette (pyproject.toml) did not run successfully. [WinError 2] The system cannot find the file specified

I had this problem with tartiflette, but pip3 install --only-binary tartiflette tartiflette helped me.

Now I have this problem with tartiflette_asgi and try pip3 install --only-binary tartiflette_asgi tartiflette_asgi and 'pip3 install tartiflette_asgi --no-binary :all:' but it isnt help.

Windows 11 Python 3.8 and 3.10 setup-tools 68.2.2 C:\Windows\System32>cmake --version cmake version 3.27.7

`2023-10-23T21:15:05,639 Skipping link: not a file: https://pypi.org/simple/lark-parser/
2023-10-23T21:15:05,641 Given no hashes to check 2 links for project 'lark-parser': discarding no candidates
2023-10-23T21:15:05,642 Collecting lark-parser==0.12.0 (from tartiflette<1.5,>=1.0->tartiflette_asgi)
2023-10-23T21:15:05,643 Created temporary directory: C:\Users\Admin\AppData\Local\Temp\pip-unpack-wiayrbt2
2023-10-23T21:15:05,645 Using cached lark_parser-0.12.0-py2.py3-none-any.whl (103 kB)
2023-10-23T21:15:05,668 Requirement already satisfied: idna>=2.8 in c:\users\admin\appdata\local\programs\python\python311\lib\site-packages (from anyio<5,>=3.4.0->starlette<1.0,>=0.13->tartiflette_asgi) (3.4)
2023-10-23T21:15:05,671 Requirement already satisfied: sniffio>=1.1 in c:\users\admin\appdata\local\programs\python\python311\lib\site-packages (from anyio<5,>=3.4.0->starlette<1.0,>=0.13->tartiflette_asgi) (1.3.0)
2023-10-23T21:15:05,674 Requirement already satisfied: pycparser in c:\users\admin\appdata\local\programs\python\python311\lib\site-packages (from cffi<2.0.0,>=1.0.0->tartiflette<1.5,>=1.0->tartiflette_asgi) (2.21)
2023-10-23T21:15:05,681 Created temporary directory: C:\Users\Admin\AppData\Local\Temp\pip-unpack-n4cs3gf1
2023-10-23T21:15:05,682 Building wheels for collected packages: tartiflette
2023-10-23T21:15:05,684 Created temporary directory: C:\Users\Admin\AppData\Local\Temp\pip-wheel-815nh3t6
2023-10-23T21:15:05,685 Destination directory: C:\Users\Admin\AppData\Local\Temp\pip-wheel-815nh3t6
2023-10-23T21:15:05,687 Running command Building wheel for tartiflette (pyproject.toml)
2023-10-23T21:15:06,040 running bdist_wheel
2023-10-23T21:15:06,052 running build
2023-10-23T21:15:06,053 running build_py
2023-10-23T21:15:06,187 CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
2023-10-23T21:15:06,187 Compatibility with CMake < 3.5 will be removed from a future version of
2023-10-23T21:15:06,187 CMake.

2023-10-23T21:15:06,188 Update the VERSION argument value or use a ... suffix to tell
2023-10-23T21:15:06,188 CMake that the project does not need compatibility with older versions.

2023-10-23T21:15:10,186 CMake Warning (dev) at CMakeLists.txt:10 (FIND_PACKAGE):
2023-10-23T21:15:10,186 Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
2023-10-23T21:15:10,186 are removed. Run "cmake --help-policy CMP0148" for policy details. Use
2023-10-23T21:15:10,186 the cmake_policy command to set the policy and suppress this warning.

2023-10-23T21:15:10,186 This warning is for project developers. Use -Wno-dev to suppress it.

2023-10-23T21:15:10,438 error: [WinError 2] Не удается найти указанный файл
2023-10-23T21:15:10,470 ERROR: Building wheel for tartiflette (pyproject.toml) exited with 1
2023-10-23T21:15:10,470 [bold magenta]full command[/]: [blue]'c:\users\admin\appdata\local\programs\python\python311\python.exe' 'c:\users\admin\appdata\local\programs\python\python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py' build_wheel 'C:\Users\Admin\AppData\Local\Temp\tmps5v5k_0k'[/]
2023-10-23T21:15:10,470 [bold magenta]cwd[/]: C:\Users\Admin\AppData\Local\Temp\pip-install-3ettkc94\tartiflette_7d5a2e1d9b3447749b84b90c152742ea
2023-10-23T21:15:10,470 ERROR: Failed building wheel for tartiflette
2023-10-23T21:15:10,470 Failed to build tartiflette
2023-10-23T21:15:10,470 ERROR: Could not build wheels for tartiflette, which is required to install pyproject.toml-based projects
2023-10-23T21:15:10,470 Exception information:
2023-10-23T21:15:10,470 Traceback (most recent call last):
2023-10-23T21:15:10,470 File "c:\users\admin\appdata\local\programs\python\python311\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper
2023-10-23T21:15:10,470 status = run_func(*args)
2023-10-23T21:15:10,470 ^^^^^^^^^^^^^^^
2023-10-23T21:15:10,470 File "c:\users\admin\appdata\local\programs\python\python311\Lib\site-packages\pip_internal\cli\req_command.py", line 245, in wrapper
2023-10-23T21:15:10,470 return func(self, options, args)
2023-10-23T21:15:10,470 ^^^^^^^^^^^^^^^^^^^^^^^^^
2023-10-23T21:15:10,470 File "c:\users\admin\appdata\local\programs\python\python311\Lib\site-packages\pip_internal\commands\install.py", line 429, in run
2023-10-23T21:15:10,470 raise InstallationError(
2023-10-23T21:15:10,470 pip._internal.exceptions.InstallationError: Could not build wheels for tartiflette, which is required to install pyproject.toml-based projects
2023-10-23T21:15:10,548 Remote version of pip: 23.3
2023-10-23T21:15:10,548 Local version of pip: 23.3
2023-10-23T21:15:10,564 Was pip installed by pip? True
2023-10-23T21:15:10,564 Removed build tracker: 'C:\Users\Admin\AppData\Local\Temp\pip-build-tracker-jb7gpks9'
`

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

No branches or pull requests

1 participant