gql-query-builder icon indicating copy to clipboard operation
gql-query-builder copied to clipboard

Can't install

Open Raconteur32 opened this issue 2 years ago • 4 comments

Hi ! Can't install with python 3.11.4 and latest version of pip.

(modpack-creator) paulb@Paul-MSI:~/projects/perso/Minecraft/Herobrine/Herobrine.fr-Optimized$ pip install gql-query-builder
Collecting gql-query-builder
  Using cached gql-query-builder-0.1.7.tar.gz (6.7 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/home/paulb/.pyenv/versions/3.11.4/envs/modpack-creator/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/paulb/.pyenv/versions/3.11.4/envs/modpack-creator/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/paulb/.pyenv/versions/3.11.4/envs/modpack-creator/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-iwoznbfx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-iwoznbfx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-iwoznbfx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup
          self).run_setup(setup_script=setup_script)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-iwoznbfx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 5, in <module>
      ModuleNotFoundError: No module named 'pip'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.

Raconteur32 avatar Jul 09 '23 18:07 Raconteur32

It seems to happen only with python3.11.4, work fine with 3.11.3

Raconteur32 avatar Jul 11 '23 15:07 Raconteur32

@Brancieq-Paul Did you find any fix for this ?

rshah88 avatar Jul 15 '24 21:07 rshah88

Try using the pull request (ie install with the git path of the different repo/patch-2 branch)

https://github.com/youyo/gql-query-builder/pull/6

rtaycher avatar Jul 24 '24 21:07 rtaycher