Code Monkey home page Code Monkey logo

Comments (14)

jkbrzt avatar jkbrzt commented on May 10, 2024 1

@ChukwunonsoFrank we’ll look into it 👀 It may take a while, though, so in the meantime, I recommend installing it using pip: https://httpie.io/docs/cli/pypi

from httpie.

zBoschi avatar zBoschi commented on May 10, 2024 1

Hey! I got the same errors while trying to install using chocolatey and pip through PowerShell.
PS Version: 5.1.22621.2428
Windows 11 Version 22H2

from httpie.

joseroblesv avatar joseroblesv commented on May 10, 2024 1

I got the same error while trying to install it using Chocolatey and pip through PowerShell
PS Version: 5.1.22621.2506
Windows 11 Version 22H2


ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: error: subprocess-exited-with-error
The install of httpie was NOT successful.

from httpie.

omri-ratson avatar omri-ratson commented on May 10, 2024 1

Same issue here

Trying to install httpie with pip didn't work either, the logs are not providing any useful information.

I tried to re-install chocolatey and pip just in case maybe I messed something up on my system but it didn't fix the issue.
PS version: 7.4.0
Windows 11 version 22H2.

from httpie.

ChukwunonsoFrank avatar ChukwunonsoFrank commented on May 10, 2024

any help with this @jakubroztocil

from httpie.

gianpaolof avatar gianpaolof commented on May 10, 2024

hi @jkbrzt same problem of the user. I have also tried with pip, after installing MS build tools, but I got this error:

C:\Users\gianp\AppData\Local\Temp\pip-build-env-avrea4bl\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'multidict._multilib' is absent from the packages configuration.
!!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'multidict._multilib' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'multidict._multilib' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'multidict._multilib' to be distributed and are
          already explicitly excluding 'multidict._multilib' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    !!
    check.warn(importable)
  copying multidict\__init__.pyi -> build\lib.win-amd64-cpython-312\multidict
  copying multidict\py.typed -> build\lib.win-amd64-cpython-312\multidict
  running build_ext
  building 'multidict._multidict' extension
  creating build\temp.win-amd64-cpython-312
  creating build\temp.win-amd64-cpython-312\Release
  creating build\temp.win-amd64-cpython-312\Release\multidict
  "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Python312\include -IC:\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcmultidict/_multidict.c /Fobuild\temp.win-amd64-cpython-312\Release\multidict/_multidict.obj -O2
  _multidict.c
  C:\Python312\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\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 multidict
Failed to build multidict
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects

from httpie.

Alec-Desperado avatar Alec-Desperado commented on May 10, 2024

I got the same errors while trying to install using Chocolatey and pip through PowerShell.
PS Version: 7.4.0
Windows 11 Version 23H2


"This error originates from a subprocess, and is likely not a problem with pip."
"ERROR: Failed building wheel for multidict"
"ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects"

from httpie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.