Skip to content

subprocess-exited-with-error #255

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

Open
AdakHaddad opened this issue May 8, 2025 · 2 comments
Open

subprocess-exited-with-error #255

AdakHaddad opened this issue May 8, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@AdakHaddad
Copy link

Ive install with
pip 25.1 from C:\Users\LENOVO\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip (python 3.13)
and get this dependency err

mnt/c/Users/LENOVO/Documents/Documind$ pip install megaparse
Requirement already satisfied: megaparse in c:\users\lenovo\appdata\local\programs\python\python313\lib\site-pac
kages (0.0.55)
Requirement already satisfied: backoff>=2.2.1 in c:\users\lenovo\appdata\local\programs\python\python313\lib\sit
e-packages (from megaparse) (2.2.1)
Requirement already satisfied: langchain-anthropic>=0.1.23 in c:\users\lenovo\appdata\local\programs\python\pyth
on313\lib\site-packages (from megaparse) (0.3.12)
Requirement already satisfied: langchain-community<0.4,>=0.3 in c:\users\lenovo\appdata\local\programs\python\py
thon313\lib\site-packages (from megaparse) (0.3.23)
Requirement already satisfied: langchain-core<0.4,>=0.3 in c:\users\lenovo\appdata\local\programs\python\python3
13\lib\site-packages (from megaparse) (0.3.57)
Requirement already satisfied: langchain-openai>=0.1.21 in c:\users\lenovo\appdata\local\programs\python\python3
13\lib\site-packages (from megaparse) (0.3.15)
Requirement already satisfied: langchain<0.4,>=0.3 in c:\users\lenovo\appdata\local\programs\python\python313\li
b\site-packages (from megaparse) (0.3.24)
Requirement already satisfied: llama-parse>=0.4.0 in c:\users\lenovo\appdata\local\programs\python\python313\lib
\site-packages (from megaparse) (0.6.21)
Requirement already satisfied: megaparse-sdk in c:\users\lenovo\appdata\local\programs\python\python313\lib\site
-packages (from megaparse) (0.1.12)
Requirement already satisfied: numpy<=2.0.0 in c:\users\lenovo\appdata\local\programs\python\python313\lib\site-
packages (from megaparse) (2.0.0)
Requirement already satisfied: onnxtr>=0.6.0 in c:\users\lenovo\appdata\local\programs\python\python313\lib\site
-packages (from onnxtr[cpu]>=0.6.0; platform_machine != "x86_64"->megaparse) (0.6.2)
Requirement already satisfied: pdfplumber>=0.11.0 in c:\users\lenovo\appdata\local\programs\python\python313\lib
\site-packages (from megaparse) (0.11.6)
Requirement already satisfied: playwright>=1.47.0 in c:\users\lenovo\appdata\local\programs\python\python313\lib
\site-packages (from megaparse) (1.52.0)
Requirement already satisfied: psutil>=6.1.0 in c:\users\lenovo\appdata\local\programs\python\python313\lib\site
-packages (from megaparse) (7.0.0)
Requirement already satisfied: pycryptodome>=3.21.0 in c:\users\lenovo\appdata\local\programs\python\python313\l
ib\site-packages (from megaparse) (3.22.0)
Requirement already satisfied: pydantic-settings>=2.6.1 in c:\users\lenovo\appdata\local\programs\python\python3
13\lib\site-packages (from megaparse) (2.9.1)
Requirement already satisfied: pypdf>=5.0.1 in c:\users\lenovo\appdata\local\programs\python\python313\lib\site-
packages (from megaparse) (5.4.0)
Requirement already satisfied: pypdfium2>=4.30.0 in c:\users\lenovo\appdata\local\programs\python\python313\lib
site-packages (from megaparse) (4.30.1)
Requirement already satisfied: python-magic>=0.4.27 in c:\users\lenovo\appdata\local\programs\python\python313\l
ib\site-packages (from megaparse) (0.4.27)
INFO: pip is looking at multiple versions of megaparse to determine which version is compatible with other requi
rements. This could take a while.
Collecting megaparse
Using cached megaparse-0.0.54-py3-none-any.whl.metadata (1.8 kB)
Using cached megaparse-0.0.53-py3-none-any.whl.metadata (1.8 kB)
Using cached megaparse-0.0.52-py3-none-any.whl.metadata (1.5 kB)
Using cached megaparse-0.0.50-py3-none-any.whl.metadata (1.5 kB)
Collecting langchain<0.3.0,>=0.2.14 (from megaparse)
Using cached langchain-0.2.17-py3-none-any.whl.metadata (7.1 kB)
Collecting megaparse
Using cached megaparse-0.0.49-py3-none-any.whl.metadata (1.5 kB)
Using cached megaparse-0.0.48-py3-none-any.whl.metadata (1.3 kB)
Using cached megaparse-0.0.47-py3-none-any.whl.metadata (1.2 kB)
INFO: pip is still looking at multiple versions of megaparse to determine which version is compatible with other
requirements. This could take a while.
Using cached megaparse-0.0.45-py3-none-any.whl.metadata (5.6 kB)
Requirement already satisfied: python-dotenv>=1.0.0 in c:\users\lenovo\appdata\local\programs\python\python313\l
ib\site-packages (from megaparse) (1.1.0)
Collecting uvicorn>=0.32.0 (from megaparse)
Using cached uvicorn-0.34.2-py3-none-any.whl.metadata (6.5 kB)
Collecting uvloop>=0.18.0 (from megaparse)
Using cached uvloop-0.21.0.tar.gz (2.5 MB)
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
╰─> [20 lines of output]
Traceback (most recent call last):
File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip_vendor\pyproject_ho
oks_in_process_in_process.py", line 389, in
main()
~~~~^^
File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip_vendor\pyproject_ho
oks_in_process_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip_vendor\pyproject_ho
oks_in_process_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\LENOVO\AppData\Local\Temp\pip-build-env-5yne1p_s\overlay\Lib\site-packages\setuptools\bui
ld_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\LENOVO\AppData\Local\Temp\pip-build-env-5yne1p_s\overlay\Lib\site-packages\setuptools\bui
ld_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "C:\Users\LENOVO\AppData\Local\Temp\pip-build-env-5yne1p_s\overlay\Lib\site-packages\setuptools\bui
ld_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "", line 8, in
RuntimeError: uvloop does not support Windows at the moment
[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.

Copy link

dosubot bot commented May 8, 2025

Hello @AdakHaddad! I'm Dosu, here to help you solve bugs, answer questions, and navigate the world of contributions. While you wait for a human maintainer, feel free to share any details about your issue, and I'll do my best to assist you!

To resolve the "subprocess-exited-with-error" when trying to install the "megaparse" package on Windows due to "uvloop" not supporting Windows, you can exclude the installation of the optional dependencies that include "uvloop". Since "uvloop" is part of the optional "api" dependencies, you can install "megaparse" without these optional dependencies by running:

pip install megaparse

This command will install the core dependencies of "megaparse" without the optional "api" dependencies that include "uvloop" [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot dosubot bot added the bug Something isn't working label May 8, 2025
@ashtli10
Copy link

@dosu I tried running "pip install megaparse" same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants