hello i am trying to install langchain and getting an error
= note: cc: error: unable to execute command: posix_spawn failed: Resource temporarily unavailable
cc: error: linker command failed with exit code 1 (use
-v to see invocation)
error: could not compile libc
(build script) due to previous error
Caused by:
process didn't exit successfully: rustc --crate-name build_script_build /home/Harshit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=23ca27270d1df897 -C extra-filename=-23ca27270d1df897 --out-dir /tmp/pip-install-b38xvbot/maturin_d494a2793610450a89ad111ef99d378e/target/release/build/libc-23ca27270d1df897 -L dependency=/tmp/pip-install-b38xvbot/maturin_d494a2793610450a89ad111ef99d378e/target/release/deps --cap-lints allow
(exit status: 1)
error: cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked
failed with code 101
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for maturin
Failed to build maturin
ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem
with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.