Skip to content

Instantly share code, notes, and snippets.

@Khuzha
Created October 13, 2020 10:02
Show Gist options
  • Save Khuzha/81ccabdb13936f2f3c7aaf71ff0b5164 to your computer and use it in GitHub Desktop.
Save Khuzha/81ccabdb13936f2f3c7aaf71ff0b5164 to your computer and use it in GitHub Desktop.
ERROR: Command errored out with exit status 1:
command: /opt/readthedocs.org/venv/bin/python /opt/readthedocs.org/venv/lib/python3.8/site-packages/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpmscda83d
cwd: /tmp/pip-install-7rmhdg6g/orjson
Complete output (44 lines):
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2020-10-13, rust version 1.49.0-nightly (8dae8cdcc 2020-10-12)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
💥 pyo3-pack failed
Caused by: Cargo metadata failed: Error during execution of `cargo metadata`: Updating crates.io index
Updating git repository `https://github.com/PyO3/pyo3.git`
Updating git repository `https://github.com/ijl/json.git`
error: failed to get `serde_json` as a dependency of package `orjson v2.0.7 (/tmp/pip-install-7rmhdg6g/orjson)`
Caused by:
failed to load source for dependency `serde_json`
Caused by:
Unable to update https://github.com/ijl/json.git?rev=2c0c55b628c9177543283a1535549e1dcb6a870a
Caused by:
failed to clone into: /home/madmin/.cargo/git/db/json-240b451de80eb693
Caused by:
failed to authenticate when downloading repository
* attempted to find username/password via git's `credential.helper` support, but failed
if the git CLI succeeds then `net.git-fetch-with-cli` may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
Caused by:
failed to acquire username/password from local configuration
Checking for Rust toolchain....
Running `pyo3-pack pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-3wg24b5c --manylinux=off --rustc-extra-args=-C target-feature=+sse2 --strip=on`
Error: Command '['pyo3-pack', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-3wg24b5c', '--manylinux=off', '--rustc-extra-args=-C target-feature=+sse2', '--strip=on']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/readthedocs.org/venv/bin/python /opt/readthedocs.org/venv/lib/python3.8/site-packages/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpmscda83d Check the logs for full command output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment