Skip to content
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

Updated Installation process #340

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

caio-pavesi
Copy link

After trying to install check50 on OS X pip raised an error, stating the need of 'cargo' the package manager for Rust which provided the link added to the installation process.

Added guidance for installing rustup which comes with cargo as it is also a dependency.
@rongxin-liu rongxin-liu self-requested a review July 17, 2024 18:11
@caio-pavesi
Copy link
Author

I've tested this on Windows 11 with Python 3.13, and I'm still encountering the same error. Below are the outputs for reference.

check50.mp4
Collecting check50
  Using cached check50-3.3.11-py3-none-any.whl.metadata (1.4 kB)
Collecting attrs>=18 (from check50)
  Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting beautifulsoup4>=0 (from check50)
  Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting lib50<4,>=3 (from check50)
  Using cached lib50-3.0.11-py3-none-any.whl.metadata (974 bytes)
Collecting packaging (from check50)
  Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pexpect>=4.6 (from check50)
  Using cached pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting pyyaml<7,>6 (from check50)
  Using cached PyYAML-6.0.2-cp313-cp313-win_amd64.whl.metadata (2.1 kB)
Collecting requests>=2.19 (from check50)
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting setuptools (from check50)
  Using cached setuptools-75.5.0-py3-none-any.whl.metadata (6.8 kB)
Collecting termcolor>=1.1 (from check50)
  Using cached termcolor-2.5.0-py3-none-any.whl.metadata (6.1 kB)
Collecting jinja2>=2.10 (from check50)
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting soupsieve>1.2 (from beautifulsoup4>=0->check50)
  Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
Collecting MarkupSafe>=2.0 (from jinja2>=2.10->check50)
  Using cached MarkupSafe-3.0.2-cp313-cp313-win_amd64.whl.metadata (4.1 kB)
Collecting attrs>=18 (from check50)
  Using cached attrs-20.3.0-py2.py3-none-any.whl.metadata (10 kB)
Collecting termcolor>=1.1 (from check50)
  Using cached termcolor-1.1.0.tar.gz (3.9 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting jellyfish<1,>=0.7 (from lib50<4,>=3->check50)
  Using cached jellyfish-0.11.2.tar.gz (362 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]

      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

      Checking for Rust toolchain....
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants